From a6320985dd1b365d4aad07eb9ca53076473d6b94 Mon Sep 17 00:00:00 2001 From: idchlife Date: Wed, 4 Feb 2026 23:34:37 +0300 Subject: [PATCH] resolved conflicts in requirements.txt --- services/rag/langchain/.env.dist | 3 + services/rag/langchain/requirements.txt | 232 ++++++------------------ 2 files changed, 60 insertions(+), 175 deletions(-) diff --git a/services/rag/langchain/.env.dist b/services/rag/langchain/.env.dist index c894d57..d126d9f 100644 --- a/services/rag/langchain/.env.dist +++ b/services/rag/langchain/.env.dist @@ -3,3 +3,6 @@ OLLAMA_CHAT_MODEL=MODEL OPENAI_CHAT_URL=URL OPENAI_CHAT_KEY=KEY CHAT_MODEL_STRATEGY=ollama +QDRANT_HOST=HOST +QDRANT_REST_PORT=PORT +QDRANT_GRPC_PORT=PORT diff --git a/services/rag/langchain/requirements.txt b/services/rag/langchain/requirements.txt index af4efb5..812e316 100644 --- a/services/rag/langchain/requirements.txt +++ b/services/rag/langchain/requirements.txt @@ -1,175 +1,57 @@ -accelerate==1.12.0 -aiofiles==25.1.0 -aiohappyeyeballs==2.6.1 -aiohttp==3.13.2 -aiosignal==1.4.0 -annotated-doc==0.0.4 -annotated-types==0.7.0 -anyio==4.12.0 -attrs==25.4.0 -backoff==2.2.1 -beautifulsoup4==4.14.3 -blis==1.3.3 -bs4==0.0.2 -catalogue==2.0.10 -certifi==2025.11.12 -cffi==2.0.0 -charset-normalizer==3.4.4 -click==8.3.1 -cloudpathlib==0.23.0 -coloredlogs==15.0.1 -confection==0.1.5 -contourpy==1.3.3 -cryptography==46.0.4 -cycler==0.12.1 -cymem==2.0.13 -dataclasses-json==0.6.7 -DAWG2-Python==0.9.0 -distro==1.9.0 -emoji==2.15.0 -et_xmlfile==2.0.0 -fastapi==0.128.1 -filelock==3.20.3 -filetype==1.2.0 -flatbuffers==25.12.19 -fonttools==4.61.1 -frozenlist==1.8.0 -fsspec==2026.1.0 -grpcio==1.76.0 -h11==0.16.0 -h2==4.3.0 -hf-xet==1.2.0 -hpack==4.1.0 -html5lib==1.1 -httpcore==1.0.9 -httpx==0.28.1 -httpx-sse==0.4.3 -huggingface_hub==1.3.7 -humanfriendly==10.0 -hyperframe==6.1.0 -idna==3.11 -Jinja2==3.1.6 -jiter==0.13.0 -joblib==1.5.3 -jsonpatch==1.33 -jsonpointer==3.0.0 -kiwisolver==1.4.9 -langchain==1.2.0 -langchain-classic==1.0.1 -langchain-community==0.4.1 -langchain-core==1.2.8 -langchain-ollama==1.0.1 -langchain-openai==1.1.7 -langchain-qdrant==1.1.0 -langchain-text-splitters==1.1.0 -langdetect==1.0.9 -langgraph==1.0.5 -langgraph-checkpoint==3.0.1 -langgraph-prebuilt==1.0.5 -langgraph-sdk==0.3.1 -langsmith==0.5.2 -llvmlite==0.46.0 -loguru==0.7.3 -lxml==6.0.2 -MarkupSafe==3.0.3 -marshmallow==3.26.2 -matplotlib==3.10.8 -ml_dtypes==0.5.4 -mpmath==1.3.0 -msoffcrypto-tool==6.0.0 -multidict==6.7.0 -murmurhash==1.0.15 -mypy_extensions==1.1.0 -networkx==3.6.1 -nltk==3.9.2 -numba==0.63.1 -numpy==2.4.0 -olefile==0.47 -ollama==0.6.1 -onnx==1.20.1 -onnxruntime==1.23.2 -openai==2.16.0 -opencv-python==4.13.0.90 -openpyxl==3.1.5 -orjson==3.11.5 -ormsgpack==1.12.1 -packaging==25.0 -pandas==3.0.0 -pdf2image==1.17.0 -pdfminer.six==20251230 -pdfplumber==0.11.9 -pi_heif==1.2.0 -pillow==12.1.0 -portalocker==3.2.0 -preshed==3.0.12 -propcache==0.4.1 -protobuf==6.33.5 -psutil==7.2.2 -pycparser==3.0 -pydantic==2.12.5 -pydantic-settings==2.12.0 -pydantic_core==2.41.5 -pymorphy3==2.0.6 -pymorphy3-dicts-ru==2.4.417150.4580142 -pypandoc==1.16.2 -pyparsing==3.3.2 -pypdf==6.6.2 -pypdfium2==5.3.0 -pytesseract==0.3.13 -python-dateutil==2.9.0.post0 -python-docx==1.2.0 -python-dotenv==1.2.1 -python-iso639==2026.1.31 -python-magic==0.4.27 -python-multipart==0.0.22 -python-oxmsg==0.0.2 -python-pptx==1.0.2 -PyYAML==6.0.3 -qdrant-client==1.16.2 -RapidFuzz==3.14.3 -regex==2026.1.15 -requests==2.32.5 -requests-toolbelt==1.0.0 -ru_core_news_sm @ https://github.com/explosion/spacy-models/releases/download/ru_core_news_sm-3.8.0/ru_core_news_sm-3.8.0-py3-none-any.whl#sha256=69978d47b43e2c4f329bebdb155e8e9d3861bba1a58ba25551419dae7d7e07fc -safetensors==0.7.0 -scipy==1.17.0 -shellingham==1.5.4 -six==1.17.0 -smart_open==7.5.0 -sniffio==1.3.1 -soupsieve==2.8.1 -spacy==3.8.11 -spacy-legacy==3.0.12 -spacy-loggers==1.0.5 -SQLAlchemy==2.0.45 -srsly==2.5.2 -starlette==0.50.0 -sympy==1.14.0 -tenacity==9.1.2 -thinc==8.3.10 -tiktoken==0.12.0 -timm==1.0.24 -tokenizers==0.22.2 -torch==2.10.0 -torchvision==0.25.0 -tqdm==4.67.2 -transformers==5.0.0 -typer-slim==0.21.1 -typing-inspect==0.9.0 -typing-inspection==0.4.2 -typing_extensions==4.15.0 -unstructured==0.18.31 -unstructured-client==0.42.8 -unstructured.pytesseract==0.3.15 -unstructured_inference==1.2.0 -urllib3==2.6.2 -uuid_utils==0.12.0 -uvicorn==0.40.0 -wasabi==1.1.3 -weasel==0.4.3 -webencodings==0.5.1 -wrapt==2.1.1 -xlsxwriter==3.2.9 -xxhash==3.6.0 -yarl==1.22.0 -zstandard==0.25.0 +# Core dependencies for the RAG solution +langchain>=0.3.0 +langchain-community>=0.3.0 +langchain-core>=0.3.0 +langchain-ollama>=0.1.0 +langchain-openai>=0.2.0 +langchain-qdrant>=0.1.0 +langchain-text-splitters>=0.3.0 +langgraph>=1.0.0 +langgraph-prebuilt>=1.0.0 +langgraph-sdk>=0.1.0 +langsmith>=0.2.0 +qdrant-client>=1.10.0 + +# Web framework and API +fastapi>=0.100.0 +uvicorn>=0.20.0 + +# CLI and utilities +click>=8.0.0 +loguru>=0.7.0 +python-dotenv>=1.0.0 + +# Core Python libraries +aiohttp>=3.8.0 +httpx>=0.25.0 +pydantic>=2.5.0 +pydantic-settings>=2.0.0 +requests>=2.30.0 +typing-extensions>=4.8.0 + +# Data processing +numpy>=1.26.0 +pandas>=2.0.0 +lxml>=4.9.0 +openpyxl>=3.1.0 +python-docx>=1.0.0 +python-pptx>=0.6.0 +pypdf>=4.0.0 +pdf2image>=1.16.0 + +# Image and OCR processing +pillow>=10.0.0 +pytesseract>=0.3.0 +pi_heif>=0.17.0 + +# Natural language processing +spacy>=3.7.0 + +# Unstructured document processing +unstructured>=0.15.0 +unstructured-client>=0.15.0 +unstructured-inference>=0.7.0 +unstructured-pytesseract>=0.3.12 + +# System and utilities +ollama>=0.3.0 \ No newline at end of file