Increase max token length for conversation title generation

This commit is contained in:
Matt Low 2023-11-20 03:48:32 +00:00
parent e6dcefacf5
commit b5f066ff34

View File

@ -33,7 +33,7 @@ func (c *Conversation) GenerateTitle() error {
} }
model := "gpt-3.5-turbo" // use cheap model to generate title model := "gpt-3.5-turbo" // use cheap model to generate title
response, err := CreateChatCompletion(model, messages, 10) response, err := CreateChatCompletion(model, messages, 25)
if err != nil { if err != nil {
return err return err
} }