patch: Add guidelines for concise query reformulation in QueryService

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-03-20 00:20:11 -07:00
parent fa1145c4c0
commit c5287829b6

View file

@ -46,6 +46,9 @@ class QueryService:
- FILE: Searches through user's uploaded files
- CRAWLED_URL: Searches through previously crawled web pages
IMPORTANT: Keep the reformulated query as concise as possible while still being effective.
Avoid unnecessary verbosity and limit the query to only essential terms and concepts.
Please optimize the query to work effectively across these different data sources.
Return ONLY the reformulated query without explanations, prefixes, or commentary.