Skip to content

langchain-ai/langchain-databricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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