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:
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user