Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

release_notes.md 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. ---
  2. sidebar_position: 2
  3. slug: /release_notes
  4. ---
  5. # Release notes
  6. Key features, improvements and bug fixes in the latest releases.
  7. ## v0.15.1
  8. Released on December 25, 2024.
  9. ### Upgrades
  10. - Upgrades RAGFlow's document engine [Infinity](https://github.com/infiniflow/infinity) to v0.5.2.
  11. - Enhances the log display of document parsing status.
  12. ### Fixed issues
  13. This release fixes the following issues:
  14. - The `SCORE not found` and `position_int` errors returned by [Infinity](https://github.com/infiniflow/infinity).
  15. - Once an embedding model in a specific knowledge base is changed, embedding models in other knowledge bases can no longer be changed.
  16. - Slow response in question-answering and AI search due to repetitive loading of the embedding model.
  17. - Fails to parse documents with RAPTOR.
  18. - Using the **Table** parsing method results in information loss.
  19. - Miscellaneous API issues.
  20. ### Related APIs
  21. #### HTTP APIs
  22. Adds an optional parameter `"user_id"` to the following APIs:
  23. - [Create session with chat assistant](https://ragflow.io/docs/dev/http_api_reference#create-session-with-chat-assistant)
  24. - [Update chat assistant's session](https://ragflow.io/docs/dev/http_api_reference#update-chat-assistants-session)
  25. - [List chat assistant's sessions](https://ragflow.io/docs/dev/http_api_reference#list-chat-assistants-sessions)
  26. - [Create session with agent](https://ragflow.io/docs/dev/http_api_reference#create-session-with-agent)
  27. - [Converse with chat assistant](https://ragflow.io/docs/dev/http_api_reference#converse-with-chat-assistant)
  28. - [Converse with agent](https://ragflow.io/docs/dev/http_api_reference#converse-with-agent)
  29. - [List agent sessions](https://ragflow.io/docs/dev/http_api_reference#list-agent-sessions)
  30. ## v0.15.0
  31. Released on December 18, 2024.
  32. ### New features
  33. - Introduces additional Agent-specific APIs.
  34. - Supports using page rank score to improve retrieval performance when searching across multiple knowledge bases.
  35. - Offers an iframe in Chat and Agent to facilitate the integration of RAGFlow into your webpage.
  36. - Adds a Helm chart for deploying RAGFlow on Kubernetes.
  37. - Supports importing or exporting an agent in JSON format.
  38. - Supports step run for Agent components/tools.
  39. - Adds a new UI language: Japanese.
  40. - Supports resuming GraphRAG and RAPTOR from a failure, enhancing task management resilience.
  41. - Adds more Mistral models.
  42. - Adds a dark mode to the UI, allowing users to toggle between light and dark themes.
  43. ### Improvements
  44. - Upgrades the Document Layout Analysis model in Deepdoc.
  45. - Significantly enhances the retrieval performance when using [Infinity](https://github.com/infiniflow/infinity) as document engine.
  46. ### Related APIs
  47. #### HTTP APIs
  48. - [List agent sessions](https://ragflow.io/docs/dev/http_api_reference#list-agent-sessions)
  49. - [List agents](https://ragflow.io/docs/dev/http_api_reference#list-agents)
  50. #### Python APIs
  51. - [List agent sessions](https://ragflow.io/docs/dev/python_api_reference#list-agent-sessions)
  52. - [List agents](https://ragflow.io/docs/dev/python_api_reference#list-agents)
  53. ## v0.14.1
  54. Released on November 29, 2024.
  55. ### Improvements
  56. 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)
  57. ### Fixed issues
  58. This release fixes the following issues:
  59. - Unable to display or edit content of a chunk after clicking it.
  60. - A `'Not found'` error in Elasticsearch.
  61. - Chinese text becoming garbled during parsing.
  62. - A compatibility issue with Polars.
  63. - A compatibility issue between Infinity and GraphRAG.
  64. ## v0.14.0
  65. Released on November 26, 2024.
  66. ### New features
  67. - 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)
  68. - Enhances user experience by adding more variables to the Agent and implementing auto-saving.
  69. - Adds a three-step translation agent template, inspired by [Andrew Ng's translation agent](https://github.com/andrewyng/translation-agent).
  70. - Adds an SEO-optimized blog writing agent template.
  71. - Provides HTTP and Python APIs for conversing with an agent.
  72. - Supports the use of English synonyms during retrieval processes.
  73. - Optimizes term weight calculations, reducing the retrieval time by 50%.
  74. - Improves task executor monitoring with additional performance indicators.
  75. - Replaces Redis with Valkey.
  76. - Adds three new UI languages (*contributed by the community*): Indonesian, Spanish, and Vietnamese.
  77. ### Compatibility changes
  78. 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)
  79. This approach eliminates the need to manually update **service_config.yaml** after making changes to **.env**, facilitating dynamic environment configurations.
  80. :::danger IMPORTANT
  81. 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.
  82. :::
  83. ### Related APIs
  84. #### HTTP APIs
  85. - [Create session with agent](https://ragflow.io/docs/dev/http_api_reference#create-session-with-agent)
  86. - [Converse with agent](https://ragflow.io/docs/dev/http_api_reference#converse-with-agent)
  87. #### Python APIs
  88. - [Create session with agent](https://ragflow.io/docs/dev/python_api_reference#create-session-with-agent)
  89. - [Converse with agent](https://ragflow.io/docs/dev/python_api_reference#create-session-with-agent)
  90. ### Documentation
  91. #### Added documents
  92. - [Configurations](https://ragflow.io/docs/dev/configurations)
  93. - [Manage team members](https://ragflow.io/docs/dev/manage_team_members)
  94. - [Run health check on RAGFlow's dependencies](https://ragflow.io/docs/dev/run_health_check)
  95. ## v0.13.0
  96. Released on October 31, 2024.
  97. ### New features
  98. - Adds the team management functionality for all users.
  99. - Updates the Agent UI to improve usability.
  100. - Adds support for Markdown chunking in the **General** chunk method.
  101. - Introduces an **invoke** tool within the Agent UI.
  102. - Integrates support for Dify's knowledge base API.
  103. - Adds support for GLM4-9B and Yi-Lightning models.
  104. - Introduces HTTP and Python APIs for dataset management, file management within dataset, and chat assistant management.
  105. :::tip NOTE
  106. To download RAGFlow's Python SDK:
  107. ```bash
  108. pip install ragflow-sdk==0.13.0
  109. ```
  110. :::
  111. ### Documentation
  112. #### Added documents
  113. - [Acquire a RAGFlow API key](https://ragflow.io/docs/dev/acquire_ragflow_api_key)
  114. - [HTTP API Reference](https://ragflow.io/docs/dev/http_api_reference)
  115. - [Python API Reference](https://ragflow.io/docs/dev/python_api_reference)
  116. ## v0.12.0
  117. Released on September 30, 2024.
  118. ### New features
  119. - Offers slim editions of RAGFlow's Docker images, which do not include built-in BGE/BCE embedding or reranking models.
  120. - Improves the results of multi-round dialogues.
  121. - Enables users to remove added LLM vendors.
  122. - Adds support for **OpenTTS** and **SparkTTS** models.
  123. - 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.
  124. - Adds agent tools **YahooFinance** and **Jin10**.
  125. - Adds an investment advisor agent template.
  126. ### Compatibility changes
  127. 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.
  128. The default Docker image edition is `nightly-slim`. The following list clarifies the differences between various editions:
  129. - `nightly-slim`: The slim edition of the most recent tested Docker image.
  130. - `v0.12.0-slim`: The slim edition of the most recent **officially released** Docker image.
  131. - `nightly`: The full edition of the most recent tested Docker image.
  132. - `v0.12.0`: The full edition of the most recent **officially released** Docker image.
  133. See [Upgrade RAGFlow](https://ragflow.io/docs/dev/upgrade_ragflow) for instructions on upgrading.
  134. ### Documentation
  135. #### Added documents
  136. - [Upgrade RAGFlow](https://ragflow.io/docs/dev/upgrade_ragflow)
  137. ## v0.11.0
  138. Released on September 14, 2024.
  139. ### New features
  140. - Introduces an AI search interface within the RAGFlow UI.
  141. - Supports audio output via **FishAudio** or **Tongyi Qwen TTS**.
  142. - Allows the use of Postgres for metadata storage, in addition to MySQL.
  143. - Supports object storage options with S3 or Azure Blob.
  144. - Supports model vendors: **Anthropic**, **Voyage AI**, and **Google Cloud**.
  145. - Supports the use of **Tencent Cloud ASR** for audio content recognition.
  146. - Adds finance-specific agent components: **WenCai**, **AkShare**, **YahooFinance**, and **TuShare**.
  147. - Adds a medical consultant agent template.
  148. - Supports running retrieval benchmarking on the following datasets:
  149. - [ms_marco_v1.1](https://huggingface.co/datasets/microsoft/ms_marco)
  150. - [trivia_qa](https://huggingface.co/datasets/mandarjoshi/trivia_qa)
  151. - [miracl](https://huggingface.co/datasets/miracl/miracl)
  152. ## v0.10.0
  153. Released on August 26, 2024.
  154. ### New features
  155. - Introduces a text-to-SQL template in the Agent UI.
  156. - Implements Agent APIs.
  157. - Incorporates monitoring for the task executor.
  158. - Introduces Agent tools **GitHub**, **DeepL**, **BaiduFanyi**, **QWeather**, and **GoogleScholar**.
  159. - Supports chunking of EML files.
  160. - Supports more LLMs or model services: **GPT-4o-mini**, **PerfXCloud**, **TogetherAI**, **Upstage**, **Novita.AI**, **01.AI**, **SiliconFlow**, **XunFei Spark**, **Baidu Yiyan**, and **Tencent Hunyuan**.
  161. ## v0.9.0
  162. Released on August 6, 2024.
  163. ### New features
  164. - Supports GraphRAG as a chunk method.
  165. - Introduces Agent component **Keyword** and search tools, including **Baidu**, **DuckDuckGo**, **PubMed**, **Wikipedia**, **Bing**, and **Google**.
  166. - Supports speech-to-text recognition for audio files.
  167. - Supports model vendors **Gemini** and **Groq**.
  168. - Supports inference frameworks, engines, and services including **LM studio**, **OpenRouter**, **LocalAI**, and **Nvidia API**.
  169. - Supports using reranker models in Xinference.
  170. ## v0.8.0
  171. Released on July 8, 2024.
  172. ### New features
  173. - Supports Agentic RAG, enabling graph-based workflow construction for RAG and agents.
  174. - Supports model vendors **Mistral**, **MiniMax**, **Bedrock**, and **Azure OpenAI**.
  175. - Supports DOCX files in the MANUAL chunk method.
  176. - Supports DOCX, MD, and PDF files in the Q&A chunk method.
  177. ## v0.7.0
  178. Released on May 31, 2024.
  179. ### New features
  180. - Supports the use of reranker models.
  181. - Integrates reranker and embedding models: [BCE](https://github.com/netease-youdao/BCEmbedding), [BGE](https://github.com/FlagOpen/FlagEmbedding), and [Jina](https://jina.ai/embeddings/).
  182. - Supports LLMs Baichuan and VolcanoArk.
  183. - Implements [RAPTOR](https://arxiv.org/html/2401.18059v1) for improved text retrieval.
  184. - Supports HTML files in the GENERAL chunk method.
  185. - Provides HTTP and Python APIs for deleting documents by ID.
  186. - Supports ARM64 platforms.
  187. :::danger IMPORTANT
  188. While we also test RAGFlow on ARM64 platforms, we do not maintain RAGFlow Docker images for ARM.
  189. If you are on an ARM platform, follow [this guide](https://ragflow.io/docs/dev/build_docker_image) to build a RAGFlow Docker image.
  190. :::
  191. ### Related APIs
  192. #### HTTP API
  193. - [Delete documents](https://ragflow.io/docs/dev/http_api_reference#delete-documents)
  194. #### Python API
  195. - [Delete documents](https://ragflow.io/docs/dev/python_api_reference#delete-documents)
  196. ## v0.6.0
  197. Released on May 21, 2024.
  198. ### New features
  199. - Supports streaming output.
  200. - Provides HTTP and Python APIs for retrieving document chunks.
  201. - Supports monitoring of system components, including Elasticsearch, MySQL, Redis, and MinIO.
  202. - Supports disabling **Layout Recognition** in the GENERAL chunk method to reduce file chunking time.
  203. ### Related APIs
  204. #### HTTP API
  205. - [Retrieve chunks](https://ragflow.io/docs/dev/http_api_reference#retrieve-chunks)
  206. #### Python API
  207. - [Retrieve chunks](https://ragflow.io/docs/dev/python_api_reference#retrieve-chunks)
  208. ## v0.5.0
  209. Released on May 8, 2024.
  210. ### New features
  211. - Supports LLM DeepSeek.