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.
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.
- All features previously provided by
langchain-databricks
are now available indatabricks-langchain
. - Future updates and new features will be released exclusively in
databricks-langchain
.
-
Install the new package:
pip install databricks-langchain
-
Update Imports: Replace occurrences of
langchain_databricks
in your code withdatabricks_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.
Contributions are now accepted in the databricks-langchain
repository. Please refer to its contribution guide for more details.
This project was licensed under the MIT License.
Thank you for your support as we continue to improve Databricks integrations within LangChain!