Skip to content

Commit fef9d8e

Browse files
committed
Move knowledge-store langchain code to ragstack-langchain
1 parent 50b5a15 commit fef9d8e

File tree

15 files changed

+89
-125
lines changed

15 files changed

+89
-125
lines changed

.github/workflows/ci-unit-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ jobs:
130130
ASTRA_DB_TOKEN: "${{ secrets.E2E_TESTS_ASTRA_DEV_DB_TOKEN }}"
131131
ASTRA_DB_ID: "${{ steps.astra-db.outputs.id }}"
132132
ASTRA_DB_ENV: "DEV"
133+
OPENAI_API_KEY: "${{ secrets.E2E_TESTS_OPEN_AI_KEY }}"
133134
run: |
134135
set -ex
135136
run_itests() {

libs/knowledge-store/pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,14 @@ packages = [{ include = "ragstack_knowledge_store" }]
1111

1212
[tool.poetry.dependencies]
1313
python = ">=3.8.1,<4.0"
14-
langchain-core = "^0.2"
1514
cassio = "^0.1.7"
1615

1716
[tool.poetry.group.dev.dependencies]
1817
ruff = "*"
1918
pytest = "*"
2019
mypy = "^1.10.0"
2120
pytest-asyncio = "^0.23.6"
22-
langchain-community = "^0.2"
2321
ipykernel = "^6.29.4"
24-
langchain-openai = "^0.1.7"
2522
testcontainers = "~3.7.1"
2623
setuptools = "^70.0.0"
2724
python-dotenv = "^1.0.1"

libs/knowledge-store/tests/conftest.py

Lines changed: 0 additions & 110 deletions
This file was deleted.

libs/langchain/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ astrapy = "^1"
1515
cassio = "~0.1.4"
1616
unstructured = "0.14.5"
1717
ragstack-ai-colbert = { version = "1.0.5", optional = true }
18+
ragstack-ai-knowledge-store = { version = "0.0.4", optional = true }
1819

1920
# langchain
2021
langchain = "0.2.3"
@@ -28,13 +29,15 @@ langchain-nvidia-ai-endpoints = { version = "0.1.1", optional = true }
2829

2930
[tool.poetry.extras]
3031
colbert = ["ragstack-ai-colbert"]
32+
knowledge-store = ["ragstack-ai-knowledge-store"]
3133

3234
google = ["langchain-google-genai", "langchain-google-vertexai"]
3335
nvidia = ["langchain-nvidia-ai-endpoints"]
3436

3537
[tool.poetry.group.test.dependencies]
3638
ragstack-ai-tests-utils = { path = "../tests-utils", develop = true }
3739
ragstack-ai-colbert = { path = "../colbert", develop = true }
40+
ragstack-ai-knowledge-store = { path = "../knowledge-store", develop = true }
3841
pytest-asyncio = "^0.23.6"
3942

4043
[tool.poetry.group.dev.dependencies]

0 commit comments

Comments
 (0)