Skip to content

Commit 6be5a90

Browse files
committed
Make prompt lenght smaller in order to fit on screen
1 parent a061cb2 commit 6be5a90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Inkplate2/Projects/Inkplate2_OpenAI_Text_Prompt/Inkplate2_OpenAI_Text_Prompt.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void setup() {
7171
// Get current weather data
7272
if (getWeather(latitude, longitude, temperature, weatherDesc, timeStr)) {
7373
// Build prompt to send to OpenAI
74-
String prompt = "Give me a sarcastic 20-word max summary of the weather in " + location +
74+
String prompt = "Give me a sarcastic 15-word max summary of the weather in " + location +
7575
". It's currently " + String(temperature, 1) + "C with " + weatherDesc +
7676
" skies at " + timeStr +
7777
" (Just take the Hour and minutes, without AM or PM). Make it witty and slightly condescending. Dont use '—' and ' symbols, use - and ' respectively";

0 commit comments

Comments
 (0)