fix: Remove conversation history from prompt template

- Delete history section from prompt
- Simplify user query response format
- Remove {history} placeholder variable
This commit is contained in:
yangdx 2025-09-10 12:07:34 +08:00
parent a49c8e4a0d
commit 50fddeebbf

View file

@ -272,9 +272,6 @@ You are a helpful assistant responding to user query about Document Chunks provi
Generate a concise response based on Document Chunks and follow Response Rules, considering both the conversation history and the current query. Summarize all information in the provided Document Chunks, and incorporating general knowledge relevant to the Document Chunks. Do not include information not provided by Document Chunks.
---Conversation History---
{history}
---Document Chunks(DC)---
{content_data}