Skip to content

Commit

Permalink
Fixing Typo "reogranize" -> "reorganize"
Browse files Browse the repository at this point in the history
  • Loading branch information
itinance committed Oct 9, 2024
1 parent 3a3dc21 commit 65f91e6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ conv_turn = costorm_runner.step()
costorm_runner.step(user_utterance="YOUR UTTERANCE HERE")

# Generate report based on the collaborative discourse
costorm_runner.knowledge_base.reogranize()
costorm_runner.knowledge_base.reorganize()
article = costorm_runner.generate_report()
print(article)
```
Expand Down
2 changes: 1 addition & 1 deletion examples/costorm_examples/run_costorm_gpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def main(args):
print(f"**{conv_turn.role}**: {conv_turn.utterance}\n")

# generate report
costorm_runner.knowledge_base.reogranize()
costorm_runner.knowledge_base.reorganize()
article = costorm_runner.generate_report()

# save results
Expand Down
4 changes: 2 additions & 2 deletions knowledge_storm/collaborative_storm/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def warm_start(self):
warmstart_revised_conv if warmstart_revised_conv else warmstart_conv
)
self.warmstart_conv_archive = warmstart_conv
self.knowledge_base.reogranize()
self.knowledge_base.reorganize()
else:
if self.knowledge_base is None:
self.knowledge_base = KnowledgeBase(
Expand Down Expand Up @@ -741,5 +741,5 @@ def step(
):
if self.callback_handler is not None:
self.callback_handler.on_mindmap_reorg_start()
self.knowledge_base.reogranize()
self.knowledge_base.reorganize()
return conv_turn
2 changes: 1 addition & 1 deletion knowledge_storm/dataclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ def update_from_conv_turn(
def get_knowledge_base_summary(self):
return self.gen_summary_module(self)

def reogranize(self):
def reorganize(self):
"""
Reorganizes the knowledge base through two main processes: top-down expansion and bottom-up cleaning.
Expand Down

0 comments on commit 65f91e6

Please sign in to comment.