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

### What problem does this PR solve?

Fix: Update env to support PPTX
Fix: update README for version changes #11138

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [x] Documentation Update

---------

Co-authored-by: writinwaters <93570324+writinwaters@users.noreply.github.com>
This commit is contained in:
Billy Bao
2025-11-11 19:56:54 +08:00
committed by GitHub
parent 72740eb5b9
commit de53498b39
9 changed files with 29 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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
@ -178,6 +181,7 @@
# docker compose -f docker-compose.yml up -d
```
| RAGFlow image tag | Image size (GB) | Has embedding models? | Stable? |
| ----------------- | --------------- | --------------------- | -------------------------- |
| v0.21.1 | &approx;9 | ✔️ | Stable release |

View File

@ -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

View File

@ -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

View File

@ -189,6 +189,9 @@
```bash
$ cd ragflow/docker
# 可選使用穩定版標籤查看發佈https://github.com/infiniflow/ragflow/releasesgit checkout v0.21.1
# Use CPU for embedding and DeepDoc tasks:
$ docker compose -f docker-compose.yml up -d

View File

@ -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

View File

@ -217,3 +217,6 @@ REGISTER_ENABLED=1
# Enable DocLing and Mineru
USE_DOCLING=false
USE_MINERU=false
# pptx support
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1

View File

@ -67,8 +67,10 @@ class Session(Base):
or (self.__session_type == "chat" and json_data.get("data") is True)
):
return
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()