Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/langchain-ai/langchain-databricks
https://github.com/langchain-ai/langchain-databricks
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/langchain-ai/langchain-databricks
- Owner: langchain-ai
- License: mit
- Created: 2024-08-27T23:49:44.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-17T07:32:50.000Z (2 months ago)
- Last Synced: 2024-12-17T08:37:24.041Z (2 months ago)
- Language: Python
- Size: 289 KB
- Stars: 7
- Watchers: 6
- Forks: 9
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π¦οΈπ 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 ChatDatabrickschat_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!