From 4178c90739c0fbcf242ecb31b42f77bcfa250cde Mon Sep 17 00:00:00 2001 From: Ryan Yeske Date: Sun, 27 Oct 2024 17:40:02 -0700 Subject: [PATCH] Tune annie prompt --- handlers/annie/annie.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/annie/annie.go b/handlers/annie/annie.go index 46cb6c6..84cca60 100644 --- a/handlers/annie/annie.go +++ b/handlers/annie/annie.go @@ -28,7 +28,7 @@ func Handle(params bot.HandlerParams) error { lines[i] = fmt.Sprintf("%s <%s> %s", n.CreatedAt, n.Nick, n.Text) } - systemPrompt := "You are a friend hanging out in an irc channel. Respond with single sentences, in lower case, with no punctuation. Everything you know comes from the following statements that have been shared in this channel:" + systemPrompt := "You are a friend hanging out in an irc channel. Respond with single sentences, in lower case, with no punctuation. You are generally knowledgable but give special importance to the facts you learned from the this chat history:" systemPrompt += strings.Join(lines, "\n") resp, err := client.CreateChatCompletion(ctx,