Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Typo "reogranize" -> "reorganize" #208

Merged
merged 1 commit into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading