|
1 | 1 | # Databricks AI Bridge library
|
2 | 2 |
|
3 |
| -The Databricks AI Bridge library provides a shared layer of APIs to interact with Databricks AI features, such as [Databricks AI/BI Genie ](https://www.databricks.com/product/ai-bi/genie) and [Vector Search](https://docs.databricks.com/en/generative-ai/vector-search.html). |
| 3 | +The Databricks AI Bridge library provides a shared layer of APIs to interact with Databricks AI features, such as [Databricks AI/BI Genie ](https://www.databricks.com/product/ai-bi/genie) and [Vector Search](https://docs.databricks.com/en/generative-ai/vector-search.html). Use these packages to help [author agents with Agent Framework](https://docs.databricks.com/aws/en/generative-ai/agent-framework/author-agent#requirements) on Databricks. |
4 | 4 |
|
5 |
| -## Integrations |
| 5 | +## Integration Packages |
6 | 6 |
|
7 |
| -This library also contains the source code for the following integration packages. These integration packages provide seamless integration of Databricks AI features to use in AI authoring frameworks. |
| 7 | +If you are using LangChain/LangGraph or the OpenAI SDK, we provide these integration packages for seamless integration of Databricks AI features. |
8 | 8 |
|
9 |
| -- [`databricks-langchain`](./integrations/langchain/README.md) |
10 |
| -- [`databricks-openai`](./integrations/openai/README.md) |
| 9 | +- [`databricks-langchain`](./integrations/langchain/README.md) - For LangChain/LangGraph users |
| 10 | +- [`databricks-openai`](./integrations/openai/README.md) - For OpenAI SDK users |
11 | 11 |
|
12 | 12 | ## Installation
|
13 | 13 |
|
14 |
| -If you are using LangChain or OpenAI, you should install `databricks-langchain` or `databricks-openai`. Refer to the linked READMEs for more details. For other frameworks without dedicated integration packages, use `databricks-ai-bridge` instead. |
15 |
| - |
16 |
| -### Install from PyPI |
| 14 | +If you're using LangChain/LangGraph or OpenAI: |
17 | 15 |
|
18 | 16 | ```sh
|
19 | 17 | pip install databricks-langchain
|
20 | 18 | pip install databricks-openai
|
21 |
| -pip install databricks-ai-bridge |
| 19 | +``` |
| 20 | + |
| 21 | +For frameworks without dedicated integration packages: |
22 | 22 |
|
| 23 | +```sh |
| 24 | +pip install databricks-ai-bridge |
23 | 25 | ```
|
24 | 26 |
|
25 | 27 | ### Install from source
|
26 | 28 |
|
27 | 29 | With https:
|
28 | 30 |
|
29 | 31 | ```sh
|
| 32 | +# For LangChain/LangGraph users (recommended): |
30 | 33 | pip install git+https:// [email protected]/databricks/databricks-ai-bridge.git#subdirectory=integrations/langchain
|
| 34 | +# For OpenAI users (recommended): |
31 | 35 | pip install git+https:// [email protected]/databricks/databricks-ai-bridge.git#subdirectory=integrations/openai
|
| 36 | +# Generic installation (only if needed): |
32 | 37 | pip install git+https:// [email protected]/databricks/databricks-ai-bridge.git
|
33 |
| - |
34 | 38 | ```
|
0 commit comments