DSPy: The framework for programming—not prompting—language models
Python
Update faqs.md
arnavsinghvi11c62ffa03445e
diff --git a/docs/docs/faqs.md b/docs/docs/faqs.mdindex 1f0bfd623..183958826 100644--- a/docs/docs/faqs.md+++ b/docs/docs/faqs.md@@ -70,7 +70,7 @@ Open source libraries such as [RAGautouille](https://github.com/bclavie/ragatoui- **How do I turn off the cache? How do I export the cache?**-You can turn off the cache by setting the [`DSP_CACHEBOOL`](https://github.com/stanfordnlp/dspy/blob/main/dsp/modules/cache_utils.py#L9) `cache_turn_on` environment variable to `False`.+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.