You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[2025/01] We add [litellm](https://github.com/BerriAI/litellm) integration for language models and embedding models in `knowledge-storm` v1.1.0.
13
+
13
14
-[2024/09] Co-STORM codebase is now released and integrated into `knowledge-storm` python package v1.0.0. Run `pip install knowledge-storm --upgrade` to check it out.
14
15
15
16
-[2024/09] We introduce collaborative STORM (Co-STORM) to support human-AI collaborative knowledge curation! [Co-STORM Paper](https://www.arxiv.org/abs/2408.15232) has been accepted to EMNLP 2024 main conference.
@@ -92,10 +93,11 @@ You could also install the source code which allows you to modify the behavior o
92
93
93
94
Currently, our package support:
94
95
95
-
- `OpenAIModel`, `AzureOpenAIModel`, `ClaudeModel`, `VLLMClient`, `TGIClient`, `TogetherClient`, `OllamaClient`, `GoogleModel`, `DeepSeekModel`, `GroqModel` as language model components
96
-
- `YouRM`, `BingSearch`, `VectorRM`, `SerperRM`, `BraveRM`, `SearXNG`, `DuckDuckGoSearchRM`, `TavilySearchRM`, `GoogleSearch`, and `AzureAISearch` as retrieval module components
96
+
- Language model components: All language models supported by litellm as listed [here](https://docs.litellm.ai/docs/providers)
97
+
- Embedding model components: All embedding models supported by litellm as listed [here](https://docs.litellm.ai/docs/embedding/supported_embedding)
98
+
- retrieval module components: `YouRM`, `BingSearch`, `VectorRM`, `SerperRM`, `BraveRM`, `SearXNG`, `DuckDuckGoSearchRM`, `TavilySearchRM`, `GoogleSearch`, and `AzureAISearch` as
97
99
98
-
:star2: **PRs for integrating more language models into [knowledge_storm/lm.py](knowledge_storm/lm.py) and search engines/retrievers into [knowledge_storm/rm.py](knowledge_storm/rm.py) are highly appreciated!**
100
+
:star2: **PRs for integrating more search engines/retrievers into [knowledge_storm/rm.py](knowledge_storm/rm.py) are highly appreciated!**
99
101
100
102
Both STORM and Co-STORM are working in the information curation layer, you need to set up the information retrieval module and language model module to create their `Runner` classes respectively.
101
103
@@ -106,7 +108,7 @@ The STORM knowledge curation engine is defined as a simple Python `STORMWikiRunn
106
108
```python
107
109
import os
108
110
from knowledge_storm import STORMWikiRunnerArguments, STORMWikiRunner, STORMWikiLMConfigs
109
-
from knowledge_storm.lm import OpenAIModel
111
+
from knowledge_storm.lm import LitellmModel
110
112
from knowledge_storm.rm import YouRM
111
113
112
114
lm_configs = STORMWikiLMConfigs()
@@ -118,8 +120,8 @@ openai_kwargs = {
118
120
# STORM is a LM system so different components can be powered by different models to reach a good balance between cost and quality.
119
121
# For a good practice, choose a cheaper/faster model for `conv_simulator_lm` which is used to split queries, synthesize answers in the conversation.
120
122
# Choose a more powerful model for `article_gen_lm` to generate verifiable text with citations.
title={{Assisting in Writing Wikipedia-like Articles From Scratch with Large Language Models}},
343
-
author={Yijia Shao and Yucheng Jiang and Theodore A. Kanell and Peter Xu and Omar Khattab and Monica S. Lam},
344
-
year={2024},
345
-
booktitle={Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)}
349
+
@inproceedings{shao-etal-2024-assisting,
350
+
title = "Assisting in Writing {W}ikipedia-like Articles From Scratch with Large Language Models",
351
+
author = "Shao, Yijia and
352
+
Jiang, Yucheng and
353
+
Kanell, Theodore and
354
+
Xu, Peter and
355
+
Khattab, Omar and
356
+
Lam, Monica",
357
+
editor = "Duh, Kevin and
358
+
Gomez, Helena and
359
+
Bethard, Steven",
360
+
booktitle = "Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers)",
361
+
month = jun,
362
+
year = "2024",
363
+
address = "Mexico City, Mexico",
364
+
publisher = "Association for Computational Linguistics",
0 commit comments