From 795bb9c56836c46aa59ba6cf6a1ae90e4b1d756d Mon Sep 17 00:00:00 2001 From: nidasfly <56987501+nidasfly@users.noreply.github.com> Date: Thu, 23 May 2024 04:18:59 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=8F=20refactor:=20Improve=20Title=20Pr?= =?UTF-8?q?ompt=20for=20Multilingual=20Titles=20(#2832)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/clients/prompts/titlePrompts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/clients/prompts/titlePrompts.js b/api/app/clients/prompts/titlePrompts.js index 4b3ec354c6..77bdc181d8 100644 --- a/api/app/clients/prompts/titlePrompts.js +++ b/api/app/clients/prompts/titlePrompts.js @@ -28,7 +28,7 @@ ${convo}`, }; const titleInstruction = - 'a concise, 5-word-or-less title for the conversation, using its same language, with no punctuation. Apply title case conventions appropriate for the language. For English, use AP Stylebook Title Case. Never directly mention the language name or the word "title"'; + 'a concise, 5-word-or-less title for the conversation, using its same language, with no punctuation. Apply title case conventions appropriate for the language. Never directly mention the language name or the word "title"'; const titleFunctionPrompt = `In this environment you have access to a set of tools you can use to generate the conversation title. You may call them like this: