Unverified Commit 33562a9d authored by takatost's avatar takatost Committed by GitHub

feat: optimize prompt (#1080)

parent c9194ba3
# Written by YORKI MINAKO🤡 # 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. 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! 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 is restricted only to: (Input language) Intention + Subject(short as possible)
Your output MUST be a valid JSON. Your output MUST be a valid JSON.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment