ragflow/sdk/python/ragflow_sdk
Vela-zz c54ec09519
Fix session.ask return generator bug when stream=False on python sdk (#5209)
add non-stream mode support to session.ask function

### What problem does this PR solve?

same as title, I do not know why the stream=False is not work on the
server side also, when stream=False, the response in the
session._ask_chat is a fully connnected SSE string.

This is a quick fix on the sdk side to make the response format align
with API docs

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-02-21 11:50:08 +08:00
..
modules Fix session.ask return generator bug when stream=False on python sdk (#5209) 2025-02-21 11:50:08 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
ragflow.py Add top_k for create_chat and update_chat api (#4294) 2024-12-30 19:22:57 +08:00