Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

Update notebook cachedir FAQ entry

Tom Dörrb7dee9eab5d2
diff --git a/docs/docs/faqs.md b/docs/docs/faqs.md
index 27c9f5894..1c6ca2369 100644
--- a/docs/docs/faqs.md
+++ b/docs/docs/faqs.md
@@ -89,7 +89,7 @@ You can turn off the cache by setting the [`DSP_CACHEBOOL`](https://github.com/s
Your local cache will be saved to the global env directory `os.environ["DSP_CACHEDIR"]` or for notebooks `os.environ["DSP_NOTEBOOK_CACHEDIR"]`. You can usually set the cachedir to `os.path.join(repo_path, 'cache')` and export this cache from here.
Example:
-```
+```python
os.environ["DSP_NOTEBOOK_CACHEDIR"] = os.path.join(os.getcwd(), 'cache')
```