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.

Fix python code format.

shaoyijiaefac12387178
diff --git a/knowledge_storm/collaborative_storm/modules/co_storm_agents.py b/knowledge_storm/collaborative_storm/modules/co_storm_agents.py
index e092cd6..e7f6029 100644
--- a/knowledge_storm/collaborative_storm/modules/co_storm_agents.py
+++ b/knowledge_storm/collaborative_storm/modules/co_storm_agents.py
@@ -110,7 +110,7 @@ class CoStormExpert(Agent):
class SimulatedUser(Agent):
"""
Simulated Users is a special type of Agent in Co-STORM that simulates real user interaction behavior based on the given intent.
-
+
This class can be used for automatic experiments.
For more information, please refer to Section 3.4 of Co-STORM paper: https://www.arxiv.org/pdf/2408.15232
"""
@@ -321,7 +321,7 @@ class PureRAGAgent(Agent):
"""
PureRAGAgent only handles grounded question generation by retrieving information from the retriever based on the query.
It does not utilize any other information besides the query itself.
-
+
It's designed for Co-STORM paper baseline comparison.
"""
diff --git a/knowledge_storm/rm.py b/knowledge_storm/rm.py
index 9ae5955..7f029e7 100644
--- a/knowledge_storm/rm.py
+++ b/knowledge_storm/rm.py
@@ -335,6 +335,7 @@ class VectorRM(dspy.Retrieve):
class StanfordOvalArxivRM(dspy.Retrieve):
"""[Alpha] This retrieval class is for internal use only, not intended for the public."""
+
def __init__(self, endpoint, k=3):
super().__init__(k=k)
self.endpoint = endpoint