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,