Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions backend/src/llm/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ def build_intent_extraction_prompt(user_message: str, conversation_history: list
- "budget is flexible" or "no budget constraint" → budget_constraint: flexible or none
- No budget mentioned → budget_constraint: moderate
- "cost-sensitive" or "cost efficiency important" → budget_constraint: strict or moderate
- "document Q&A" or "knowledge base" or "document search" → use_case: document_analysis_rag
- "RAG" or "retrieval" → use_case: document_analysis_rag
- "chatbot" or "customer service" or "conversational" → use_case: chatbot_conversational
- "summarize document" or "summarization" → use_case: summarization_short or long_document_summarization

{INTENT_EXTRACTION_SCHEMA}
"""
Expand Down