Skip to content

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

Fix: Update env to support PPTX and update README for version changes (#11167)

Billy Baode53498b39c8
diff --git a/README.md b/README.md
index 5e66f4d87e..9e3ea3f7b0 100644
--- a/README.md
+++ b/README.md
@@ -193,6 +193,9 @@ releases! 🌟
```bash
$ cd ragflow/docker
+
+ # Optional: use a stable tag (see releases: https://github.com/infiniflow/ragflow/releases), e.g.: git checkout v0.21.1
+
# Use CPU for embedding and DeepDoc tasks:
$ docker compose -f docker-compose.yml up -d
diff --git a/README_id.md b/README_id.md
index 016f4dc1a4..ae61578ece 100644
--- a/README_id.md
+++ b/README_id.md
@@ -191,6 +191,9 @@ Coba demo kami di [https://demo.ragflow.io](https://demo.ragflow.io).
```bash
$ cd ragflow/docker
+
+ # Opsional: gunakan tag stabil (lihat releases: https://github.com/infiniflow/ragflow/releases), contoh: git checkout v0.21.1
+
# Use CPU for embedding and DeepDoc tasks:
$ docker compose -f docker-compose.yml up -d
diff --git a/README_ja.md b/README_ja.md
index 09a6240c4e..f7d338ae69 100644
--- a/README_ja.md
+++ b/README_ja.md
@@ -170,6 +170,9 @@
```bash
$ cd ragflow/docker
+
+ # 任意: 安定版タグを利用 (一覧: https://github.com/infiniflow/ragflow/releases) 例: git checkout v0.21.1
+
# Use CPU for embedding and DeepDoc tasks:
$ docker compose -f docker-compose.yml up -d
@@ -177,6 +180,7 @@
# sed -i '1i DEVICE=gpu' .env
# docker compose -f docker-compose.yml up -d
```
+
| RAGFlow image tag | Image size (GB) | Has embedding models? | Stable? |
| ----------------- | --------------- | --------------------- | -------------------------- |
diff --git a/README_ko.md b/README_ko.md
index 6720682f5c..1c378cd0d0 100644
--- a/README_ko.md
+++ b/README_ko.md
@@ -172,6 +172,9 @@
```bash
$ cd ragflow/docker
+
+ # Optional: use a stable tag (see releases: https://github.com/infiniflow/ragflow/releases), e.g.: git checkout v0.21.1
+
# Use CPU for embedding and DeepDoc tasks:
$ docker compose -f docker-compose.yml up -d
diff --git a/README_pt_br.md b/README_pt_br.md
index 94b4d2c970..a5a2e3b82f 100644
--- a/README_pt_br.md
+++ b/README_pt_br.md
@@ -190,6 +190,9 @@ Experimente nossa demo em [https://demo.ragflow.io](https://demo.ragflow.io).
```bash
$ cd ragflow/docker
+
+ # Opcional: use uma tag estável (veja releases: https://github.com/infiniflow/ragflow/releases), ex.: git checkout v0.21.1
+
# Use CPU for embedding and DeepDoc tasks:
$ docker compose -f docker-compose.yml up -d
diff --git a/README_tzh.md b/README_tzh.md
index edc1d0b612..01e0709657 100644
--- a/README_tzh.md
+++ b/README_tzh.md
@@ -189,6 +189,9 @@
```bash
$ cd ragflow/docker
+
+ # 可選:使用穩定版標籤(查看發佈:https://github.com/infiniflow/ragflow/releases),例:git checkout v0.21.1
+
# Use CPU for embedding and DeepDoc tasks:
$ docker compose -f docker-compose.yml up -d
diff --git a/README_zh.md b/README_zh.md
index 0e7814b526..e909413a64 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -190,6 +190,9 @@
```bash
$ cd ragflow/docker
+
+ # 可选:使用稳定版本标签(查看发布:https://github.com/infiniflow/ragflow/releases),例如:git checkout v0.21.1
+
# Use CPU for embedding and DeepDoc tasks:
$ docker compose -f docker-compose.yml up -d
diff --git a/docker/.env b/docker/.env
index 1d6c8ba905..7c4c5642d3 100644
--- a/docker/.env
+++ b/docker/.env
@@ -217,3 +217,6 @@ REGISTER_ENABLED=1
# Enable DocLing and Mineru
USE_DOCLING=false
USE_MINERU=false
+
+# pptx support
+DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
\ No newline at end of file
diff --git a/sdk/python/ragflow_sdk/modules/session.py b/sdk/python/ragflow_sdk/modules/session.py
index d9b6193c4e..12141afed3 100644
--- a/sdk/python/ragflow_sdk/modules/session.py
+++ b/sdk/python/ragflow_sdk/modules/session.py
@@ -67,8 +67,10 @@ class Session(Base):
or (self.__session_type == "chat" and json_data.get("data") is True)
):
return
-
- yield self._structure_answer(json_data)
+ if self.__session_type == "agent":
+ yield self._structure_answer(json_data)
+ else:
+ yield self._structure_answer(json_data["data"])
else:
try:
json_data = res.json()