Merge pull request #515 from zhangch-ss/main

fix keywords_extraction_examples format error
This commit is contained in:
zrguo
2024-12-27 15:41:15 +08:00
committed by GitHub

View File

@@ -211,30 +211,30 @@ PROMPTS["keywords_extraction_examples"] = [
Query: "How does international trade influence global economic stability?" Query: "How does international trade influence global economic stability?"
################ ################
Output: Output:
{{ {
"high_level_keywords": ["International trade", "Global economic stability", "Economic impact"], "high_level_keywords": ["International trade", "Global economic stability", "Economic impact"],
"low_level_keywords": ["Trade agreements", "Tariffs", "Currency exchange", "Imports", "Exports"] "low_level_keywords": ["Trade agreements", "Tariffs", "Currency exchange", "Imports", "Exports"]
}} }
#############################""", #############################""",
"""Example 2: """Example 2:
Query: "What are the environmental consequences of deforestation on biodiversity?" Query: "What are the environmental consequences of deforestation on biodiversity?"
################ ################
Output: Output:
{{ {
"high_level_keywords": ["Environmental consequences", "Deforestation", "Biodiversity loss"], "high_level_keywords": ["Environmental consequences", "Deforestation", "Biodiversity loss"],
"low_level_keywords": ["Species extinction", "Habitat destruction", "Carbon emissions", "Rainforest", "Ecosystem"] "low_level_keywords": ["Species extinction", "Habitat destruction", "Carbon emissions", "Rainforest", "Ecosystem"]
}} }
#############################""", #############################""",
"""Example 3: """Example 3:
Query: "What is the role of education in reducing poverty?" Query: "What is the role of education in reducing poverty?"
################ ################
Output: Output:
{{ {
"high_level_keywords": ["Education", "Poverty reduction", "Socioeconomic development"], "high_level_keywords": ["Education", "Poverty reduction", "Socioeconomic development"],
"low_level_keywords": ["School access", "Literacy rates", "Job training", "Income inequality"] "low_level_keywords": ["School access", "Literacy rates", "Job training", "Income inequality"]
}} }
#############################""", #############################""",
] ]