Skip to content

Commit

Permalink
Add langchain-databricks into databricks-langchain
Browse files Browse the repository at this point in the history
Signed-off-by: Prithvi Kannan <[email protected]>
  • Loading branch information
prithvikannan committed Oct 29, 2024
1 parent 2e7f619 commit 519a0a0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions integrations/langchain/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ requires-python = ">=3.8"
dependencies = [
"langchain>=0.2.0",
"langchain-community>=0.2.0",
"langchain-databricks>=0.1.1",
"databricks-ai-bridge",
]

Expand Down
17 changes: 17 additions & 0 deletions integrations/langchain/src/databricks_langchain/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Import modules from langchain-databricks
from langchain_databricks import (
ChatDatabricks,
DatabricksEmbeddings,
DatabricksVectorSearch,
)

# Import any additional modules specific to databricks-langchain
from .genie import GenieAgent # Example for GenieAgent functionality

# Expose all integrations to users under databricks-langchain
__all__ = [
"ChatDatabricks",
"DatabricksEmbeddings",
"DatabricksVectorSearch",
"GenieAgent",
]

0 comments on commit 519a0a0

Please sign in to comment.