From b14c5fbbc57e0c0eae91361051eeefb91b5c97e5 Mon Sep 17 00:00:00 2001 From: Prithvi Kannan Date: Thu, 24 Oct 2024 13:32:43 -0700 Subject: [PATCH 1/2] Update READMEs Signed-off-by: Prithvi Kannan --- README.md | 15 ++++++++++++++- integrations/langchain/README.md | 23 +++++++++++++++++++++++ 2 files changed, 37 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..b15f5f7 100644 --- a/integrations/langchain/README.md +++ b/integrations/langchain/README.md @@ -0,0 +1,23 @@ +# 🦜🔗 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 + +### Use a Genie space as an agent + +```python +from databricks_langchain.genie import GenieAgent + +genie_agent = GenieAgent("space-id", "Genie", description="This Genie space has access to sales data in Europe") +``` From c93deb1db76573e6e05e366ef015aa6b7cc0427f Mon Sep 17 00:00:00 2001 From: Prithvi Kannan Date: Fri, 25 Oct 2024 15:53:12 -0700 Subject: [PATCH 2/2] fix Signed-off-by: Prithvi Kannan --- integrations/langchain/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integrations/langchain/README.md b/integrations/langchain/README.md index b15f5f7..e09794a 100644 --- a/integrations/langchain/README.md +++ b/integrations/langchain/README.md @@ -14,7 +14,10 @@ pip install git+ssh://git@github.com/databricks/databricks-ai-bridge.git#subdire ## Get started -### Use a Genie space as an agent +### (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