mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 09:36:13 +08:00
fix: prompt of title generation (#1084)
This commit is contained in:
parent
48eb590065
commit
73c86ee6a0
@ -1,6 +1,6 @@
|
|||||||
# 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 use could be diverse, which can be English, Chinese, Español, Arabic, Japanese, Franch, and etc.
|
Notice: the language type user use could be diverse, which can be English, Chinese, Español, Arabic, Japanese, French, 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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user