From ac2229fbb612a4069edfb078144c154887cb95c1 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Fri, 3 Mar 2023 09:07:29 -0500 Subject: [PATCH] add more detail to titleConvo prompt --- app/titleConvo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/titleConvo.js b/app/titleConvo.js index 3ca1178f3a..bf9d74e47d 100644 --- a/app/titleConvo.js +++ b/app/titleConvo.js @@ -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:` }, ] });