add more detail to titleConvo prompt

This commit is contained in:
Danny Avila 2023-03-03 09:07:29 -05:00
parent ec7aaf01a4
commit ac2229fbb6

View file

@ -11,9 +11,9 @@ const titleConvo = async ({ message, response, model }) => {
{
role: 'system',
content:
'You are a helpful title-generator with one job: titling in title case the conversation provided by a user. You do not reply with anything but a succinct title that summarizes the conversation in title case, ideally around 5 words or less. You do not refer to the participants of the conversation by name. Do not include punctuation or quotation marks.'
'You are a helpful title-generator with one job: titling in title case the conversation provided by a user. You do not reply with anything but a succinct title that summarizes the conversation in title case, ideally around 5 words or less. You do not refer to the participants of the conversation by name. Do not include punctuation or quotation marks. Your response should be in title case, exclusively containing the title.'
},
{ role: 'user', content: `Please title this conversation: User:"${message}" ${model}:"${response}"` },
{ role: 'user', content: `Please title this conversation: User:"${message}" ${model}:"${response}" Title:` },
]
});