Переглянути джерело

Update prompts.py:Fix conversation title language for Italian conversations (#16696)

tags/1.2.0
zhangkun-21 7 місяці тому
джерело
коміт
c4bb07184d
Аккаунт користувача з таким Email не знайдено
1 змінених файлів з 1 додано та 1 видалено
  1. 1
    1
      api/core/llm_generator/prompts.py

+ 1
- 1
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.

Завантаження…
Відмінити
Зберегти