Update prompt used to generate conversation title

This commit is contained in:
Matt Low 2023-11-27 04:56:39 +00:00
parent 2f3d95356a
commit 1e63c09907

View File

@ -22,7 +22,7 @@ func (m *Message) FriendlyRole() string {
}
func (c *Conversation) GenerateTitle() error {
const header = "Generate a short title for the conversation below."
const header = "Generate a consise 4-5 word title for the conversation below."
prompt := fmt.Sprintf("%s\n\n---\n\n%s", header, c.FormatForExternalPrompting())
messages := []Message{