Skip to content

Commit

Permalink
🌏 refactor: Improve Title Prompt for Multilingual Titles (#2832)
Browse files Browse the repository at this point in the history
  • Loading branch information
nidasfly authored May 23, 2024
1 parent a937650 commit 795bb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/clients/prompts/titlePrompts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 795bb9c

Please sign in to comment.