Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

databricks_dspy-0.1.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

databricks_dspy-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

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

Hashes for databricks_dspy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 408ffc2082eadbf17c2777da9b0b5e3e43d2163e3c8a73bfefcd7938ed58a4e5
MD5 ab6591ff76ee9a313d9e3962f44f29c8
BLAKE2b-256 b964f4cab4d50042316489020ca3480a60137f2742a6db7792c4a49d04dc6b17

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file databricks_dspy-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for databricks_dspy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db967f6358d46d3afe1d11235702ec3ea4cda15ef75e341e8a89f2d922de341a
MD5 c6c46edd0c830013c64d2b4db4ca8e11
BLAKE2b-256 f28611f0676c1505bddc413ea57255654fcdcc428fb924e4c192a141c276921f

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page