Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Update FAQ to mention `DSP_CACHEDIR` for local cache.

Tom Dörrf4690a0aa2c7
diff --git a/docs/docs/faqs.md b/docs/docs/faqs.md
index eb34d39f0..c9f594da2 100644
--- a/docs/docs/faqs.md
+++ b/docs/docs/faqs.md
@@ -87,7 +87,7 @@ Open source libraries such as [RAGautouille](https://github.com/bclavie/ragatoui
You can turn off the cache by setting the [`DSP_CACHEBOOL`](https://github.com/stanfordnlp/dspy/blob/main/dsp/modules/cache_utils.py#L9) environment variable to `False`, which disables the `cache_turn_on` flag.
-Your local cache will be saved to the global env directory `os.environ["DSP_NOTEBOOK_CACHEDIR"]` which you can usually set to `os.path.join(repo_path, 'cache')` and export this cache from here.
+Your local cache will be saved to the global env directory `os.environ["DSP_CACHEDIR"]` or `os.environ["DSP_NOTEBOOK_CACHEDIR"]` which you can usually set to `os.path.join(repo_path, 'cache')` and export this cache from here.
## Advanced Usage