From ba425bdee5a132028509403296bc65fe2e43c672 Mon Sep 17 00:00:00 2001 From: Tinghecui <54262737+Tinghecui@users.noreply.github.com> Date: Mon, 17 Mar 2025 18:10:23 +0800 Subject: [PATCH 1/3] Create requirement.txt --- requirement.txt | 421 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 421 insertions(+) create mode 100644 requirement.txt diff --git a/requirement.txt b/requirement.txt new file mode 100644 index 00000000000..571417c4354 --- /dev/null +++ b/requirement.txt @@ -0,0 +1,421 @@ +aiocache==0.12.3 +aiofiles==24.1.0 +aiohappyeyeballs==2.4.6 +aiohttp==3.11.13 +aiosignal==1.3.2 +aiosqlite==0.20.0 +alabaster==1.0.0 +alembic==1.14.0 +annotated-types==0.7.0 +anthropic==0.45.2 +anyio==4.8.0 +anytree==2.12.1 +appdirs==1.4.4 +APScheduler==3.10.4 +argon2-cffi==23.1.0 +argon2-cffi-bindings==21.2.0 +arrow==1.3.0 +arxiv==2.1.3 +asgiref==3.8.1 +async-timeout==5.0.1 +attrs==25.1.0 +Authlib==1.4.1 +autograd==1.7.0 +av==12.3.0 +azure-core==1.32.0 +azure-identity==1.17.1 +azure-storage-blob==12.22.0 +azure-storage-file-datalake==12.16.0 +babel==2.17.0 +backoff==2.2.1 +bce-python-sdk==0.9.29 +bcrypt==4.2.0 +beartype==0.18.5 +beautifulsoup4==4.12.3 +bibtexparser==1.4.3 +bidict==0.23.1 +bio==1.7.1 +biopython==1.85 +biothings_client==0.4.1 +bitarray==3.0.0 +black==24.8.0 +blinker==1.9.0 +boto3==1.35.53 +botocore==1.35.99 +build==1.2.2.post1 +cachelib==0.13.0 +cachetools==5.5.1 +certifi==2025.1.31 +cffi==1.17.1 +chardet==5.2.0 +charset-normalizer==3.4.1 +chroma-hnswlib==0.7.6 +chromadb==0.6.2 +click==8.1.8 +cn2an==0.5.22 +colbert-ai==0.2.21 +colorama==0.4.6 +colorclass==2.2.2 +coloredlogs==15.0.1 +compressed_rtf==1.0.6 +contourpy==1.3.1 +Crawl4AI==0.3.8 +cryptography==44.0.0 +cssselect==1.3.0 +ctranslate2==4.5.0 +cycler==0.12.1 +dashscope==1.20.11 +dataclasses-json==0.6.7 +datasets==3.2.0 +datrie==0.8.2 +deepl==1.18.0 +defusedxml==0.7.1 +demjson3==3.0.6 +Deprecated==1.2.18 +dill==0.3.8 +distro==1.9.0 +dnspython==2.7.0 +docker==7.1.0 +docutils==0.21.2 +docx2txt==0.8 +duckduckgo_search==7.3.2 +durationpy==0.9 +easygui==0.98.3 +ebcdic==1.1.1 +ecdsa==0.19.0 +editdistance==0.8.1 +einops==0.8.0 +elastic-transport==8.17.1 +elasticsearch==8.12.1 +elasticsearch-dsl==8.12.0 +emoji==2.14.1 +et_xmlfile==2.0.0 +eval_type_backport==0.2.2 +Events==0.5 +exceptiongroup==1.2.2 +extract-msg==0.53.1 +fake-useragent==1.5.1 +fastapi==0.115.7 +faster-whisper==1.0.3 +feedparser==6.0.11 +filelock==3.17.0 +filetype==1.2.0 +flasgger==0.9.7.1 +Flask==3.1.0 +Flask-Cors==5.0.0 +Flask-Login==0.6.3 +Flask-Session==0.8.0 +flatbuffers==25.1.24 +fonttools==4.56.0 +fpdf2==2.8.2 +free_proxy==1.1.3 +frozenlist==1.5.0 +fs==2.4.16 +fsspec==2024.9.0 +ftfy==6.2.3 +future==1.0.0 +gcp-storage-emulator==2024.8.3 +gensim==4.3.3 +git-python==1.0.3 +gitdb==4.0.12 +GitPython==3.1.44 +google-ai-generativelanguage==0.6.15 +google-api-core==2.24.1 +google-api-python-client==2.160.0 +google-auth==2.38.0 +google-auth-httplib2==0.2.0 +google-auth-oauthlib==1.2.1 +google-cloud-core==2.4.1 +google-cloud-storage==2.19.0 +google-crc32c==1.6.0 +google-generativeai==0.8.4 +google-resumable-media==2.7.2 +google_search_results==2.4.2 +googleapis-common-protos==1.63.2 +gprofiler-official==1.0.0 +graspologic==3.4.1 +graspologic-native==1.2.3 +greenlet==3.0.3 +grpcio==1.67.1 +grpcio-status==1.62.3 +grpcio-tools==1.62.3 +h11==0.14.0 +h2==4.2.0 +hanziconv==0.3.2 +hf_transfer==0.1.9 +hpack==4.1.0 +html2text==2024.2.26 +html5lib==1.1 +html_text==0.6.2 +httpcore==1.0.7 +httplib2==0.22.0 +httptools==0.6.4 +httpx==0.27.2 +httpx-sse==0.4.0 +huggingface-hub==0.28.1 +humanfriendly==10.0 +hyperframe==6.1.0 +hyppo==0.4.0 +idna==3.10 +imagesize==1.4.1 +importlib_metadata==8.4.0 +importlib_resources==6.5.2 +infinity-sdk==0.6.0.dev3 +infinity_emb==0.0.66 +iniconfig==2.0.0 +isodate==0.7.2 +itsdangerous==2.2.0 +Jinja2==3.1.5 +jiter==0.8.2 +jmespath==1.0.1 +joblib==1.4.2 +json_repair==0.35.0 +jsonpatch==1.33 +jsonpath-python==1.0.6 +jsonpointer==3.0.0 +jsonschema==4.23.0 +jsonschema-specifications==2024.10.1 +kiwisolver==1.4.8 +kubernetes==32.0.0 +langchain==0.3.7 +langchain-community==0.3.7 +langchain-core==0.3.34 +langchain-text-splitters==0.3.6 +langdetect==1.0.9 +langfuse==2.44.0 +langsmith==0.1.147 +lark==1.1.9 +ldap3==2.9.1 +litellm==1.48.0 +llvmlite==0.44.0 +lxml==5.3.0 +lxml_html_clean==0.4.1 +Mako==1.3.9 +Markdown==3.7 +markdown-it-py==3.0.0 +markdown_to_json==2.1.1 +MarkupSafe==3.0.2 +marshmallow==3.26.1 +matplotlib==3.10.1 +mdurl==0.1.2 +minio==7.2.4 +mistune==3.1.2 +mmh3==5.1.0 +monotonic==1.6 +moto==5.0.28 +mpmath==1.3.0 +msal==1.32.0 +msal-extensions==1.3.0 +msgspec==0.19.0 +msoffcrypto-tool==5.4.2 +multidict==6.1.0 +multiprocess==0.70.16 +multitasking==0.0.11 +mygene==3.2.2 +mypy-extensions==1.0.0 +nest-asyncio==1.6.0 +networkx==3.4.2 +ninja==1.11.1.3 +nltk==3.9.1 +numba==0.61.0 +numpy==1.26.4 +oauthlib==3.2.2 +olefile==0.47 +oletools==0.60.2 +ollama==0.2.1 +onnxruntime==1.20.1 +openai==1.61.1 +opencv-python==4.11.0.86 +opencv-python-headless==4.11.0.86 +openpyxl==3.1.5 +opensearch-py==2.7.1 +opentelemetry-api==1.27.0 +opentelemetry-exporter-otlp-proto-common==1.27.0 +opentelemetry-exporter-otlp-proto-grpc==1.27.0 +opentelemetry-instrumentation==0.48b0 +opentelemetry-instrumentation-asgi==0.48b0 +opentelemetry-instrumentation-fastapi==0.48b0 +opentelemetry-proto==1.27.0 +opentelemetry-sdk==1.27.0 +opentelemetry-semantic-conventions==0.48b0 +opentelemetry-util-http==0.48b0 +orjson==3.10.15 +ormsgpack==1.5.0 +outcome==1.3.0.post0 +overrides==7.7.0 +packaging==23.2 +pandas==2.2.3 +passlib==1.7.4 +pathspec==0.12.1 +patsy==1.0.1 +pcodedmp==1.2.6 +pdfminer.six==20221105 +pdfplumber==0.10.4 +peewee==3.17.8 +peewee-migrate==1.12.2 +pgvector==0.3.5 +pillow==10.4.0 +platformdirs==4.3.6 +playwright==1.47.0 +playwright-stealth==1.0.6 +pluggy==1.5.0 +polars-lts-cpu==1.9.0 +pooch==1.8.2 +portalocker==2.10.1 +posthog==3.11.0 +POT==0.9.5 +primp==0.12.0 +proces==0.1.7 +propcache==0.2.1 +proto-plus==1.26.0 +protobuf==4.25.6 +psutil==6.1.1 +psycopg2-binary==2.9.9 +py-partiql-parser==0.6.1 +pyarrow==17.0.0 +pyasn1==0.6.1 +pyasn1_modules==0.4.1 +pyclipper==1.3.0.post6 +pycparser==2.22 +pycryptodome==3.9.9 +pycryptodomex==3.20.0 +pydantic==2.9.2 +pydantic-settings==2.7.1 +pydantic_core==2.23.4 +pydash==7.0.7 +pydub==0.25.1 +pyee==12.0.0 +PyExecJS==1.5.1 +Pygments==2.19.1 +PyJWT==2.8.0 +pymdown-extensions==10.14.2 +pymilvus==2.5.0 +pymongo==4.11 +PyMySQL==1.1.1 +pynndescent==0.5.13 +pyodbc==5.2.0 +pypandoc==1.13 +pyparsing==3.2.1 +pypdf==4.3.1 +PyPDF2==3.0.1 +pypdfium2==4.30.1 +PyPika==0.48.9 +pyproject_hooks==1.2.0 +pyreadline3==3.5.4 +PySocks==1.7.1 +pytest==8.3.4 +pytest-docker==3.1.2 +python-dateutil==2.9.0.post0 +python-docx==1.1.2 +python-dotenv==1.0.1 +python-engineio==4.11.2 +python-iso639==2025.2.8 +python-jose==3.3.0 +python-magic==0.4.27 +python-multipart==0.0.18 +python-oxmsg==0.0.2 +python-pptx==1.0.0 +python-socketio==5.11.3 +pytube==15.0.0 +pytz==2025.1 +pywencai==0.12.2 +pywin32==309 +pyxlsb==1.0.10 +PyYAML==6.0.2 +qdrant-client==1.12.2 +rank-bm25==0.2.2 +RapidFuzz==3.12.1 +rapidocr-onnxruntime==1.3.24 +readability-lxml==0.8.1 +readerwriterlock==1.0.9 +red-black-tree-mod==1.22 +redis==5.2.1 +referencing==0.36.2 +regex==2024.11.6 +requests==2.32.2 +requests-oauthlib==2.0.0 +requests-toolbelt==1.0.0 +responses==0.25.6 +rich==13.9.4 +roman-numbers==1.0.2 +roman-numerals-py==3.1.0 +rpds-py==0.23.1 +rsa==4.9 +RTFDE==0.1.2 +ruamel.base==1.0.0 +ruamel.yaml==0.18.10 +ruamel.yaml.clib==0.2.12 +s3transfer==0.10.4 +safetensors==0.5.2 +scholarly==1.7.11 +scikit-learn==1.6.1 +scipy==1.12.0 +seaborn==0.13.2 +selenium==4.29.0 +sentence-transformers==3.3.1 +sentencepiece==0.2.0 +sgmllib3k==1.0.0 +shapely==2.0.7 +shellingham==1.5.4 +simple-websocket==1.1.0 +six==1.17.0 +smart-open==7.1.0 +smmap==5.0.2 +sniffio==1.3.1 +snowballstemmer==2.2.0 +sortedcontainers==2.4.0 +soundfile==0.13.1 +soupsieve==2.6 +Sphinx==8.2.3 +sphinx-rtd-theme==3.0.2 +sphinxcontrib-applehelp==2.0.0 +sphinxcontrib-devhelp==2.0.0 +sphinxcontrib-htmlhelp==2.1.0 +sphinxcontrib-jquery==4.1 +sphinxcontrib-jsmath==1.0.1 +sphinxcontrib-qthelp==2.0.0 +sphinxcontrib-serializinghtml==2.0.0 +SQLAlchemy==2.0.32 +sqlglot==11.7.1 +starlette==0.45.3 +statsmodels==0.14.4 +StrEnum==0.4.15 +sympy==1.13.1 +tavily-python==0.5.1 +tenacity==9.0.0 +threadpoolctl==3.5.0 +thrift==0.20.0 +tika==2.6.0 +tiktoken==0.8.0 +tokenizers==0.21.0 +torch==2.6.0 +tqdm==4.67.1 +transformers==4.48.3 +trio==0.29.0 +trio-websocket==0.12.2 +typer==0.15.1 +types-python-dateutil==2.9.0.20241206 +typing-inspect==0.9.0 +typing_extensions==4.12.2 +tzdata==2025.1 +tzlocal==5.2 +ujson==5.10.0 +umap-learn==0.5.7 +unstructured==0.16.11 +unstructured-client==0.28.1 +uritemplate==4.1.1 +urllib3==2.3.0 +uvicorn==0.30.6 +validators==0.34.0 +valkey==6.0.2 +watchfiles==1.0.4 +wcwidth==0.2.13 +webdriver-manager==4.0.1 +webencodings==0.5.1 +websocket-client==1.8.0 +websockets==14.2 +Werkzeug==3.1.3 +wikipedia==1.4.0 +win_unicode_console==0.5 +word2number==1.1 +wrapt==1.17.2 From 98e07351dd7ecdf072c6f4f40578d538ed61d42a Mon Sep 17 00:00:00 2001 From: jamescui <54262737+Tinghecui@users.noreply.github.com> Date: Fri, 21 Mar 2025 08:21:39 +0000 Subject: [PATCH 2/3] Refactor: update Docker image and comment out RightPanel in login page --- docker/.env | 2 +- web/src/pages/login/index.tsx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docker/.env b/docker/.env index 2b0b5b8be90..a35058c6fdc 100644 --- a/docker/.env +++ b/docker/.env @@ -81,7 +81,7 @@ SVR_HTTP_PORT=9380 # The RAGFlow Docker image to download. # Defaults to the v0.17.2-slim edition, which is the RAGFlow Docker image without embedding models. -RAGFLOW_IMAGE=infiniflow/ragflow:v0.17.2-slim +RAGFLOW_IMAGE=docker.io/jamescui66/ragflow-custom:latest # # To download the RAGFlow Docker image with embedding models, uncomment the following line instead: # RAGFLOW_IMAGE=infiniflow/ragflow:v0.17.2 diff --git a/web/src/pages/login/index.tsx b/web/src/pages/login/index.tsx index 0bc24cf0477..7c2720d1121 100644 --- a/web/src/pages/login/index.tsx +++ b/web/src/pages/login/index.tsx @@ -4,7 +4,6 @@ import { Button, Checkbox, Form, Input } from 'antd'; import { useEffect, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { Icon, useNavigate } from 'umi'; -import RightPanel from './right-panel'; import { Domain } from '@/constants/common'; import styles from './index.less'; @@ -182,9 +181,9 @@ const Login = () => { -