diff --git a/infrastructure/rag/Chart.yaml b/infrastructure/rag/Chart.yaml index 22192b6e..441c7422 100644 --- a/infrastructure/rag/Chart.yaml +++ b/infrastructure/rag/Chart.yaml @@ -6,7 +6,7 @@ description: | ask question about their content and the rag will answer them. type: application version: 3.4.0 -appVersion: "v3.4.0" +appVersion: "v4.0.0" dependencies: - name: langfuse repository: https://langfuse.github.io/langfuse-k8s diff --git a/libs/admin-api-lib/poetry.lock b/libs/admin-api-lib/poetry.lock index 1eea2d8b..03aa232f 100644 --- a/libs/admin-api-lib/poetry.lock +++ b/libs/admin-api-lib/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.3.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. [[package]] name = "aiohappyeyeballs" @@ -3441,32 +3441,30 @@ files = [ [[package]] name = "rag-core-lib" -version = "3.4.0" +version = "4.0.0" description = "The rag-core-lib contains the shared components of at least two of the rag libs." optional = false -python-versions = "^3.13" +python-versions = "<4.0,>=3.13" groups = ["main"] -files = [] -develop = false +files = [ + {file = "rag_core_lib-4.0.0-py3-none-any.whl", hash = "sha256:f263db91ccfcb193bb55b9e11518cca87499192125f65472a583d6b2ee88ccd2"}, + {file = "rag_core_lib-4.0.0.tar.gz", hash = "sha256:93ed2de42d23af639d65533219d0e9ab71986b930f75f3f9ea8392302fc5a2af"}, +] [package.dependencies] -deprecated = "^1.2.18" -flashrank = "^0.2.10" -langchain = "^1.0.8" -langchain-community = "^0.4.1" -langchain-core = "^1.0.7" -langchain-openai = "^1.0.3" -langfuse = "^3.10.1" +deprecated = ">=1.2.18,<2.0.0" +flashrank = ">=0.2.10,<0.3.0" +langchain = ">=1.0.8,<2.0.0" +langchain-community = ">=0.4.1,<0.5.0" +langchain-core = ">=1.0.7,<2.0.0" +langchain-openai = ">=1.0.3,<2.0.0" +langfuse = ">=3.10.1,<4.0.0" langgraph-checkpoint = ">=3.0.0,<4.0.0" -oauthlib = "^3.2.2" -openai = "^1.77.0" -pydantic = "^2.11.4" -pydantic-settings = "^2.2.1" -requests-oauthlib = "^2.0.0" - -[package.source] -type = "directory" -url = "../rag-core-lib" +oauthlib = ">=3.2.2,<4.0.0" +openai = ">=1.77.0,<2.0.0" +pydantic = ">=2.11.4,<3.0.0" +pydantic-settings = ">=2.2.1,<3.0.0" +requests-oauthlib = ">=2.0.0,<3.0.0" [[package]] name = "redis" @@ -3677,10 +3675,10 @@ files = [ ] [package.dependencies] -botocore = ">=1.37.4,<2.0a0" +botocore = ">=1.37.4,<2.0a.0" [package.extras] -crt = ["botocore[crt] (>=1.37.4,<2.0a0)"] +crt = ["botocore[crt] (>=1.37.4,<2.0a.0)"] [[package]] name = "setuptools" @@ -4611,4 +4609,4 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "2.1" python-versions = "^3.13" -content-hash = "2f6f12d3ba9593ded444681a89cec520c5cfe82237cd59074725ff057681c0fe" +content-hash = "4a55af36fdd42086788bf22f0126cca68e79e83a72dd3a99ee923f64b03a2f97" diff --git a/libs/admin-api-lib/pyproject.toml b/libs/admin-api-lib/pyproject.toml index 91610757..46ac7690 100644 --- a/libs/admin-api-lib/pyproject.toml +++ b/libs/admin-api-lib/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "admin-api-lib" -version = "4.0.0.post20260122141916" +version = "4.0.0" description = "The admin backend is responsible for the document management. This includes deletion, upload and returning the source document." authors = [ "STACKIT GmbH & Co. KG ", @@ -113,7 +113,7 @@ flake8-docstrings = "^1.7.0" debugpy = "^1.8.14" [tool.poetry.dependencies] -rag-core-lib = {path = "../rag-core-lib"} +rag-core-lib = "==4.0.0" python = "^3.13" uvicorn = "^0.37.0" fastapi = "^0.121.2" diff --git a/libs/extractor-api-lib/poetry.lock b/libs/extractor-api-lib/poetry.lock index 7663cb07..c3363fff 100644 --- a/libs/extractor-api-lib/poetry.lock +++ b/libs/extractor-api-lib/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.3.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. [[package]] name = "accelerate" @@ -2565,7 +2565,7 @@ files = [ [package.dependencies] attrs = ">=22.2.0" -jsonschema-specifications = ">=2023.3.6" +jsonschema-specifications = ">=2023.03.6" referencing = ">=0.28.4" rpds-py = ">=0.25.0" @@ -5882,10 +5882,10 @@ files = [ ] [package.dependencies] -botocore = ">=1.37.4,<2.0a0" +botocore = ">=1.37.4,<2.0a.0" [package.extras] -crt = ["botocore[crt] (>=1.37.4,<2.0a0)"] +crt = ["botocore[crt] (>=1.37.4,<2.0a.0)"] [[package]] name = "safetensors" @@ -7709,7 +7709,7 @@ files = [ ] [package.extras] -cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and python_version < \"3.14\"", "cffi (>=2.0.0b0) ; platform_python_implementation != \"PyPy\" and python_version >= \"3.14\""] +cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and python_version < \"3.14\"", "cffi (>=2.0.0b) ; platform_python_implementation != \"PyPy\" and python_version >= \"3.14\""] [metadata] lock-version = "2.1" diff --git a/libs/extractor-api-lib/pyproject.toml b/libs/extractor-api-lib/pyproject.toml index c0d8c7f1..d97b33a9 100644 --- a/libs/extractor-api-lib/pyproject.toml +++ b/libs/extractor-api-lib/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "extractor-api-lib" -version = "4.0.0.post20260122141916" +version = "4.0.0" description = "Extracts the content of documents, websites, etc and maps it to a common format." authors = [ "STACKIT GmbH & Co. KG ", diff --git a/libs/rag-core-api/poetry.lock b/libs/rag-core-api/poetry.lock index a7a8e0d9..65f39607 100644 --- a/libs/rag-core-api/poetry.lock +++ b/libs/rag-core-api/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.3.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. [[package]] name = "aiohappyeyeballs" @@ -2493,7 +2493,7 @@ colorama = {version = ">=0.3.4", markers = "sys_platform == \"win32\""} win32-setctime = {version = ">=1.0.0", markers = "sys_platform == \"win32\""} [package.extras] -dev = ["Sphinx (==8.1.3) ; python_version >= \"3.11\"", "build (==1.2.2) ; python_version >= \"3.11\"", "colorama (==0.4.5) ; python_version < \"3.8\"", "colorama (==0.4.6) ; python_version >= \"3.8\"", "exceptiongroup (==1.1.3) ; python_version >= \"3.7\" and python_version < \"3.11\"", "freezegun (==1.1.0) ; python_version < \"3.8\"", "freezegun (==1.5.0) ; python_version >= \"3.8\"", "mypy (==0.910) ; python_version < \"3.6\"", "mypy (==0.971) ; python_version == \"3.6\"", "mypy (==1.13.0) ; python_version >= \"3.8\"", "mypy (==1.4.1) ; python_version == \"3.7\"", "myst-parser (==4.0.0) ; python_version >= \"3.11\"", "pre-commit (==4.0.1) ; python_version >= \"3.9\"", "pytest (==6.1.2) ; python_version < \"3.8\"", "pytest (==8.3.2) ; python_version >= \"3.8\"", "pytest-cov (==2.12.1) ; python_version < \"3.8\"", "pytest-cov (==5.0.0) ; python_version == \"3.8\"", "pytest-cov (==6.0.0) ; python_version >= \"3.9\"", "pytest-mypy-plugins (==1.9.3) ; python_version >= \"3.6\" and python_version < \"3.8\"", "pytest-mypy-plugins (==3.1.0) ; python_version >= \"3.8\"", "sphinx-rtd-theme (==3.0.2) ; python_version >= \"3.11\"", "tox (==3.27.1) ; python_version < \"3.8\"", "tox (==4.23.2) ; python_version >= \"3.8\"", "twine (==6.0.1) ; python_version >= \"3.11\""] +dev = ["Sphinx (==8.1.3) ; python_version >= \"3.11\"", "build (==1.2.2) ; python_version >= \"3.11\"", "colorama (==0.4.5) ; python_version < \"3.8\"", "colorama (==0.4.6) ; python_version >= \"3.8\"", "exceptiongroup (==1.1.3) ; python_version >= \"3.7\" and python_version < \"3.11\"", "freezegun (==1.1.0) ; python_version < \"3.8\"", "freezegun (==1.5.0) ; python_version >= \"3.8\"", "mypy (==v0.910) ; python_version < \"3.6\"", "mypy (==v0.971) ; python_version == \"3.6\"", "mypy (==v1.13.0) ; python_version >= \"3.8\"", "mypy (==v1.4.1) ; python_version == \"3.7\"", "myst-parser (==4.0.0) ; python_version >= \"3.11\"", "pre-commit (==4.0.1) ; python_version >= \"3.9\"", "pytest (==6.1.2) ; python_version < \"3.8\"", "pytest (==8.3.2) ; python_version >= \"3.8\"", "pytest-cov (==2.12.1) ; python_version < \"3.8\"", "pytest-cov (==5.0.0) ; python_version == \"3.8\"", "pytest-cov (==6.0.0) ; python_version >= \"3.9\"", "pytest-mypy-plugins (==1.9.3) ; python_version >= \"3.6\" and python_version < \"3.8\"", "pytest-mypy-plugins (==3.1.0) ; python_version >= \"3.8\"", "sphinx-rtd-theme (==3.0.2) ; python_version >= \"3.11\"", "tox (==3.27.1) ; python_version < \"3.8\"", "tox (==4.23.2) ; python_version >= \"3.8\"", "twine (==6.0.1) ; python_version >= \"3.11\""] [[package]] name = "markdown-it-py" @@ -4385,32 +4385,30 @@ fastembed-gpu = ["fastembed-gpu (>=0.7,<0.8)"] [[package]] name = "rag-core-lib" -version = "3.4.0" +version = "4.0.0" description = "The rag-core-lib contains the shared components of at least two of the rag libs." optional = false -python-versions = "^3.13" +python-versions = "<4.0,>=3.13" groups = ["main"] -files = [] -develop = true +files = [ + {file = "rag_core_lib-4.0.0-py3-none-any.whl", hash = "sha256:f263db91ccfcb193bb55b9e11518cca87499192125f65472a583d6b2ee88ccd2"}, + {file = "rag_core_lib-4.0.0.tar.gz", hash = "sha256:93ed2de42d23af639d65533219d0e9ab71986b930f75f3f9ea8392302fc5a2af"}, +] [package.dependencies] -deprecated = "^1.2.18" -flashrank = "^0.2.10" -langchain = "^1.0.8" -langchain-community = "^0.4.1" -langchain-core = "^1.0.7" -langchain-openai = "^1.0.3" -langfuse = "^3.10.1" +deprecated = ">=1.2.18,<2.0.0" +flashrank = ">=0.2.10,<0.3.0" +langchain = ">=1.0.8,<2.0.0" +langchain-community = ">=0.4.1,<0.5.0" +langchain-core = ">=1.0.7,<2.0.0" +langchain-openai = ">=1.0.3,<2.0.0" +langfuse = ">=3.10.1,<4.0.0" langgraph-checkpoint = ">=3.0.0,<4.0.0" -oauthlib = "^3.2.2" -openai = "^1.77.0" -pydantic = "^2.11.4" -pydantic-settings = "^2.2.1" -requests-oauthlib = "^2.0.0" - -[package.source] -type = "directory" -url = "../rag-core-lib" +oauthlib = ">=3.2.2,<4.0.0" +openai = ">=1.77.0,<2.0.0" +pydantic = ">=2.11.4,<3.0.0" +pydantic-settings = ">=2.2.1,<3.0.0" +requests-oauthlib = ">=2.0.0,<3.0.0" [[package]] name = "ragas" @@ -5612,4 +5610,4 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "2.1" python-versions = "^3.13" -content-hash = "3c6a0eb8c7a01e6d3684ea816e88c1ba22691e39575b70daac2fe80968211522" +content-hash = "b6923f9348d7bbf063da5025c147ec58cb17b7411a285ce654cfbe5a4345030e" diff --git a/libs/rag-core-api/pyproject.toml b/libs/rag-core-api/pyproject.toml index 3af37f0b..313f3a4d 100644 --- a/libs/rag-core-api/pyproject.toml +++ b/libs/rag-core-api/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "rag-core-api" -version = "4.0.0.post20260122141916" +version = "4.0.0" description = "The rag-core-api contains the API layer for the RAG template for document retrieval, question answering, knowledge base management in the vector database and more." packages = [{ include = "rag_core_api", from = "src" }] authors = [ @@ -20,7 +20,7 @@ homepage = "https://pypi.org/project/rag-core-api" [tool.poetry.dependencies] python = "^3.13" -rag-core-lib = { path = "../rag-core-lib", develop = true} +rag-core-lib = "==4.0.0" uvicorn = "^0.37.0" langchain-qdrant = "^1.1.0" dependency-injector = "^4.46.0" diff --git a/libs/rag-core-lib/pyproject.toml b/libs/rag-core-lib/pyproject.toml index 4dc8feca..5d29e206 100644 --- a/libs/rag-core-lib/pyproject.toml +++ b/libs/rag-core-lib/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "rag-core-lib" -version = "4.0.0.post20260122141916" +version = "4.0.0" description = "The rag-core-lib contains the shared components of at least two of the rag libs." authors = [ "STACKIT GmbH & Co. KG ", diff --git a/services/admin-backend/poetry.lock b/services/admin-backend/poetry.lock index a49335d9..462f3a60 100644 --- a/services/admin-backend/poetry.lock +++ b/services/admin-backend/poetry.lock @@ -1,8 +1,8 @@ -# This file is automatically @generated by Poetry 2.3.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. [[package]] name = "admin-api-lib" -version = "3.4.0" +version = "4.0.0" description = "The admin backend is responsible for the document management. This includes deletion, upload and returning the source document." optional = false python-versions = "^3.13" @@ -21,7 +21,7 @@ nltk = "^3.9.2" python-dateutil = "^2.9.0.post0" python-multipart = "^0.0.20" pyyaml = "^6.0.2" -rag-core-lib = {path = "../rag-core-lib"} +rag-core-lib = "==4.0.0" redis = "^6.0.0" starlette = ">=0.49.1" tenacity = "9.1.2" @@ -3429,7 +3429,7 @@ files = [ [[package]] name = "rag-core-lib" -version = "3.4.0" +version = "4.0.0" description = "The rag-core-lib contains the shared components of at least two of the rag libs." optional = false python-versions = "^3.13" @@ -3658,10 +3658,10 @@ files = [ ] [package.dependencies] -botocore = ">=1.37.4,<2.0a0" +botocore = ">=1.37.4,<2.0a.0" [package.extras] -crt = ["botocore[crt] (>=1.37.4,<2.0a0)"] +crt = ["botocore[crt] (>=1.37.4,<2.0a.0)"] [[package]] name = "setuptools" @@ -4591,4 +4591,4 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "2.1" python-versions = "^3.13" -content-hash = "3cf38e0aa5b04a6c3781305f0d41556855a3f1f94456716de897aa5a2f351797" +content-hash = "948df7b0a39eebbc0ed25fbc73c160942121ee90433961eae9624894f5c74729" diff --git a/services/admin-backend/pyproject.toml b/services/admin-backend/pyproject.toml index e14cdf56..b840579a 100644 --- a/services/admin-backend/pyproject.toml +++ b/services/admin-backend/pyproject.toml @@ -108,8 +108,8 @@ python = "^3.13" setuptools = "<80.9" [tool.poetry.group.prod.dependencies] -admin-api-lib = "==3.4.0" -rag-core-lib = "==3.4.0" +admin-api-lib = "==4.0.0" +rag-core-lib = "==4.0.0" [tool.poetry.group.prod-local.dependencies] # Use local path for Tilt/development with production Dockerfile diff --git a/services/document-extractor/poetry.lock b/services/document-extractor/poetry.lock index 805131ae..8848fcd8 100644 --- a/services/document-extractor/poetry.lock +++ b/services/document-extractor/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.3.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. [[package]] name = "accelerate" @@ -906,7 +906,7 @@ files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] -markers = {main = "sys_platform == \"win32\" or platform_system == \"Windows\"", dev = "sys_platform == \"win32\" or platform_system == \"Windows\"", lint = "platform_system == \"Windows\"", prod = "sys_platform == \"win32\" or platform_system == \"Windows\"", prod-local = "sys_platform == \"win32\" or platform_system == \"Windows\"", test = "sys_platform == \"win32\""} +markers = {main = "platform_system == \"Windows\" or sys_platform == \"win32\"", dev = "platform_system == \"Windows\" or sys_platform == \"win32\"", lint = "platform_system == \"Windows\"", prod = "platform_system == \"Windows\" or sys_platform == \"win32\"", prod-local = "platform_system == \"Windows\" or sys_platform == \"win32\"", test = "sys_platform == \"win32\""} [[package]] name = "coloredlogs" @@ -1541,7 +1541,7 @@ files = [ [[package]] name = "extractor-api-lib" -version = "3.4.0" +version = "4.0.0" description = "Extracts the content of documents, websites, etc and maps it to a common format." optional = false python-versions = ">=3.13,<3.14" @@ -1585,8 +1585,15 @@ requests-oauthlib = "^2.0.0" starlette = ">=0.49.1" tabulate = "^0.9.0" tesserocr = "^2.9.1" -torch = "^2.9.0" -torchvision = "^0.24.1" +torch = [ + {version = "2.9.1", markers = "sys_platform == \"darwin\""}, + {version = "2.9.1+cpu", markers = "sys_platform != \"darwin\""}, +] +torchvision = [ + {version = "0.24.1", markers = "sys_platform == \"darwin\""}, + {version = "0.24.1+d801a34", markers = "sys_platform == \"win32\" and (platform_machine == \"arm64\" or platform_machine == \"ARM64\")"}, + {version = "0.24.1+cpu", markers = "sys_platform == \"linux\" or sys_platform == \"win32\" and platform_machine != \"arm64\" and platform_machine != \"ARM64\""}, +] transformers = ">=4.53.3,<5.0.0" unstructured = {version = "0.18.15", extras = ["docx", "pptx"]} uvicorn = "^0.37.0" @@ -2331,7 +2338,7 @@ description = "Fast transfer of large files with the Hugging Face Hub." optional = false python-versions = ">=3.8" groups = ["main", "dev", "prod", "prod-local"] -markers = "platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"arm64\" or platform_machine == \"aarch64\"" +markers = "sys_platform == \"darwin\" and (platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"arm64\" or platform_machine == \"aarch64\") or platform_machine == \"arm64\" or platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"aarch64\"" files = [ {file = "hf_xet-1.2.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:ceeefcd1b7aed4956ae8499e2199607765fbd1c60510752003b6cc0b8413b649"}, {file = "hf_xet-1.2.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:b70218dd548e9840224df5638fdc94bd033552963cfa97f9170829381179c813"}, @@ -2644,7 +2651,7 @@ files = [ [package.dependencies] attrs = ">=22.2.0" -jsonschema-specifications = ">=2023.3.6" +jsonschema-specifications = ">=2023.03.6" referencing = ">=0.28.4" rpds-py = ">=0.7.1" @@ -2990,8 +2997,8 @@ files = [ click = ">=8.1.7" numpy = {version = ">=2.1.0", markers = "python_version >= \"3.13\""} onnxruntime = [ - {version = ">=1.17.0,<=1.20.1", markers = "sys_platform == \"win32\" and python_version > \"3.9\""}, {version = ">=1.17.0", markers = "python_version > \"3.9\" and sys_platform != \"win32\""}, + {version = ">=1.17.0,<=1.20.1", markers = "sys_platform == \"win32\" and python_version > \"3.9\""}, ] python-dotenv = ">=1.0.1" @@ -5887,10 +5894,10 @@ files = [ ] [package.dependencies] -botocore = ">=1.37.4,<2.0a0" +botocore = ">=1.37.4,<2.0a.0" [package.extras] -crt = ["botocore[crt] (>=1.37.4,<2.0a0)"] +crt = ["botocore[crt] (>=1.37.4,<2.0a.0)"] [[package]] name = "safetensors" @@ -6555,6 +6562,7 @@ description = "image and video datasets and models for torch deep learning" optional = false python-versions = ">=3.10" groups = ["main", "dev", "prod", "prod-local"] +markers = "sys_platform != \"win32\" or platform_machine != \"arm64\" and platform_machine != \"ARM64\"" files = [ {file = "torchvision-0.24.1+cpu-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:c98e219150beaab521c684cfd5c9ba1b6e80794ca851e60e784bd7f368889961"}, {file = "torchvision-0.24.1+cpu-cp310-cp310-win_amd64.whl", hash = "sha256:f95c3bd0f65b01224f46142536cc02607ce32ef5e905d0c9eb210fa8cc23f522"}, @@ -6586,6 +6594,34 @@ type = "legacy" url = "https://download.pytorch.org/whl/cpu" reference = "pytorch_cpu" +[[package]] +name = "torchvision" +version = "0.24.1+d801a34" +description = "image and video datasets and models for torch deep learning" +optional = false +python-versions = ">=3.10" +groups = ["main", "dev", "prod", "prod-local"] +markers = "sys_platform == \"win32\" and (platform_machine == \"arm64\" or platform_machine == \"ARM64\")" +files = [ + {file = "torchvision-0.24.1+d801a34-cp311-cp311-win_arm64.whl", hash = "sha256:6af503ffb082820f4a0d619e33091d95137a21bc9cf76bc1350cc814bade591f"}, + {file = "torchvision-0.24.1+d801a34-cp312-cp312-win_arm64.whl", hash = "sha256:f5568bb4dc4069a1e1b1b56bf797db35a37a582e08d227c59f765193f336735c"}, + {file = "torchvision-0.24.1+d801a34-cp313-cp313-win_arm64.whl", hash = "sha256:a94e23ae2d5f27000152d199d32871a4b4d800c71832d7980a60c3f499f87a9c"}, +] + +[package.dependencies] +numpy = "*" +pillow = ">=5.3.0,<8.3.dev0 || >=8.4.dev0" +torch = "2.9.1" + +[package.extras] +gdown = ["gdown (>=4.7.3)"] +scipy = ["scipy"] + +[package.source] +type = "legacy" +url = "https://download.pytorch.org/whl/cpu" +reference = "pytorch_cpu" + [[package]] name = "tqdm" version = "4.67.1" @@ -7658,9 +7694,9 @@ files = [ ] [package.extras] -cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and python_version < \"3.14\"", "cffi (>=2.0.0b0) ; platform_python_implementation != \"PyPy\" and python_version >= \"3.14\""] +cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and python_version < \"3.14\"", "cffi (>=2.0.0b) ; platform_python_implementation != \"PyPy\" and python_version >= \"3.14\""] [metadata] lock-version = "2.1" python-versions = ">=3.13,<3.14" -content-hash = "7cdb64d90c9f774e013250ad53114c3bbc46c2ee6c99ad05e7586ed9a891aa76" +content-hash = "15b7c977fd8d7cbb851e9b7ad9c6e304a1cdc4d142bfdf3744b542ea7a0d1565" diff --git a/services/document-extractor/pyproject.toml b/services/document-extractor/pyproject.toml index 2fda8a24..a5a3cdda 100644 --- a/services/document-extractor/pyproject.toml +++ b/services/document-extractor/pyproject.toml @@ -116,9 +116,11 @@ name = "pytorch_cpu" url = "https://download.pytorch.org/whl/cpu" priority = "explicit" + [tool.poetry.group.prod.dependencies] # Try PyPI first, then TestPyPI automatically due to supplemental priority -extractor-api-lib = "==3.4.0" +extractor-api-lib = "==4.0.0" + [tool.poetry.group.prod-local.dependencies] # Use local path for Tilt/development with production Dockerfile diff --git a/services/mcp-server/poetry.lock b/services/mcp-server/poetry.lock index 96795851..d1028663 100644 --- a/services/mcp-server/poetry.lock +++ b/services/mcp-server/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.3.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. [[package]] name = "annotated-types" @@ -1679,7 +1679,7 @@ files = [ [package.dependencies] attrs = ">=22.2.0" -jsonschema-specifications = ">=2023.3.6" +jsonschema-specifications = ">=2023.03.6" referencing = ">=0.28.4" rpds-py = ">=0.7.1" @@ -3616,7 +3616,7 @@ files = [ ] [package.extras] -cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and python_version < \"3.14\"", "cffi (>=2.0.0b0) ; platform_python_implementation != \"PyPy\" and python_version >= \"3.14\""] +cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and python_version < \"3.14\"", "cffi (>=2.0.0b) ; platform_python_implementation != \"PyPy\" and python_version >= \"3.14\""] [metadata] lock-version = "2.1" diff --git a/services/rag-backend/poetry.lock b/services/rag-backend/poetry.lock index f0f7f1be..7bc9a9c8 100644 --- a/services/rag-backend/poetry.lock +++ b/services/rag-backend/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.3.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. [[package]] name = "aiohappyeyeballs" @@ -2435,7 +2435,7 @@ colorama = {version = ">=0.3.4", markers = "sys_platform == \"win32\""} win32-setctime = {version = ">=1.0.0", markers = "sys_platform == \"win32\""} [package.extras] -dev = ["Sphinx (==8.1.3) ; python_version >= \"3.11\"", "build (==1.2.2) ; python_version >= \"3.11\"", "colorama (==0.4.5) ; python_version < \"3.8\"", "colorama (==0.4.6) ; python_version >= \"3.8\"", "exceptiongroup (==1.1.3) ; python_version >= \"3.7\" and python_version < \"3.11\"", "freezegun (==1.1.0) ; python_version < \"3.8\"", "freezegun (==1.5.0) ; python_version >= \"3.8\"", "mypy (==0.910) ; python_version < \"3.6\"", "mypy (==0.971) ; python_version == \"3.6\"", "mypy (==1.13.0) ; python_version >= \"3.8\"", "mypy (==1.4.1) ; python_version == \"3.7\"", "myst-parser (==4.0.0) ; python_version >= \"3.11\"", "pre-commit (==4.0.1) ; python_version >= \"3.9\"", "pytest (==6.1.2) ; python_version < \"3.8\"", "pytest (==8.3.2) ; python_version >= \"3.8\"", "pytest-cov (==2.12.1) ; python_version < \"3.8\"", "pytest-cov (==5.0.0) ; python_version == \"3.8\"", "pytest-cov (==6.0.0) ; python_version >= \"3.9\"", "pytest-mypy-plugins (==1.9.3) ; python_version >= \"3.6\" and python_version < \"3.8\"", "pytest-mypy-plugins (==3.1.0) ; python_version >= \"3.8\"", "sphinx-rtd-theme (==3.0.2) ; python_version >= \"3.11\"", "tox (==3.27.1) ; python_version < \"3.8\"", "tox (==4.23.2) ; python_version >= \"3.8\"", "twine (==6.0.1) ; python_version >= \"3.11\""] +dev = ["Sphinx (==8.1.3) ; python_version >= \"3.11\"", "build (==1.2.2) ; python_version >= \"3.11\"", "colorama (==0.4.5) ; python_version < \"3.8\"", "colorama (==0.4.6) ; python_version >= \"3.8\"", "exceptiongroup (==1.1.3) ; python_version >= \"3.7\" and python_version < \"3.11\"", "freezegun (==1.1.0) ; python_version < \"3.8\"", "freezegun (==1.5.0) ; python_version >= \"3.8\"", "mypy (==v0.910) ; python_version < \"3.6\"", "mypy (==v0.971) ; python_version == \"3.6\"", "mypy (==v1.13.0) ; python_version >= \"3.8\"", "mypy (==v1.4.1) ; python_version == \"3.7\"", "myst-parser (==4.0.0) ; python_version >= \"3.11\"", "pre-commit (==4.0.1) ; python_version >= \"3.9\"", "pytest (==6.1.2) ; python_version < \"3.8\"", "pytest (==8.3.2) ; python_version >= \"3.8\"", "pytest-cov (==2.12.1) ; python_version < \"3.8\"", "pytest-cov (==5.0.0) ; python_version == \"3.8\"", "pytest-cov (==6.0.0) ; python_version >= \"3.9\"", "pytest-mypy-plugins (==1.9.3) ; python_version >= \"3.6\" and python_version < \"3.8\"", "pytest-mypy-plugins (==3.1.0) ; python_version >= \"3.8\"", "sphinx-rtd-theme (==3.0.2) ; python_version >= \"3.11\"", "tox (==3.27.1) ; python_version < \"3.8\"", "tox (==4.23.2) ; python_version >= \"3.8\"", "twine (==6.0.1) ; python_version >= \"3.11\""] [[package]] name = "markdown-it-py" @@ -4426,7 +4426,7 @@ fastembed-gpu = ["fastembed-gpu (>=0.7,<0.8)"] [[package]] name = "rag-core-api" -version = "3.4.0" +version = "4.0.0" description = "The rag-core-api contains the API layer for the RAG template for document retrieval, question answering, knowledge base management in the vector database and more." optional = false python-versions = "^3.13" @@ -4453,7 +4453,7 @@ openai = "^1.77.0" pillow = "^11.2.1" pyyaml = "^6.0.2" qdrant-client = "^1.14.2" -rag-core-lib = {path = "../rag-core-lib", develop = true} +rag-core-lib = "==4.0.0" ragas = "^0.3.0" requests-oauthlib = "^2.0.0" starlette = ">=0.49.1" @@ -4465,7 +4465,7 @@ url = "../../libs/rag-core-api" [[package]] name = "rag-core-lib" -version = "3.4.0" +version = "4.0.0" description = "The rag-core-lib contains the shared components of at least two of the rag libs." optional = false python-versions = "^3.13" @@ -5775,9 +5775,9 @@ files = [ ] [package.extras] -cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and python_version < \"3.14\"", "cffi (>=2.0.0b0) ; platform_python_implementation != \"PyPy\" and python_version >= \"3.14\""] +cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and python_version < \"3.14\"", "cffi (>=2.0.0b) ; platform_python_implementation != \"PyPy\" and python_version >= \"3.14\""] [metadata] lock-version = "2.1" python-versions = "^3.13" -content-hash = "80ef6049efd8deefdba1e4c9322790e20ca635bf362335d1434984bfd6823443" +content-hash = "3423d3b0a821348cfda0965bfe3a774e31543f32586146a30a660977354db6ce" diff --git a/services/rag-backend/pyproject.toml b/services/rag-backend/pyproject.toml index dbf51ac1..1bed41d1 100644 --- a/services/rag-backend/pyproject.toml +++ b/services/rag-backend/pyproject.toml @@ -113,9 +113,11 @@ url = "https://test.pypi.org/simple/" priority = "supplemental" + [tool.poetry.group.prod.dependencies] -rag-core-api = "==3.4.0" -rag-core-lib = "==3.4.0" +rag-core-api = "==4.0.0" +rag-core-lib = "==4.0.0" + [tool.poetry.group.prod-local.dependencies] # Use local path for Tilt/development with production Dockerfile