Skip to main content

An integration package connecting Databricks and LangChain

Project description

🦜️🔗 LangChain Databricks (Deprecated)

Note: this package is deprecated in favor of the renamed databricks-langchain package (repo, package).

This repository previously provided LangChain components to connect your LangChain application with various Databricks services.

Deprecation Notice

The langchain-databricks package is now deprecated in favor of the consolidated package databricks-langchain. Please update your dependencies to use databricks-langchain going forward.

Migration Guide

What’s Changing?

  • All features previously provided by langchain-databricks are now available in databricks-langchain.
  • Future updates and new features will be released exclusively in databricks-langchain.

How to Migrate

  1. Install the new package:

    pip install databricks-langchain
    
  2. Update Imports: Replace occurrences of langchain_databricks in your code with databricks_langchain. Example:

    from databricks_langchain import ChatDatabricks
    
    chat_model = ChatDatabricks(endpoint="databricks-meta-llama-3-70b-instruct")
    response = chat_model.invoke("What is MLflow?")
    print(response)
    

For more details, please refer to the Langchain documentation and the databricks-langchain package.


Contributing

Contributions are now accepted in the databricks-langchain repository. Please refer to its contribution guide for more details.


License

This project was licensed under the MIT License.

Thank you for your support as we continue to improve Databricks integrations within LangChain!

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

langchain_databricks-0.1.2.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

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

langchain_databricks-0.1.2-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file langchain_databricks-0.1.2.tar.gz.

File metadata

  • Download URL: langchain_databricks-0.1.2.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for langchain_databricks-0.1.2.tar.gz
Algorithm Hash digest
SHA256 60fbe8040cadab01f3b75adfa06f6146baf982e461a2e766549af266010b04d9
MD5 221a42dafe088632b47d359cdbd27d97
BLAKE2b-256 8a0337c5f41bbe9d9da921d2719ac902a8d3523453ccceda3329f492e8692087

See more details on using hashes here.

File details

Details for the file langchain_databricks-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_databricks-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a8b4d55f882485593a80934de4392df3dae489517a31533f7bb75a09620f4e42
MD5 8bfd180544b3e59c583913e0e08843f3
BLAKE2b-256 016a5327c1600f2b0309d9148e0bdf1d837ad000b2f5ec6308b0eb44a2663c0b

See more details on using hashes here.

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