選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

release_notes.md 19KB

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