Update prompt used to generate conversation title
This commit is contained in:
parent
2f3d95356a
commit
1e63c09907
@ -22,7 +22,7 @@ func (m *Message) FriendlyRole() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *Conversation) GenerateTitle() error {
|
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())
|
prompt := fmt.Sprintf("%s\n\n---\n\n%s", header, c.FormatForExternalPrompting())
|
||||||
|
|
||||||
messages := []Message{
|
messages := []Message{
|
||||||
|
Loading…
Reference in New Issue
Block a user