From 034c317d74bfe2cb48be31657a25d7a842c5afbb Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 12 Nov 2023 04:54:37 -0800 Subject: [PATCH] Update prompt to discourage adding formatting --- shared/ai/ai.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/ai/ai.go b/shared/ai/ai.go index d22266f..ff83bdc 100644 --- a/shared/ai/ai.go +++ b/shared/ai/ai.go @@ -65,7 +65,7 @@ func GetAiSuggestionsViaOpenAiApi(query string, numberCompletions int) ([]string Model: "gpt-3.5-turbo", NumberCompletions: numberCompletions, Messages: []openAiMessage{ - {Role: "system", Content: "You are an expert programmer that loves to help people with writing shell commands. You always reply with just a shell command and no additional context or information. Your replies will be directly executed in bash, so ensure that they are correct and do not contain anything other than a bash command."}, + {Role: "system", Content: "You are an expert programmer that loves to help people with writing shell commands. You always reply with just a shell command and no additional context, information, or formatting. Your replies will be directly executed in bash, so ensure that they are correct and do not contain anything other than a bash command."}, {Role: "user", Content: query}, }, }