We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
LitellmModel
1 parent 3362dae commit 73bddddCopy full SHA for 73bdddd
knowledge_storm/lm.py
@@ -37,7 +37,7 @@
37
litellm.drop_params = True
38
litellm.telemetry = False
39
40
-from litellm.caching.caching import Cache
+from litellm.caching import Cache
41
42
disk_cache_dir = os.path.join(Path.home(), ".storm_local_cache")
43
litellm.cache = Cache(disk_cache_dir=disk_cache_dir, type="disk")
@@ -190,7 +190,10 @@ def _inspect_history(lm, n: int = 1):
190
191
192
class LitellmModel(LM):
193
- """A wrapper class for dspy.OpenAI."""
+ """A wrapper class for LiteLLM.
194
+
195
+ Check out https://docs.litellm.ai/docs/providers for usage details.
196
+ """
197
198
def __init__(
199
self,
0 commit comments