feat(prompt_templates): add document analysis prompt and enhance rewrite template descriptions

- Introduced a new prompt template for document analysis, allowing the assistant to provide detailed responses based on attached documents.
- Updated the rewrite template descriptions to clarify the handling of image and document attachments, ensuring better user understanding of intent classification.
- Added a new intent type for document-only queries to improve response accuracy.

This update enhances the assistant's capabilities in processing and analyzing documents while refining the user experience in intent classification.
This commit is contained in:
wizardchen
2026-04-14 17:57:29 +08:00
committed by lyingbug
parent 1fc90f5772
commit 5a2f9f6a44
3 changed files with 38 additions and 10 deletions
+1
View File
@@ -68,6 +68,7 @@ const (
IntentChitchat QueryIntent = "chitchat"
IntentFollowUp QueryIntent = "follow_up"
IntentImageOnly QueryIntent = "image_only"
IntentDocOnly QueryIntent = "doc_only"
IntentSummarize QueryIntent = "summarize"
IntentClarification QueryIntent = "clarification"
)