From c4bb07184d4cd721d4ccbb4084b743f46b3446e2 Mon Sep 17 00:00:00 2001 From: zhangkun-21 Date: Tue, 25 Mar 2025 14:29:08 +0800 Subject: [PATCH] =?UTF-8?q?Update=20prompts.py=EF=BC=9AFix=20conversation?= =?UTF-8?q?=20title=20language=20for=20Italian=20conversations=20(#16696)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/core/llm_generator/prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/llm_generator/prompts.py b/api/core/llm_generator/prompts.py index f9411e9ec..cf20e60c8 100644 --- a/api/core/llm_generator/prompts.py +++ b/api/core/llm_generator/prompts.py @@ -1,6 +1,6 @@ # Written by YORKI MINAKO🤔, Edited by Xiaoyi CONVERSATION_TITLE_PROMPT = """You need to decompose the user's input into "subject" and "intention" in order to accurately figure out what the user's input language actually is. -Notice: the language type user use could be diverse, which can be English, Chinese, Español, Arabic, Japanese, French, and etc. +Notice: the language type user use could be diverse, which can be English, Chinese, Italian, Español, Arabic, Japanese, French, and etc. MAKE SURE your output is the SAME language as the user's input! Your output is restricted only to: (Input language) Intention + Subject(short as possible) Your output MUST be a valid JSON.