From e11c4123798ed36afdeaba992387a304725f5b81 Mon Sep 17 00:00:00 2001 From: Prithvi Kannan <46332835+prithvikannan@users.noreply.github.com> Date: Mon, 28 Oct 2024 09:15:58 -0700 Subject: [PATCH] Update READMEs (#7) * Update READMEs Signed-off-by: Prithvi Kannan * fix Signed-off-by: Prithvi Kannan --------- Signed-off-by: Prithvi Kannan --- README.md | 15 ++++++++++++++- integrations/langchain/README.md | 26 ++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 99e27e1..7724f9d 100644 --- a/README.md +++ b/README.md @@ -1 +1,14 @@ -# databricks-ai-bridge +# Databricks AI Bridge library + +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). + +## Installation + +```sh +# install from the source +pip install git+ssh://git@github.com/databricks/databricks-ai-bridge.git +``` + +> [!NOTE] +> Once this package is published to PyPI, users can install via `pip install databricks-ai-bridge` + diff --git a/integrations/langchain/README.md b/integrations/langchain/README.md index e69de29..e09794a 100644 --- a/integrations/langchain/README.md +++ b/integrations/langchain/README.md @@ -0,0 +1,26 @@ +# 🦜🔗 Using Databricks AI Bridge with Langchain + +Integrate Databricks AI Bridge package with Langchain to allow seamless usage of Databricks AI features with Langchain/Langgraph applications. + +## Installation + +```sh +# install from the source +pip install git+ssh://git@github.com/databricks/databricks-ai-bridge.git#subdirectory=integrations/langchain +``` + +> [!NOTE] +> Once this package is published to PyPI, users can install via `pip install databricks-langchain` + +## Get started + +### (Preview) Use a Genie space as an agent + +> [!NOTE] +> Requires Genie API Private Preview. Reach out to your 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") +```