提取关键词时LLM输出的关键词跟随用户提问的语言,可以避免一些指定英文而偶发的一些LLM输出的JSON不规范导致JSON解析失败的问题
This commit is contained in:
@@ -178,7 +178,6 @@ Add sections and commentary to the response as appropriate for the length and fo
|
|||||||
PROMPTS["keywords_extraction"] = """---Role---
|
PROMPTS["keywords_extraction"] = """---Role---
|
||||||
|
|
||||||
You are a helpful assistant tasked with identifying both high-level and low-level keywords in the user's query.
|
You are a helpful assistant tasked with identifying both high-level and low-level keywords in the user's query.
|
||||||
Use {language} as output language.
|
|
||||||
|
|
||||||
---Goal---
|
---Goal---
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user