Merge pull request #1045 from zhenya-zhu/improve_keyword_extraction_prompt

force keywords_extraction output as JSON
This commit is contained in:
zrguo 2025-03-11 15:11:26 +08:00 committed by GitHub
commit f5f21f6f9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -236,7 +236,7 @@ Given the query and conversation history, list both high-level and low-level key
---Instructions---
- Consider both the current query and relevant conversation history when extracting keywords
- Output the keywords in JSON format
- Output the keywords in JSON format, it will be parsed by a JSON parser, do not add any extra content in output
- The JSON should have two keys:
- "high_level_keywords" for overarching concepts or themes
- "low_level_keywords" for specific entities or details