Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.98 KB

README.md

File metadata and controls

51 lines (30 loc) · 1.98 KB

🦜️🔗 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!