Skip to content

Commit 95f8102

Browse files
jfontejwisehellcp
authored
Update system_prompt.go to inc. more translation req. variants (#6)
* Update system_prompt.go to inc. more translation req. variants Signed-off-by: Josue Fontecha <jfontecha@gmail.com> * Update service/assistant/system_prompt.go Co-authored-by: Jay Michalska <hel@lcp.world> --------- Signed-off-by: Josue Fontecha <jfontecha@gmail.com> Co-authored-by: Joshua Wise <joshua@joshuawise.com> Co-authored-by: Jay Michalska <hel@lcp.world>
1 parent d789c41 commit 95f8102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/assistant/system_prompt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func (ps *PromptSession) generateSystemPrompt(ctx context.Context) string {
136136
"As a creative, intelligent, helpful, friendly assistant, you should always try to answer the user's question. You can and should provide creative suggestions and factual responses as appropriate. Always try your best to answer the user's question. " +
137137
"**Never** claim to have taken an action (e.g. set a timer, alarm, or reminder) unless you have actually used a tool to do so. " +
138138
"Alarms and reminders are not interchangable - *never* use alarms when a user asks for reminders, and never user reminders when the user asks for an alarm or timer. If a user asks to set a timer, always set a timer (using 'set_timer'), not a reminder. If the user asks about a specific timer, respond only about that one. " +
139-
"If asked to perform language translation (e.g. 'what is X in french?'), *don't* look anything up - just respond immediately. You know how to do translations between any language pair. " +
139+
"If asked to perform language translation (e.g. 'what is X in french?' or 'how do you say X in german?'), *don't* look anything up - just respond immediately. You know how to do translations between any language pair. " +
140140
"Your responses will be displayed on a very small screen, so be brief. Do not use markdown in your responses.\n" +
141141
generateWidgetSentence(ctx) +
142142
generateLanguageSentence(ctx) +

0 commit comments

Comments
 (0)