Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add langchain-databricks into databricks-langchain #12

Merged
merged 4 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '3.9'
- name: Install dependencies
run: |
pip install -r requirements/lint-requirements.txt
Expand All @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.9', '3.10']
timeout-minutes: 20
steps:
- name: Checkout code
Expand All @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
python-version: ['3.9', '3.10']
timeout-minutes: 20
steps:
- name: Checkout code
Expand Down
3 changes: 2 additions & 1 deletion integrations/langchain/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ authors = [
]
readme = "README.md"
license = { text="Apache-2.0" }
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"langchain>=0.2.0",
"langchain-community>=0.2.0",
"langchain-databricks>=0.1.1",
"databricks-ai-bridge",
]

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

from .genie import GenieAgent

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