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
Restructured guides (#5555)
writinwatersb67697b6f207
diff --git a/docs/guides/develop/_category_.json b/docs/develop/_category_.jsonsimilarity index 68%rename from docs/guides/develop/_category_.jsonrename to docs/develop/_category_.jsonindex 116ee50dae..b043d94247 100644--- a/docs/guides/develop/_category_.json+++ b/docs/develop/_category_.json@@ -1,6 +1,6 @@{- "label": "Develop",- "position": 10,+ "label": "Developer guides",+ "position": 4,"link": {"type": "generated-index","description": "Guides for Hardcore Developers"diff --git a/docs/guides/develop/acquire_ragflow_api_key.md b/docs/develop/acquire_ragflow_api_key.mdsimilarity index 100%rename from docs/guides/develop/acquire_ragflow_api_key.mdrename to docs/develop/acquire_ragflow_api_key.mddiff --git a/docs/guides/develop/build_docker_image.mdx b/docs/develop/build_docker_image.mdxsimilarity index 100%rename from docs/guides/develop/build_docker_image.mdxrename to docs/develop/build_docker_image.mdxdiff --git a/docs/guides/develop/launch_ragflow_from_source.md b/docs/develop/launch_ragflow_from_source.mdsimilarity index 100%rename from docs/guides/develop/launch_ragflow_from_source.mdrename to docs/develop/launch_ragflow_from_source.mddiff --git a/docs/references/faq.md b/docs/faq.mdsimilarity index 98%rename from docs/references/faq.mdrename to docs/faq.mdindex 2544d50112..6e5eb09f29 100644--- a/docs/references/faq.md+++ b/docs/faq.md@@ -3,7 +3,7 @@ sidebar_position: 10slug: /faq----# Frequently asked questions+# FAQQueries regarding general features, troubleshooting, usage, and more.@@ -65,7 +65,7 @@ RAGFlow has a number of built-in models for document structure parsing, which ac### Which architectures or devices does RAGFlow support?-We officially support x86 CPU and nvidia GPU. While we also test RAGFlow on ARM64 platforms, we do not maintain RAGFlow Docker images for ARM. If you are on an ARM platform, follow [this guide](https://ragflow.io/docs/dev/build_docker_image) to build a RAGFlow Docker image.+We officially support x86 CPU and nvidia GPU. While we also test RAGFlow on ARM64 platforms, we do not maintain RAGFlow Docker images for ARM. If you are on an ARM platform, follow [this guide](./develop/build_docker_image) to build a RAGFlow Docker image.---@@ -130,7 +130,7 @@ Yes, we support enhancing user queries based on existing context of an ongoing c#### How to build the RAGFlow image from scratch?-See [Build a RAGFlow Docker image](https://ragflow.io/docs/dev/build_docker_image).+See [Build a RAGFlow Docker image](./develop/build_docker_image).---@@ -453,7 +453,7 @@ This error occurs because there are too many chunks matching your search criteri### How to get an API key for integration with third-party applications?-See [Acquire a RAGFlow API key](../guides/develop/acquire_ragflow_api_key.md).+See [Acquire a RAGFlow API key](./develop/acquire_ragflow_api_key.md).---diff --git a/docs/guides/chat/_category_.json b/docs/guides/chat/_category_.jsonnew file mode 100644index 0000000000..4b33e0c7b3--- /dev/null+++ b/docs/guides/chat/_category_.json@@ -0,0 +1,8 @@+{+ "label": "Chat",+ "position": 1,+ "link": {+ "type": "generated-index",+ "description": "Chat-specific guides."+ }+}diff --git a/docs/guides/accelerate_question_answering.mdx b/docs/guides/chat/accelerate_question_answering.mdxsimilarity index 76%rename from docs/guides/accelerate_question_answering.mdxrename to docs/guides/chat/accelerate_question_answering.mdxindex 5daf604bb1..738b81d4db 100644--- a/docs/guides/accelerate_question_answering.mdx+++ b/docs/guides/chat/accelerate_question_answering.mdx@@ -1,25 +1,16 @@---sidebar_position: 2-slug: /accelerate_doc_indexing_and_question_answering+slug: /accelerate_question_answering----# Accelerate document indexing and question answering+# Accelerate question answeringimport APITable from '@site/src/components/APITable';A checklist to speed up document parsing and question answering.----Please note that some of your settings may consume a significant amount of time. If you often find that document parsing and question answering are time-consuming, here is a checklist to consider:--## 1. Accelerate document indexing--- Use GPU to reduce embedding time.-- On the configuration page of your knowledge base, switch off **Use RAPTOR to enhance retrieval**.-- Extracting knowledge graph (GraphRAG) is time-consuming.-- Disable **Auto-keyword** and **Auto-question** on the configuration page of yor knowledge base, as both depend on the LLM.--## 2. Accelerate question answering+Please note that some of your settings may consume a significant amount of time. If you often find that your question answering is time-consuming, here is a checklist to consider:- In the **Prompt Engine** tab of your **Chat Configuration** dialogue, disabling **Multi-turn optimization** will reduce the time required to get an answer from the LLM.- In the **Prompt Engine** tab of your **Chat Configuration** dialogue, leaving the **Rerank model** field empty will significantly decrease retrieval time.diff --git a/docs/guides/start_chat.md b/docs/guides/chat/start_chat.mdsimilarity index 100%rename from docs/guides/start_chat.mdrename to docs/guides/chat/start_chat.mddiff --git a/docs/guides/dataset/accelerate_doc_indexing.mdx b/docs/guides/dataset/accelerate_doc_indexing.mdxnew file mode 100644index 0000000000..ed4fb893bd--- /dev/null+++ b/docs/guides/dataset/accelerate_doc_indexing.mdx@@ -0,0 +1,18 @@+---+sidebar_position: 9+slug: /accelerate_doc_indexing+---++# Accelerate document indexing+import APITable from '@site/src/components/APITable';++A checklist to speed up document parsing.++---++Please note that some of your settings may consume a significant amount of time. If you often find that document parsing is time-consuming, here is a checklist to consider:++- Use GPU to reduce embedding time.+- On the configuration page of your knowledge base, switch off **Use RAPTOR to enhance retrieval**.+- Extracting knowledge graph (GraphRAG) is time-consuming.+- Disable **Auto-keyword** and **Auto-question** on the configuration page of yor knowledge base, as both depend on the LLM.\ No newline at end of filediff --git a/docs/guides/manage_team_members.md b/docs/guides/manage_team_members.mdindex 4201696e6e..2f99e1a400 100644--- a/docs/guides/manage_team_members.md+++ b/docs/guides/manage_team_members.md@@ -3,7 +3,7 @@ sidebar_position: 4slug: /manage_team_members----# Manage team members+# TeamInvite or remove team members, join or leave a team.diff --git a/docs/guides/models/deploy_local_llm.mdx b/docs/guides/models/deploy_local_llm.mdxindex 75b3e320af..d0e980f747 100644--- a/docs/guides/models/deploy_local_llm.mdx+++ b/docs/guides/models/deploy_local_llm.mdx@@ -25,7 +25,7 @@ This user guide does not intend to cover much of the installation or configurati:::note- For information about downloading Ollama, see [here](https://github.com/ollama/ollama?tab=readme-ov-file#ollama).-- For information about configuring Ollama server, see [here](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-configure-ollama-server).+- For information about configuring Ollama server, see [here](../../faq.md#how-do-i-configure-ollama-server).- For a complete list of supported models and variants, see the [Ollama model library](https://ollama.com/library).:::diff --git a/docs/guides/upgrade_ragflow.mdx b/docs/guides/upgrade_ragflow.mdxindex fa63788f2f..2d0ddb9487 100644--- a/docs/guides/upgrade_ragflow.mdx+++ b/docs/guides/upgrade_ragflow.mdx@@ -3,7 +3,7 @@ sidebar_position: 11slug: /upgrade_ragflow----# Upgrade RAGFlow+# Upgradeimport Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';diff --git a/docs/quickstart.mdx b/docs/quickstart.mdxindex 5693c10dd9..ff4c779351 100644--- a/docs/quickstart.mdx+++ b/docs/quickstart.mdx@@ -20,7 +20,7 @@ This quick start guide describes a general process from::::danger IMPORTANTWe officially support x86 CPU and Nvidia GPU, and this document offers instructions on deploying RAGFlow using Docker on x86 platforms. While we also test RAGFlow on ARM64 platforms, we do not maintain RAGFlow Docker images for ARM.-If you are on an ARM platform, follow [this guide](https://ragflow.io/docs/dev/build_docker_image) to build a RAGFlow Docker image.+If you are on an ARM platform, follow [this guide](./develop/build_docker_image) to build a RAGFlow Docker image.:::## Prerequisites@@ -356,7 +356,7 @@ Conversations in RAGFlow are based on a particular knowledge base or multiple kn:::tip NOTERAGFlow also offers HTTP and Python APIs for you to integrate RAGFlow's capabilities into your applications. Read the following documents for more information:-- [Acquire a RAGFlow API key](./guides/develop/acquire_ragflow_api_key.md)+- [Acquire a RAGFlow API key](./develop/acquire_ragflow_api_key.md)- [HTTP API reference](./references/http_api_reference.md)- [Python API reference](./references/python_api_reference.md):::diff --git a/docs/release_notes.md b/docs/release_notes.mdindex 94dc2b93d2..4453aac02a 100644--- a/docs/release_notes.md+++ b/docs/release_notes.md@@ -205,9 +205,9 @@ pip install ragflow-sdk==0.13.0#### Added documents-- [Acquire a RAGFlow API key](https://ragflow.io/docs/dev/acquire_ragflow_api_key)-- [HTTP API Reference](https://ragflow.io/docs/dev/http_api_reference)-- [Python API Reference](https://ragflow.io/docs/dev/python_api_reference)+- [Acquire a RAGFlow API key](./develop/acquire_ragflow_api_key.md)+- [HTTP API Reference](./references/http_api_reference.md)+- [Python API Reference](./references/python_api_reference.md)## v0.12.0@@ -315,7 +315,7 @@ Released on May 31, 2024.:::danger IMPORTANTWhile we also test RAGFlow on ARM64 platforms, we do not maintain RAGFlow Docker images for ARM.-If you are on an ARM platform, follow [this guide](https://ragflow.io/docs/dev/build_docker_image) to build a RAGFlow Docker image.+If you are on an ARM platform, follow [this guide](./develop/build_docker_image) to build a RAGFlow Docker image.:::### Related APIs