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
Docs: Refactored documentation (#13340)
writinwatersf7c808383f86
diff --git a/docs/administrator/_category_.json b/docs/administrator/_category_.jsonnew file mode 100644index 0000000000..2579af6404--- /dev/null+++ b/docs/administrator/_category_.json@@ -0,0 +1,11 @@+{+ "label": "Administrator guides",+ "position": 3,+ "link": {+ "type": "generated-index",+ "description": "Guides for system administrtors"+ },+ "customProps": {+ "sidebarIcon": "LucidComputer"+ }+}diff --git a/docs/guides/admin/_category_.json b/docs/administrator/admin/_category_.jsonsimilarity index 53%rename from docs/guides/admin/_category_.jsonrename to docs/administrator/admin/_category_.jsonindex fa6d832fc8..c05f2e4800 100644--- a/docs/guides/admin/_category_.json+++ b/docs/administrator/admin/_category_.json@@ -1,9 +1,9 @@{- "label": "Administration",- "position": 6,+ "label": "Admin service",+ "position": 3,"link": {"type": "generated-index",- "description": "RAGFlow administration"+ "description": "RAGFlow administration service"},"customProps": {"categoryIcon": "LucideUserCog"diff --git a/docs/guides/admin/admin_service.md b/docs/administrator/admin/admin_service.mdsimilarity index 100%rename from docs/guides/admin/admin_service.mdrename to docs/administrator/admin/admin_service.mddiff --git a/docs/guides/admin/admin_ui.md b/docs/administrator/admin/admin_ui.mdsimilarity index 98%rename from docs/guides/admin/admin_ui.mdrename to docs/administrator/admin/admin_ui.mdindex 9584bb8cfc..ae90bb9738 100644--- a/docs/guides/admin/admin_ui.md+++ b/docs/administrator/admin/admin_ui.md@@ -32,7 +32,6 @@ The service status page displays of all services within the RAGFlow system.- **Extra Info**: Display additional configuration information of a service in a dialog.- **Service Details**: Display detailed status information of a service in a dialog. According to service's type, a service's status information could be displayed as a plain text, a key-value data list, a data table or a bar chart.-### User managementThe user management page provides comprehensive tools for managing all users in the RAGFlow system.diff --git a/docs/guides/admin/ragflow_cli.md b/docs/administrator/admin/ragflow_cli.mdsimilarity index 100%rename from docs/guides/admin/ragflow_cli.mdrename to docs/administrator/admin/ragflow_cli.mddiff --git a/docs/configurations.md b/docs/administrator/configurations.mdsimilarity index 99%rename from docs/configurations.mdrename to docs/administrator/configurations.mdindex ca7e67e29e..7704269626 100644--- a/docs/configurations.md+++ b/docs/administrator/configurations.md@@ -1,5 +1,5 @@----sidebar_position: 1+sidebar_position: 0slug: /configurationssidebar_custom_props: {sidebarIcon: LucideCog@@ -111,7 +111,7 @@ If you cannot download the RAGFlow Docker image, try the following mirrors.- For the `nightly` edition:- `RAGFLOW_IMAGE=swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:nightly` or,- `RAGFLOW_IMAGE=infiniflow-registry.cn-shanghai.cr.aliyuncs.com/infiniflow/ragflow:nightly`.-:::+ :::### Embedding servicediff --git a/docs/develop/migrate_to_single_bucket_mode.md b/docs/administrator/migrate_to_single_bucket_mode.mdsimilarity index 99%rename from docs/develop/migrate_to_single_bucket_mode.mdrename to docs/administrator/migrate_to_single_bucket_mode.mdindex de7c8fe873..bb81ecb49e 100644--- a/docs/develop/migrate_to_single_bucket_mode.md+++ b/docs/administrator/migrate_to_single_bucket_mode.md@@ -1,5 +1,5 @@----sidebar_position: 20+sidebar_position: 15slug: /migrate_to_single_bucket_mode---diff --git a/docs/guides/migration/_category_.json b/docs/administrator/migration/_category_.jsonsimilarity index 51%rename from docs/guides/migration/_category_.jsonrename to docs/administrator/migration/_category_.jsonindex 1099886f2e..081b453109 100644--- a/docs/guides/migration/_category_.json+++ b/docs/administrator/migration/_category_.json@@ -1,9 +1,9 @@{- "label": "Migration",- "position": 5,+ "label": "Data backup and migration",+ "position": 2,"link": {"type": "generated-index",- "description": "RAGFlow migration guide"+ "description": "Data backup and migration guide"},"customProps": {"categoryIcon": "LucideArrowRightLeft"diff --git a/docs/guides/migration/migrate_from_docker_compose.md b/docs/administrator/migration/migrate_from_docker_compose.mdsimilarity index 100%rename from docs/guides/migration/migrate_from_docker_compose.mdrename to docs/administrator/migration/migrate_from_docker_compose.mddiff --git a/docs/guides/tracing.mdx b/docs/administrator/tracing.mdxsimilarity index 99%rename from docs/guides/tracing.mdxrename to docs/administrator/tracing.mdxindex 13cf99874b..c9b4221e14 100644--- a/docs/guides/tracing.mdx+++ b/docs/administrator/tracing.mdx@@ -1,5 +1,5 @@----sidebar_position: 9+sidebar_position: 5slug: /tracingsidebar_custom_props: {categoryIcon: LucideLocateFixeddiff --git a/docs/guides/upgrade_ragflow.mdx b/docs/administrator/upgrade_ragflow.mdxsimilarity index 99%rename from docs/guides/upgrade_ragflow.mdxrename to docs/administrator/upgrade_ragflow.mdxindex ef43384ddc..bb80a920a0 100644--- a/docs/guides/upgrade_ragflow.mdx+++ b/docs/administrator/upgrade_ragflow.mdx@@ -1,5 +1,5 @@----sidebar_position: 11+sidebar_position: 1slug: /upgrade_ragflowsidebar_custom_props: {categoryIcon: LucideArrowBigUpDashdiff --git a/docs/contribution/_category_.json b/docs/contribution/_category_.jsondeleted file mode 100644index a9bd348a8c..0000000000--- a/docs/contribution/_category_.json+++ /dev/null@@ -1,11 +0,0 @@-{- "label": "Contribution",- "position": 8,- "link": {- "type": "generated-index",- "description": "Miscellaneous contribution guides."- },- "customProps": {- "sidebarIcon": "LucideHandshake"- }-}diff --git a/docs/develop/_category_.json b/docs/develop/_category_.jsonindex c80693175f..e2556b4d21 100644--- a/docs/develop/_category_.json+++ b/docs/develop/_category_.json@@ -1,5 +1,5 @@{- "label": "Developers",+ "label": "Developer guides","position": 4,"link": {"type": "generated-index",diff --git a/docs/develop/build_docker_image.mdx b/docs/develop/build_docker_image.mdxindex 6cb2dede43..ad4d264f7d 100644--- a/docs/develop/build_docker_image.mdx+++ b/docs/develop/build_docker_image.mdx@@ -1,5 +1,5 @@----sidebar_position: 1+sidebar_position: 4slug: /build_docker_imagesidebar_custom_props: {categoryIcon: LucidePackagediff --git a/docs/contribution/contributing.md b/docs/develop/contributing.mdsimilarity index 98%rename from docs/contribution/contributing.mdrename to docs/develop/contributing.mdindex 39b5e1a550..e3f910672c 100644--- a/docs/contribution/contributing.md+++ b/docs/develop/contributing.md@@ -1,5 +1,5 @@----sidebar_position: 1+sidebar_position: 20slug: /contributingsidebar_custom_props: {categoryIcon: LucideBookAdiff --git a/docs/develop/launch_ragflow_from_source.md b/docs/develop/launch_ragflow_from_source.mdindex c193e2be37..22f127f34c 100644--- a/docs/develop/launch_ragflow_from_source.md+++ b/docs/develop/launch_ragflow_from_source.md@@ -1,5 +1,5 @@----sidebar_position: 2+sidebar_position: 3slug: /launch_ragflow_from_sourcesidebar_custom_props: {categoryIcon: LucideMonitorPlay@@ -90,7 +90,7 @@ docker compose -f docker/docker-compose-base.yml up -d```3. **Optional:** If you cannot access HuggingFace, set the HF_ENDPOINT environment variable to use a mirror site:-+```bashexport HF_ENDPOINT=https://hf-mirror.com```diff --git a/docs/develop/mcp/_category_.json b/docs/develop/mcp/_category_.jsonindex eb7b1444aa..aa67c45a95 100644--- a/docs/develop/mcp/_category_.json+++ b/docs/develop/mcp/_category_.json@@ -1,6 +1,6 @@{"label": "MCP",- "position": 40,+ "position": 2,"link": {"type": "generated-index","description": "Guides and references on accessing RAGFlow's datasets via MCP."diff --git a/docs/faq.mdx b/docs/faq.mdxindex cc7ab374b5..965aa16dab 100644--- a/docs/faq.mdx+++ b/docs/faq.mdx@@ -1,5 +1,5 @@----sidebar_position: 10+sidebar_position: 20slug: /faqsidebar_custom_props: {sidebarIcon: LucideCircleQuestionMark@@ -445,7 +445,7 @@ See [Acquire a RAGFlow API key](./develop/acquire_ragflow_api_key.md).### How to upgrade RAGFlow?-See [Upgrade RAGFlow](./guides/upgrade_ragflow.mdx) for more information.+See [Upgrade RAGFlow](./administrator/upgrade_ragflow.mdx) for more information.---diff --git a/docs/guides/_category_.json b/docs/guides/_category_.jsonindex 18f4890a98..a5551f8b8b 100644--- a/docs/guides/_category_.json+++ b/docs/guides/_category_.json@@ -1,9 +1,9 @@{- "label": "Guides",+ "label": "User guides","position": 3,"link": {"type": "generated-index",- "description": "Guides for RAGFlow users and developers."+ "description": "Guides for RAGFlow users."},"customProps": {"sidebarIcon": "LucideBookMarked"diff --git a/docs/guides/models/_category_.json b/docs/guides/models/_category_.jsonindex b4a996b4fa..08f6f4ddf3 100644--- a/docs/guides/models/_category_.json+++ b/docs/guides/models/_category_.json@@ -1,6 +1,6 @@{"label": "Models",- "position": -1,+ "position": 8,"link": {"type": "generated-index","description": "Guides on model settings."diff --git a/docs/guides/models/llm_api_key_setup.md b/docs/guides/models/llm_api_key_setup.mdindex d2cf67597c..704d31e395 100644--- a/docs/guides/models/llm_api_key_setup.md+++ b/docs/guides/models/llm_api_key_setup.md@@ -11,7 +11,7 @@ An API key is required for RAGFlow to interact with an online AI model. This gui## Get model API key-RAGFlow supports most mainstream LLMs. Please refer to [Supported Models](../../references/supported_models.mdx) for a complete list of supported models. You will need to apply for your model API key online. Note that most LLM providers grant newly-created accounts trial credit, which will expire in a couple of months, or a promotional amount of free quota.+RAGFlow supports most mainstream LLMs. Please refer to [Supported Models](../../guides/models/supported_models.mdx) for a complete list of supported models. You will need to apply for your model API key online. Note that most LLM providers grant newly-created accounts trial credit, which will expire in a couple of months, or a promotional amount of free quota.:::noteIf you find your online LLM is not on the list, don't feel disheartened. The list is expanding, and you can [file a feature request](https://github.com/infiniflow/ragflow/issues/new?assignees=&labels=feature+request&projects=&template=feature_request.yml&title=%5BFeature+Request%5D%3A+) with us! Alternatively, if you have customized or locally-deployed models, you can [bind them to RAGFlow using Ollama, Xinference, or LocalAI](./deploy_local_llm.mdx).diff --git a/docs/references/supported_models.mdx b/docs/guides/models/supported_models.mdxsimilarity index 100%rename from docs/references/supported_models.mdxrename to docs/guides/models/supported_models.mdxdiff --git a/docs/quickstart.mdx b/docs/quickstart.mdxindex e1de5fe184..21e3fd4b90 100644--- a/docs/quickstart.mdx+++ b/docs/quickstart.mdx@@ -1,11 +1,11 @@----sidebar_position: 0+sidebar_position: 2slug: /sidebar_custom_props: {sidebarIcon: LucideRocket}----# Get started+# Quickstartimport Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';import APITable from '@site/src/components/APITable';@@ -249,7 +249,7 @@ This section provides instructions on setting up the RAGFlow server on Linux. If## Configure LLMs-RAGFlow is a RAG engine and needs to work with an LLM to offer grounded, hallucination-free question-answering capabilities. RAGFlow supports most mainstream LLMs. For a complete list of supported models, please refer to [Supported Models](./references/supported_models.mdx).+RAGFlow is a RAG engine and needs to work with an LLM to offer grounded, hallucination-free question-answering capabilities. RAGFlow supports most mainstream LLMs. For a complete list of supported models, please refer to [Supported Models](./guides/models/supported_models.mdx).:::noteRAGFlow also supports deploying LLMs locally using Ollama, Xinference, or LocalAI, but this part is not covered in this quick start guide.diff --git a/docs/release_notes.md b/docs/release_notes.mdindex 6e6319dd25..fb889add24 100644--- a/docs/release_notes.md+++ b/docs/release_notes.md@@ -1,5 +1,5 @@----sidebar_position: 2+sidebar_position: 1slug: /release_notessidebar_custom_props: {sidebarIcon: LucideClipboardPenLine@@ -734,7 +734,7 @@ From this release onwards, **service_config.yaml.template** replaces **service_cThis approach eliminates the need to manually update **service_config.yaml** after making changes to **.env**, facilitating dynamic environment configurations.:::danger IMPORTANT-Ensure that you [upgrade **both** your code **and** Docker image to this release](https://ragflow.io/docs/dev/upgrade_ragflow#upgrade-ragflow-to-the-most-recent-officially-published-release) before trying this new approach.+Ensure that you [upgrade **both** your code **and** Docker image to this release](./administrator/upgrade_ragflow.mdx#upgrade-ragflow-to-the-most-recent-officially-published-release) before trying this new approach.:::### API changes@@ -812,13 +812,13 @@ The default Docker image edition is `nightly-slim`. The following list clarifies- `nightly`: The full edition of the most recent tested Docker image.- `v0.12.0`: The full edition of the most recent **officially released** Docker image.-See [Upgrade RAGFlow](https://ragflow.io/docs/dev/upgrade_ragflow) for instructions on upgrading.+See [Upgrade RAGFlow](./administrator/upgrade_ragflow.mdx) for instructions on upgrading.### Documentation#### Added documents-- [Upgrade RAGFlow](https://ragflow.io/docs/dev/upgrade_ragflow)+- [Upgrade RAGFlow](./administrator/upgrade_ragflow.mdx)## v0.11.0