Merge pull request #1045 from zhenya-zhu/improve_keyword_extraction_prompt
force keywords_extraction output as JSON
This commit is contained in:
commit
f5f21f6f9b
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ Given the query and conversation history, list both high-level and low-level key
|
||||||
---Instructions---
|
---Instructions---
|
||||||
|
|
||||||
- Consider both the current query and relevant conversation history when extracting keywords
|
- 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:
|
- The JSON should have two keys:
|
||||||
- "high_level_keywords" for overarching concepts or themes
|
- "high_level_keywords" for overarching concepts or themes
|
||||||
- "low_level_keywords" for specific entities or details
|
- "low_level_keywords" for specific entities or details
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue