Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

feat: optimize baichuan prompt (#988)

takatost53e83d8697d3
diff --git a/api/core/prompt/generate_prompts/baichuan_chat.json b/api/core/prompt/generate_prompts/baichuan_chat.json
index 93b9b725446..4e70f67611f 100644
--- a/api/core/prompt/generate_prompts/baichuan_chat.json
+++ b/api/core/prompt/generate_prompts/baichuan_chat.json
@@ -8,6 +8,6 @@
"pre_prompt",
"histories_prompt"
],
- "query_prompt": "用户:{{query}}\n助手:",
+ "query_prompt": "用户:{{query}}",
"stops": ["用户:"]
}
\ No newline at end of file