Metadata-Version: 2.1
Name: langchain-databricks
Version: 0.1.2
Summary: An integration package connecting Databricks and LangChain
Home-page: https://github.com/langchain-ai/langchain-databricks
License: MIT
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: databricks-vectorsearch (>=0.40,<0.41)
Requires-Dist: langchain-core (>=0.2.35,<0.4)
Requires-Dist: mlflow (>=2.16.0) ; python_version >= "3.12"
Requires-Dist: mlflow (>=2.9) ; python_version < "3.12"
Requires-Dist: numpy (>=1.24.0) ; python_version < "3.12"
Requires-Dist: numpy (>=1.26.0) ; python_version >= "3.12"
Requires-Dist: scipy (<2) ; python_version < "3.12"
Requires-Dist: scipy (>=1.11) ; python_version >= "3.12"
Project-URL: Repository, https://github.com/langchain-ai/langchain-databricks
Project-URL: Release Notes, https://github.com/langchain-ai/langchain-databricks/releases
Project-URL: Source Code, https://github.com/langchain-ai/langchain-databricks/tree/main/libs/databricks
Description-Content-Type: text/markdown

# 🦜️🔗 LangChain Databricks (Deprecated)

| Note: this package is deprecated in favor of the renamed `databricks-langchain` package ([repo](https://github.com/databricks/databricks-ai-bridge/tree/main/integrations/langchain), [package](https://pypi.org/project/databricks-langchain/)). |
|-|

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`](https://pypi.org/project/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:**

    ```bash
    pip install databricks-langchain
    ```

2. **Update Imports:** Replace occurrences of `langchain_databricks` in your code with `databricks_langchain`. Example:
   ```python
   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](https://python.langchain.com/docs/integrations/providers/databricks/) and the [databricks-langchain package](https://pypi.org/project/databricks-langchain/). 

---

## Contributing

Contributions are now accepted in the `databricks-langchain` repository. Please refer to its [contribution guide](https://github.com/databricks/databricks-ai-bridge/tree/main/integrations/langchain) for more details.

---

## License

This project was licensed under the [MIT License](LICENSE).

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


