Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Feat: supports GPT-5 (#9320)

Yongteng Lei79481becea80
diff --git a/README.md b/README.md
index eaafb3636f..e9c5290c2d 100644
--- a/README.md
+++ b/README.md
@@ -87,6 +87,7 @@ Try our demo at [https://demo.ragflow.io](https://demo.ragflow.io).
## 🔥 Latest Updates
+- 2025-08-08 Supports OpenAI's latest GPT-5 series models.
- 2025-08-04 Supports new models, including Kimi K2 and Grok 4.
- 2025-08-01 Supports agentic workflow and MCP.
- 2025-05-23 Adds a Python/JavaScript code executor component to Agent.
diff --git a/README_id.md b/README_id.md
index 54d38a64f9..2c247502e9 100644
--- a/README_id.md
+++ b/README_id.md
@@ -80,6 +80,7 @@ Coba demo kami di [https://demo.ragflow.io](https://demo.ragflow.io).
## 🔥 Pembaruan Terbaru
+- 2025-08-08 Mendukung model seri GPT-5 terbaru dari OpenAI.
- 2025-08-04 Mendukung model baru, termasuk Kimi K2 dan Grok 4.
- 2025-08-01 Mendukung alur kerja agen dan MCP.
- 2025-05-23 Menambahkan komponen pelaksana kode Python/JS ke Agen.
diff --git a/README_ja.md b/README_ja.md
index 747c3a376c..a489d0ffda 100644
--- a/README_ja.md
+++ b/README_ja.md
@@ -60,6 +60,7 @@
## 🔥 最新情報
+- 2025-08-08 OpenAI の最新 GPT-5 シリーズモデルをサポートします。
- 2025-08-04 新モデル、キミK2およびGrok 4をサポート。
- 2025-08-01 エージェントワークフローとMCPをサポート。
- 2025-05-23 エージェントに Python/JS コードエグゼキュータコンポーネントを追加しました。
diff --git a/README_ko.md b/README_ko.md
index c503034e65..5a7afb5a70 100644
--- a/README_ko.md
+++ b/README_ko.md
@@ -60,6 +60,7 @@
## 🔥 업데이트
+- 2025-08-08 OpenAI의 최신 GPT-5 시리즈 모델을 지원합니다.
- 2025-08-04 새로운 모델인 Kimi K2와 Grok 4를 포함하여 지원합니다.
- 2025-08-01 에이전트 워크플로우와 MCP를 지원합니다.
- 2025-05-23 Agent에 Python/JS 코드 실행기 구성 요소를 추가합니다.
diff --git a/README_pt_br.md b/README_pt_br.md
index 4a5791540d..bb5e7be7b3 100644
--- a/README_pt_br.md
+++ b/README_pt_br.md
@@ -80,6 +80,7 @@ Experimente nossa demo em [https://demo.ragflow.io](https://demo.ragflow.io).
## 🔥 Últimas Atualizações
+- 08-08-2025 Suporta a mais recente série GPT-5 da OpenAI.
- 04-08-2025 Suporta novos modelos, incluindo Kimi K2 e Grok 4.
- 01-08-2025 Suporta fluxo de trabalho agente e MCP.
- 23-05-2025 Adicione o componente executor de código Python/JS ao Agente.
diff --git a/README_tzh.md b/README_tzh.md
index 79e50c8d9b..7197fcf840 100644
--- a/README_tzh.md
+++ b/README_tzh.md
@@ -83,6 +83,7 @@
## 🔥 近期更新
+- 2025-08-08 支援 OpenAI 最新的 GPT-5 系列模型。
- 2025-08-04 支援 Kimi K2 和 Grok 4 等模型.
- 2025-08-01 支援 agentic workflow 和 MCP
- 2025-05-23 為 Agent 新增 Python/JS 程式碼執行器元件。
diff --git a/README_zh.md b/README_zh.md
index 648d5b788d..f4f41c1b98 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -83,6 +83,7 @@
## 🔥 近期更新
+- 2025-08-08 支持 OpenAI 最新的 GPT-5 系列模型.
- 2025-08-04 新增对 Kimi K2 和 Grok 4 等模型的支持.
- 2025-08-01 支持 agentic workflow 和 MCP。
- 2025-05-23 Agent 新增 Python/JS 代码执行器组件。
diff --git a/conf/llm_factories.json b/conf/llm_factories.json
index 5d6ed3600f..78f100130c 100644
--- a/conf/llm_factories.json
+++ b/conf/llm_factories.json
@@ -6,6 +6,34 @@
"tags": "LLM,TEXT EMBEDDING,TTS,TEXT RE-RANK,SPEECH2TEXT,MODERATION",
"status": "1",
"llm": [
+ {
+ "llm_name": "gpt-5",
+ "tags": "LLM,CHAT,400k,IMAGE2TEXT",
+ "max_tokens": 400000,
+ "model_type": "chat",
+ "is_tools": true
+ },
+ {
+ "llm_name": "gpt-5-mini",
+ "tags": "LLM,CHAT,400k,IMAGE2TEXT",
+ "max_tokens": 400000,
+ "model_type": "chat",
+ "is_tools": true
+ },
+ {
+ "llm_name": "gpt-5-nano",
+ "tags": "LLM,CHAT,400k,IMAGE2TEXT",
+ "max_tokens": 400000,
+ "model_type": "chat",
+ "is_tools": true
+ },
+ {
+ "llm_name": "gpt-5-chat-latest",
+ "tags": "LLM,CHAT,400k,IMAGE2TEXT",
+ "max_tokens": 400000,
+ "model_type": "chat",
+ "is_tools": false
+ },
{
"llm_name": "gpt-4.1",
"tags": "LLM,CHAT,1M,IMAGE2TEXT",