Skip to content

Commit 7a00238

Browse files
change the default model to llama-4 for databricks provider (#8414)
* change the default model to llama-4 for databricks * Disable docpush on forked repo * revert unintentional change * fix credentials setup
1 parent 540772d commit 7a00238

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/docs/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ Instead of wrangling prompts or training jobs, DSPy (Declarative Self-improving
4949

5050
```python linenums="1"
5151
import dspy
52-
lm = dspy.LM('databricks/databricks-meta-llama-3-1-70b-instruct')
52+
lm = dspy.LM(
53+
'databricks/databricks-llama-4-maverick',
54+
api_key="YOUR_DATABRICKS_ACCESS_TOKEN",
55+
api_base="YOUR_DATABRICKS_WORKSPACE_URL", # e.g.: https://dbc-64bf4923-e39e.cloud.databricks.com/serving-endpoints
56+
)
5357
dspy.configure(lm=lm)
5458
```
5559

0 commit comments

Comments
 (0)