瀏覽代碼

feat: optimize prompt (#1080)

tags/0.3.20
takatost 2 年之前
父節點
當前提交
33562a9d8d
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      api/core/prompt/prompts.py

+ 1
- 1
api/core/prompt/prompts.py 查看文件

@@ -1,6 +1,6 @@
# Written by YORKI MINAKO🤡
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 using is abundant, can be English, Chinese, Español, Arabic, Japanese, and etc.
Notice: the language type user use could be diverse, which can be English, Chinese, Español, Arabic, Japanese, Franch, 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.

Loading…
取消
儲存