From 376603826b5928bbbacdccfbc73285dfbe342ac5 Mon Sep 17 00:00:00 2001 From: ai_user Date: Fri, 27 Dec 2024 03:12:55 +0000 Subject: [PATCH] fix keywords_extraction_examples format error --- lightrag/prompt.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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"] -}} +} #############################""", ]