Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

release_notes.md 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498
  1. ---
  2. sidebar_position: 2
  3. slug: /release_notes
  4. ---
  5. # Releases
  6. Key features, improvements and bug fixes in the latest releases.
  7. :::info
  8. Each RAGFlow release is available in two editions:
  9. - **Slim edition**: excludes built-in embedding models and is identified by a **-slim** suffix added to the version name. Example: `infiniflow/ragflow:v0.18.0-slim`
  10. - **Full edition**: includes built-in embedding models and has no suffix added to the version name. Example: `infiniflow/ragflow:v0.18.0`
  11. :::
  12. ## v0.18.0
  13. Released on April 23, 2025.
  14. ### Compatibility changes
  15. From this release onwards, built-in rerank models have been removed because they have minimal impact on retrieval rates but significantly increase retrieval time.
  16. ### New features
  17. - MCP server: enables access to RAGFlow's knowledge bases via MCP.
  18. - DeepDoc supports adopting VLM model as a processing pipeline during document layout recognition, enabling in-depth analysis of images in PDF and DOCX files.
  19. - OpenAI-compatible APIs: Agents can be called via OpenAI-compatible APIs.
  20. - User registration control: administrators can enable or disable user registration through an environment variable.
  21. - Team collaboration: Agents can be shared with team members.
  22. - Agent version control: all updates are continuously logged and can be rolled back to a previous version via export.
  23. ![export_agent](https://raw.githubusercontent.com/infiniflow/ragflow-docs/main/images/export_agent_as_json.jpg)
  24. ### Improvements
  25. - Enhanced answer referencing: Citation accuracy in generated responses is improved.
  26. - Enhanced question-answering experience: users can now manually stop streaming output during a conversation.
  27. ### Documentation
  28. #### Added documents
  29. - [Set page rank](./guides/dataset/set_page_rank.md)
  30. - [Enable RAPTOR](./guides/dataset/enable_raptor.md)
  31. - [Set variables for your chat assistant](./guides/chat/set_chat_variables.md)
  32. - [Launch RAGFlow MCP server](./develop/mcp/launch_mcp_server.md)
  33. ## v0.17.2
  34. Released on March 13, 2025.
  35. ### Compatibility changes
  36. - Removes the **Max_tokens** setting from **Chat configuration**.
  37. - Removes the **Max_tokens** setting from **Generate**, **Rewrite**, **Categorize**, **Keyword** agent components.
  38. From this release onwards, if you still see RAGFlow's responses being cut short or truncated, check the **Max_tokens** setting of your model provider.
  39. ### Improvements
  40. - Adds OpenAI-compatible APIs.
  41. - Introduces a German user interface.
  42. - Accelerates knowledge graph extraction.
  43. - Enables Tavily-based web search in the **Retrieval** agent component.
  44. - Adds Tongyi-Qianwen QwQ models (OpenAI-compatible).
  45. - Supports CSV files in the **General** chunking method.
  46. ### Fixed issues
  47. - Unable to add models via Ollama/Xinference, an issue introduced in v0.17.1.
  48. ### Related APIs
  49. #### HTTP APIs
  50. - [Create chat completion](./references/http_api_reference.md#openai-compatible-api)
  51. #### Python APIs
  52. - [Create chat completion](./references/python_api_reference.md#openai-compatible-api)
  53. ## v0.17.1
  54. Released on March 11, 2025.
  55. ### Improvements
  56. - Improves English tokenization quality.
  57. - Improves the table extraction logic in Markdown document parsing.
  58. - Updates SiliconFlow's model list.
  59. - Supports parsing XLS files (Excel 97-2003) with improved corresponding error handling.
  60. - Supports Huggingface rerank models.
  61. - Enables relative time expressions ("now", "yesterday", "last week", "next year", and more) in chat assistant and the **Rewrite** agent component.
  62. ### Fixed issues
  63. - A repetitive knowledge graph extraction issue.
  64. - Issues with API calling.
  65. - Options in the **PDF parser**, aka **Document parser**, dropdown are missing.
  66. - A Tavily web search issue.
  67. - Unable to preview diagrams or images in an AI chat.
  68. ### Documentation
  69. #### Added documents
  70. - [Use tag set](./guides/dataset/use_tag_sets.md)
  71. ## v0.17.0
  72. Released on March 3, 2025.
  73. ### New features
  74. - AI chat: Implements Deep Research for agentic reasoning. To activate this, enable the **Reasoning** toggle under the **Prompt engine** tab of your chat assistant dialogue.
  75. - AI chat: Leverages Tavily-based web search to enhance contexts in agentic reasoning. To activate this, enter the correct Tavily API key under the **Assistant settings** tab of your chat assistant dialogue.
  76. - AI chat: Supports starting a chat without specifying knowledge bases.
  77. - AI chat: HTML files can also be previewed and referenced, in addition to PDF files.
  78. - Dataset: Adds a **PDF parser**, aka **Document parser**, dropdown menu to dataset configurations. This includes a DeepDoc model option, which is time-consuming, a much faster **naive** option (plain text), which skips DLA (Document Layout Analysis), OCR (Optical Character Recognition), and TSR (Table Structure Recognition) tasks, and several currently *experimental* large model options.
  79. - Agent component: **(x)** or a forward slash `/` can be used to insert available keys (variables) in the system prompt field of the **Generate** or **Template** component.
  80. - Object storage: Supports using Aliyun OSS (Object Storage Service) as a file storage option.
  81. - Models: Updates the supported model list for Tongyi-Qianwen (Qwen), adding DeepSeek-specific models; adds ModelScope as a model provider.
  82. - APIs: Document metadata can be updated through an API.
  83. The following diagram illustrates the workflow of RAGFlow's Deep Research:
  84. ![Image](https://github.com/user-attachments/assets/f65d4759-4f09-4d9d-9549-c0e1fe907525)
  85. The following is a screenshot of a conversation that integrates Deep Research:
  86. ![Image](https://github.com/user-attachments/assets/165b88ff-1f5d-4fb8-90e2-c836b25e32e9)
  87. ### Related APIs
  88. #### HTTP APIs
  89. Adds a body parameter `"meta_fields"` to the [Update document](./references/http_api_reference.md#update-document) method.
  90. #### Python APIs
  91. Adds a key option `"meta_fields"` to the [Update document](./references/python_api_reference.md#update-document) method.
  92. ### Documentation
  93. #### Added documents
  94. - [Run retrieval test](./guides/dataset/run_retrieval_test.md)
  95. ## v0.16.0
  96. Released on February 6, 2025.
  97. ### New features
  98. - Supports DeepSeek R1 and DeepSeek V3.
  99. - GraphRAG refactor: Knowledge graph is dynamically built on an entire knowledge base (dataset) rather than on an individual file, and automatically updated when a newly uploaded file starts parsing. See [here](https://ragflow.io/docs/dev/construct_knowledge_graph).
  100. - Adds an **Iteration** agent component and a **Research report generator** agent template. See [here](./guides/agent/agent_component_reference/iteration.mdx).
  101. - New UI language: Portuguese.
  102. - Allows setting metadata for a specific file in a knowledge base to enhance AI-powered chats. See [here](./guides/dataset/set_metadata.md).
  103. - Upgrades RAGFlow's document engine [Infinity](https://github.com/infiniflow/infinity) to v0.6.0.dev3.
  104. - Supports GPU acceleration for DeepDoc (see [docker-compose-gpu.yml](https://github.com/infiniflow/ragflow/blob/main/docker/docker-compose-gpu.yml)).
  105. - Supports creating and referencing a **Tag** knowledge base as a key milestone towards bridging the semantic gap between query and response.
  106. :::danger IMPORTANT
  107. The **Tag knowledge base** feature is *unavailable* on the [Infinity](https://github.com/infiniflow/infinity) document engine.
  108. :::
  109. ### Documentation
  110. #### Added documents
  111. - [Construct knowledge graph](./guides/dataset/construct_knowledge_graph.md)
  112. - [Set metadata](./guides/dataset/set_metadata.md)
  113. - [Begin component](./guides/agent/agent_component_reference/begin.mdx)
  114. - [Generate component](./guides/agent/agent_component_reference/generate.mdx)
  115. - [Interact component](./guides/agent/agent_component_reference/interact.mdx)
  116. - [Retrieval component](./guides/agent/agent_component_reference/retrieval.mdx)
  117. - [Categorize component](./guides/agent/agent_component_reference/categorize.mdx)
  118. - [Keyword component](./guides/agent/agent_component_reference/keyword.mdx)
  119. - [Message component](./guides/agent/agent_component_reference/message.mdx)
  120. - [Rewrite component](./guides/agent/agent_component_reference/rewrite.mdx)
  121. - [Switch component](./guides/agent/agent_component_reference/switch.mdx)
  122. - [Concentrator component](./guides/agent/agent_component_reference/concentrator.mdx)
  123. - [Template component](./guides/agent/agent_component_reference/template.mdx)
  124. - [Iteration component](./guides/agent/agent_component_reference/iteration.mdx)
  125. - [Note component](./guides/agent/agent_component_reference/note.mdx)
  126. ## v0.15.1
  127. Released on December 25, 2024.
  128. ### Upgrades
  129. - Upgrades RAGFlow's document engine [Infinity](https://github.com/infiniflow/infinity) to v0.5.2.
  130. - Enhances the log display of document parsing status.
  131. ### Fixed issues
  132. This release fixes the following issues:
  133. - The `SCORE not found` and `position_int` errors returned by [Infinity](https://github.com/infiniflow/infinity).
  134. - Once an embedding model in a specific knowledge base is changed, embedding models in other knowledge bases can no longer be changed.
  135. - Slow response in question-answering and AI search due to repetitive loading of the embedding model.
  136. - Fails to parse documents with RAPTOR.
  137. - Using the **Table** parsing method results in information loss.
  138. - Miscellaneous API issues.
  139. ### Related APIs
  140. #### HTTP APIs
  141. Adds an optional parameter `"user_id"` to the following APIs:
  142. - [Create session with chat assistant](https://ragflow.io/docs/dev/http_api_reference#create-session-with-chat-assistant)
  143. - [Update chat assistant's session](https://ragflow.io/docs/dev/http_api_reference#update-chat-assistants-session)
  144. - [List chat assistant's sessions](https://ragflow.io/docs/dev/http_api_reference#list-chat-assistants-sessions)
  145. - [Create session with agent](https://ragflow.io/docs/dev/http_api_reference#create-session-with-agent)
  146. - [Converse with chat assistant](https://ragflow.io/docs/dev/http_api_reference#converse-with-chat-assistant)
  147. - [Converse with agent](https://ragflow.io/docs/dev/http_api_reference#converse-with-agent)
  148. - [List agent sessions](https://ragflow.io/docs/dev/http_api_reference#list-agent-sessions)
  149. ## v0.15.0
  150. Released on December 18, 2024.
  151. ### New features
  152. - Introduces additional Agent-specific APIs.
  153. - Supports using page rank score to improve retrieval performance when searching across multiple knowledge bases.
  154. - Offers an iframe in Chat and Agent to facilitate the integration of RAGFlow into your webpage.
  155. - Adds a Helm chart for deploying RAGFlow on Kubernetes.
  156. - Supports importing or exporting an agent in JSON format.
  157. - Supports step run for Agent components/tools.
  158. - Adds a new UI language: Japanese.
  159. - Supports resuming GraphRAG and RAPTOR from a failure, enhancing task management resilience.
  160. - Adds more Mistral models.
  161. - Adds a dark mode to the UI, allowing users to toggle between light and dark themes.
  162. ### Improvements
  163. - Upgrades the Document Layout Analysis model in DeepDoc.
  164. - Significantly enhances the retrieval performance when using [Infinity](https://github.com/infiniflow/infinity) as document engine.
  165. ### Related APIs
  166. #### HTTP APIs
  167. - [List agent sessions](https://ragflow.io/docs/dev/http_api_reference#list-agent-sessions)
  168. - [List agents](https://ragflow.io/docs/dev/http_api_reference#list-agents)
  169. #### Python APIs
  170. - [List agent sessions](https://ragflow.io/docs/dev/python_api_reference#list-agent-sessions)
  171. - [List agents](https://ragflow.io/docs/dev/python_api_reference#list-agents)
  172. ## v0.14.1
  173. Released on November 29, 2024.
  174. ### Improvements
  175. Adds [Infinity's configuration file](https://github.com/infiniflow/ragflow/blob/main/docker/infinity_conf.toml) to facilitate integration and customization of [Infinity](https://github.com/infiniflow/infinity) as a document engine. From this release onwards, updates to Infinity's configuration can be made directly within RAGFlow and will take effect immediately after restarting RAGFlow using `docker compose`. [#3715](https://github.com/infiniflow/ragflow/pull/3715)
  176. ### Fixed issues
  177. This release fixes the following issues:
  178. - Unable to display or edit content of a chunk after clicking it.
  179. - A `'Not found'` error in Elasticsearch.
  180. - Chinese text becoming garbled during parsing.
  181. - A compatibility issue with Polars.
  182. - A compatibility issue between Infinity and GraphRAG.
  183. ## v0.14.0
  184. Released on November 26, 2024.
  185. ### New features
  186. - Supports [Infinity](https://github.com/infiniflow/infinity) or Elasticsearch (default) as document engine for vector storage and full-text indexing. [#2894](https://github.com/infiniflow/ragflow/pull/2894)
  187. - Enhances user experience by adding more variables to the Agent and implementing auto-saving.
  188. - Adds a three-step translation agent template, inspired by [Andrew Ng's translation agent](https://github.com/andrewyng/translation-agent).
  189. - Adds an SEO-optimized blog writing agent template.
  190. - Provides HTTP and Python APIs for conversing with an agent.
  191. - Supports the use of English synonyms during retrieval processes.
  192. - Optimizes term weight calculations, reducing the retrieval time by 50%.
  193. - Improves task executor monitoring with additional performance indicators.
  194. - Replaces Redis with Valkey.
  195. - Adds three new UI languages (*contributed by the community*): Indonesian, Spanish, and Vietnamese.
  196. ### Compatibility changes
  197. From this release onwards, **service_config.yaml.template** replaces **service_config.yaml** for configuring backend services. Upon Docker container startup, the environment variables defined in this template file are automatically populated and a **service_config.yaml** is auto-generated from it. [#3341](https://github.com/infiniflow/ragflow/pull/3341)
  198. This approach eliminates the need to manually update **service_config.yaml** after making changes to **.env**, facilitating dynamic environment configurations.
  199. :::danger IMPORTANT
  200. 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.
  201. :::
  202. ### Related APIs
  203. #### HTTP APIs
  204. - [Create session with agent](https://ragflow.io/docs/dev/http_api_reference#create-session-with-agent)
  205. - [Converse with agent](https://ragflow.io/docs/dev/http_api_reference#converse-with-agent)
  206. #### Python APIs
  207. - [Create session with agent](https://ragflow.io/docs/dev/python_api_reference#create-session-with-agent)
  208. - [Converse with agent](https://ragflow.io/docs/dev/python_api_reference#create-session-with-agent)
  209. ### Documentation
  210. #### Added documents
  211. - [Configurations](https://ragflow.io/docs/dev/configurations)
  212. - [Manage team members](./guides/team/manage_team_members.md)
  213. - [Run health check on RAGFlow's dependencies](https://ragflow.io/docs/dev/run_health_check)
  214. ## v0.13.0
  215. Released on October 31, 2024.
  216. ### New features
  217. - Adds the team management functionality for all users.
  218. - Updates the Agent UI to improve usability.
  219. - Adds support for Markdown chunking in the **General** chunking method.
  220. - Introduces an **invoke** tool within the Agent UI.
  221. - Integrates support for Dify's knowledge base API.
  222. - Adds support for GLM4-9B and Yi-Lightning models.
  223. - Introduces HTTP and Python APIs for dataset management, file management within dataset, and chat assistant management.
  224. :::tip NOTE
  225. To download RAGFlow's Python SDK:
  226. ```bash
  227. pip install ragflow-sdk==0.13.0
  228. ```
  229. :::
  230. ### Documentation
  231. #### Added documents
  232. - [Acquire a RAGFlow API key](./develop/acquire_ragflow_api_key.md)
  233. - [HTTP API Reference](./references/http_api_reference.md)
  234. - [Python API Reference](./references/python_api_reference.md)
  235. ## v0.12.0
  236. Released on September 30, 2024.
  237. ### New features
  238. - Offers slim editions of RAGFlow's Docker images, which do not include built-in BGE/BCE embedding or reranking models.
  239. - Improves the results of multi-round dialogues.
  240. - Enables users to remove added LLM vendors.
  241. - Adds support for **OpenTTS** and **SparkTTS** models.
  242. - Implements an **Excel to HTML** toggle in the **General** chunking method, allowing users to parse a spreadsheet into either HTML tables or key-value pairs by row.
  243. - Adds agent tools **YahooFinance** and **Jin10**.
  244. - Adds an investment advisor agent template.
  245. ### Compatibility changes
  246. From this release onwards, RAGFlow offers slim editions of its Docker images to improve the experience for users with limited Internet access. A slim edition of RAGFlow's Docker image does not include built-in BGE/BCE embedding models and has a size of about 1GB; a full edition of RAGFlow is approximately 9GB and includes both built-in embedding models and embedding models that will be downloaded once you select them in the RAGFlow UI.
  247. The default Docker image edition is `nightly-slim`. The following list clarifies the differences between various editions:
  248. - `nightly-slim`: The slim edition of the most recent tested Docker image.
  249. - `v0.12.0-slim`: The slim edition of the most recent **officially released** Docker image.
  250. - `nightly`: The full edition of the most recent tested Docker image.
  251. - `v0.12.0`: The full edition of the most recent **officially released** Docker image.
  252. See [Upgrade RAGFlow](https://ragflow.io/docs/dev/upgrade_ragflow) for instructions on upgrading.
  253. ### Documentation
  254. #### Added documents
  255. - [Upgrade RAGFlow](https://ragflow.io/docs/dev/upgrade_ragflow)
  256. ## v0.11.0
  257. Released on September 14, 2024.
  258. ### New features
  259. - Introduces an AI search interface within the RAGFlow UI.
  260. - Supports audio output via **FishAudio** or **Tongyi Qwen TTS**.
  261. - Allows the use of Postgres for metadata storage, in addition to MySQL.
  262. - Supports object storage options with S3 or Azure Blob.
  263. - Supports model vendors: **Anthropic**, **Voyage AI**, and **Google Cloud**.
  264. - Supports the use of **Tencent Cloud ASR** for audio content recognition.
  265. - Adds finance-specific agent components: **WenCai**, **AkShare**, **YahooFinance**, and **TuShare**.
  266. - Adds a medical consultant agent template.
  267. - Supports running retrieval benchmarking on the following datasets:
  268. - [ms_marco_v1.1](https://huggingface.co/datasets/microsoft/ms_marco)
  269. - [trivia_qa](https://huggingface.co/datasets/mandarjoshi/trivia_qa)
  270. - [miracl](https://huggingface.co/datasets/miracl/miracl)
  271. ## v0.10.0
  272. Released on August 26, 2024.
  273. ### New features
  274. - Introduces a text-to-SQL template in the Agent UI.
  275. - Implements Agent APIs.
  276. - Incorporates monitoring for the task executor.
  277. - Introduces Agent tools **GitHub**, **DeepL**, **BaiduFanyi**, **QWeather**, and **GoogleScholar**.
  278. - Supports chunking of EML files.
  279. - Supports more LLMs or model services: **GPT-4o-mini**, **PerfXCloud**, **TogetherAI**, **Upstage**, **Novita AI**, **01.AI**, **SiliconFlow**, **PPIO**, **XunFei Spark**, **Baidu Yiyan**, and **Tencent Hunyuan**.
  280. ## v0.9.0
  281. Released on August 6, 2024.
  282. ### New features
  283. - Supports GraphRAG as a chunking method.
  284. - Introduces Agent component **Keyword** and search tools, including **Baidu**, **DuckDuckGo**, **PubMed**, **Wikipedia**, **Bing**, and **Google**.
  285. - Supports speech-to-text recognition for audio files.
  286. - Supports model vendors **Gemini** and **Groq**.
  287. - Supports inference frameworks, engines, and services including **LM studio**, **OpenRouter**, **LocalAI**, and **Nvidia API**.
  288. - Supports using reranker models in Xinference.
  289. ## v0.8.0
  290. Released on July 8, 2024.
  291. ### New features
  292. - Supports Agentic RAG, enabling graph-based workflow construction for RAG and agents.
  293. - Supports model vendors **Mistral**, **MiniMax**, **Bedrock**, and **Azure OpenAI**.
  294. - Supports DOCX files in the MANUAL chunking method.
  295. - Supports DOCX, MD, and PDF files in the Q&A chunking method.
  296. ## v0.7.0
  297. Released on May 31, 2024.
  298. ### New features
  299. - Supports the use of reranker models.
  300. - Integrates reranker and embedding models: [BCE](https://github.com/netease-youdao/BCEmbedding), [BGE](https://github.com/FlagOpen/FlagEmbedding), and [Jina](https://jina.ai/embeddings/).
  301. - Supports LLMs Baichuan and VolcanoArk.
  302. - Implements [RAPTOR](https://arxiv.org/html/2401.18059v1) for improved text retrieval.
  303. - Supports HTML files in the GENERAL chunking method.
  304. - Provides HTTP and Python APIs for deleting documents by ID.
  305. - Supports ARM64 platforms.
  306. :::danger IMPORTANT
  307. While we also test RAGFlow on ARM64 platforms, we do not maintain RAGFlow Docker images for ARM.
  308. If you are on an ARM platform, follow [this guide](./develop/build_docker_image.mdx) to build a RAGFlow Docker image.
  309. :::
  310. ### Related APIs
  311. #### HTTP API
  312. - [Delete documents](https://ragflow.io/docs/dev/http_api_reference#delete-documents)
  313. #### Python API
  314. - [Delete documents](https://ragflow.io/docs/dev/python_api_reference#delete-documents)
  315. ## v0.6.0
  316. Released on May 21, 2024.
  317. ### New features
  318. - Supports streaming output.
  319. - Provides HTTP and Python APIs for retrieving document chunks.
  320. - Supports monitoring of system components, including Elasticsearch, MySQL, Redis, and MinIO.
  321. - Supports disabling **Layout Recognition** in the GENERAL chunking method to reduce file chunking time.
  322. ### Related APIs
  323. #### HTTP API
  324. - [Retrieve chunks](https://ragflow.io/docs/dev/http_api_reference#retrieve-chunks)
  325. #### Python API
  326. - [Retrieve chunks](https://ragflow.io/docs/dev/python_api_reference#retrieve-chunks)
  327. ## v0.5.0
  328. Released on May 8, 2024.
  329. ### New features
  330. - Supports LLM DeepSeek.