RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Added PEP 723 metadata to download_deps.py (#4988)
Zhichang Yu6daae7f22635
diff --git a/docs/guides/develop/build_docker_image.mdx b/docs/guides/develop/build_docker_image.mdxindex bea9f46880..baf1d25434 100644--- a/docs/guides/develop/build_docker_image.mdx+++ b/docs/guides/develop/build_docker_image.mdx@@ -57,8 +57,7 @@ While we also test RAGFlow on ARM64 platforms, we do not maintain RAGFlow Docker```bashgit clone https://github.com/infiniflow/ragflow.gitcd ragflow/-pip3 install huggingface_hub nltk-python3 download_deps.py+uv run download_deps.pydocker build -f Dockerfile.deps -t infiniflow/ragflow_deps .docker build -f Dockerfile -t infiniflow/ragflow:nightly .docker build --build-arg LIGHTEN=1 -f Dockerfile -t infiniflow/ragflow:nightly-slim .diff --git a/download_deps.py b/download_deps.pyindex aa09c0ae52..7526af48a7 100644--- a/download_deps.py+++ b/download_deps.py@@ -1,8 +1,13 @@#!/usr/bin/env python3-#-# Install this script's dependencies with pip3:-# pip3 install huggingface-hub nltk+# PEP 723 metadata+# /// script+# requires-python = ">=3.10"+# dependencies = [+# "huggingface-hub",+# "nltk",+# ]+# ///from huggingface_hub import snapshot_downloadimport nltk