databricks-langchain-0.9.0
توضیحات
Support for Databricks AI support in LangChain
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | databricks-langchain-0.9.0 |
| نام | databricks-langchain |
| نسخه کتابخانه | 0.9.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Databricks <agent-feedback@databricks.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/databricks-langchain/ |
| مجوز | Apache-2.0 |
# 🦜🔗 Databricks LangChain Integration
The `databricks-langchain` package provides seamless integration of Databricks AI features into LangChain applications. This repository is now the central hub for all Databricks-related LangChain components, consolidating previous packages such as `langchain-databricks` and `langchain-community`.
## Installation
### From PyPI
```sh
pip install databricks-langchain
```
### From Source
```sh
pip install git+https://git@github.com/databricks/databricks-ai-bridge.git#subdirectory=integrations/langchain
```
## Key Features
- **LLMs Integration:** Use Databricks-hosted large language models (LLMs) like Llama and Mixtral through `ChatDatabricks`.
- **Vector Search:** Store and query vector representations using `DatabricksVectorSearch`.
- **Embeddings:** Generate embeddings with `DatabricksEmbeddings`.
- **Genie:** Use [Genie](https://www.databricks.com/product/ai-bi/genie) in Langchain.
## Getting Started
### Use LLMs on Databricks
```python
from databricks_langchain import ChatDatabricks
llm = ChatDatabricks(endpoint="databricks-meta-llama-3-1-70b-instruct")
```
### Use a Genie Space as an Agent (Preview)
> **Note:** Requires Genie API Private Preview. Contact your Databricks account team for enablement.
```python
from databricks_langchain.genie import GenieAgent
genie_agent = GenieAgent(
"space-id", "Genie",
description="This Genie space has access to sales data in Europe"
)
```
---
## Contribution Guide
We welcome contributions! Please see our [contribution guidelines](https://github.com/databricks/databricks-ai-bridge/tree/main/integrations/langchain) for details.
## License
This project is licensed under the [MIT License](LICENSE).
Thank you for using Databricks LangChain!
نیازمندی
| مقدار | نام |
|---|---|
| - | databricks-ai-bridge>=0.13.0 |
| - | databricks-mcp>=0.5.1 |
| - | databricks-openai>=0.9.0 |
| - | databricks-sdk>=0.65.0 |
| - | databricks-vectorsearch>=0.50 |
| - | langchain-mcp-adapters>=0.1.13 |
| - | langchain>=1.0.0 |
| - | mlflow>=3.0.0 |
| - | openai>=1.99.9 |
| - | pydantic>2.10.0 |
| - | unitycatalog-langchain[databricks]>=0.3.0 |
| xtr | databricks-ai-bridge[memory]>=0.10.0; |
| xtr | langgraph-checkpoint-postgres>=2.0.5; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl databricks-langchain-0.9.0:
pip install databricks-langchain-0.9.0.whl
نصب پکیج tar.gz databricks-langchain-0.9.0:
pip install databricks-langchain-0.9.0.tar.gz