Databricks integration for DSPy
Project description
Databricks DSPy Integration
The databricks-dspy package provides Databricks extensions for DSPy, with a purpose of facilitating the usage
of DSPy on Databricks platform.
Installation
From PyPI
pip install databricks-dspy
From Source
pip install git+https://git@github.com/databricks/databricks-ai-bridge.git#subdirectory=integrations/dspy
Key Features
- LLMs Integration: Use Databricks-hosted LLM endpoints.
Getting Started
Use LLMs on Databricks
import databricks_dspy
import dspy
dspy.configure(lm=databricks_dspy.DatabricksLM(model="databricks/databricks-llama-4-maverick"))
predict = dspy.Predict("question->answer")
print(predict(question="why did a chicken cross the kitchen?"))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file databricks_dspy-0.1.0.tar.gz.
File metadata
- Download URL: databricks_dspy-0.1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
408ffc2082eadbf17c2777da9b0b5e3e43d2163e3c8a73bfefcd7938ed58a4e5
|
|
| MD5 |
ab6591ff76ee9a313d9e3962f44f29c8
|
|
| BLAKE2b-256 |
b964f4cab4d50042316489020ca3480a60137f2742a6db7792c4a49d04dc6b17
|
Provenance
The following attestation bundles were made for databricks_dspy-0.1.0.tar.gz:
Publisher:
databricks-dspy-release.yml on databricks/databricks-ai-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
databricks_dspy-0.1.0.tar.gz -
Subject digest:
408ffc2082eadbf17c2777da9b0b5e3e43d2163e3c8a73bfefcd7938ed58a4e5 - Sigstore transparency entry: 530203649
- Sigstore integration time:
-
Permalink:
databricks/databricks-ai-bridge@87e270ecdc30ecb9d6e790d309a0a2970a36afcd -
Branch / Tag:
refs/tags/databricks-dspy-v0.1.0 - Owner: https://github.com/databricks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
databricks-dspy-release.yml@87e270ecdc30ecb9d6e790d309a0a2970a36afcd -
Trigger Event:
push
-
Statement type:
File details
Details for the file databricks_dspy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: databricks_dspy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db967f6358d46d3afe1d11235702ec3ea4cda15ef75e341e8a89f2d922de341a
|
|
| MD5 |
c6c46edd0c830013c64d2b4db4ca8e11
|
|
| BLAKE2b-256 |
f28611f0676c1505bddc413ea57255654fcdcc428fb924e4c192a141c276921f
|
Provenance
The following attestation bundles were made for databricks_dspy-0.1.0-py3-none-any.whl:
Publisher:
databricks-dspy-release.yml on databricks/databricks-ai-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
databricks_dspy-0.1.0-py3-none-any.whl -
Subject digest:
db967f6358d46d3afe1d11235702ec3ea4cda15ef75e341e8a89f2d922de341a - Sigstore transparency entry: 530203661
- Sigstore integration time:
-
Permalink:
databricks/databricks-ai-bridge@87e270ecdc30ecb9d6e790d309a0a2970a36afcd -
Branch / Tag:
refs/tags/databricks-dspy-v0.1.0 - Owner: https://github.com/databricks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
databricks-dspy-release.yml@87e270ecdc30ecb9d6e790d309a0a2970a36afcd -
Trigger Event:
push
-
Statement type: