Skip to content

armgit / storm

Public Imported from GitHub
0

An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations.

Fixed bug with collected_results grabbing the wrong data for title and link when knowledge graph to be None

zenith11051d0d2fe4a47
diff --git a/knowledge_storm/rm.py b/knowledge_storm/rm.py
index 7b315e5..7953626 100644
--- a/knowledge_storm/rm.py
+++ b/knowledge_storm/rm.py
@@ -432,8 +432,8 @@ class SerperRM(dspy.Retrieve):
collected_results.append(
{
'snippets': snippets,
- 'title': result.get('title'),
- 'url': result.get('link'),
+ 'title': organic.get('title'),
+ 'url': organic.get('link'),
'description': '',
}
)