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