DSPy: The framework for programming—not prompting—language models
Python
Fixed ollama example (#8669)
RevanthGundala76ef0485ff1f
diff --git a/docs/docs/index.md b/docs/docs/index.mdindex 7c8b0ebb9..ddc86ca96 100644--- a/docs/docs/index.md+++ b/docs/docs/index.md@@ -78,7 +78,7 @@ Instead of wrangling prompts or training jobs, DSPy (Declarative Self-improving```python linenums="1"import dspy- lm = dspy.LM("ollama_chat/llama3.2", api_base="http://localhost:11434", api_key="")+ lm = dspy.LM("ollama_chat/llama3.2:1b", api_base="http://localhost:11434", api_key="")dspy.configure(lm=lm)```