ragflow/api
sinopec 243ed4bc35
Feat: Surpport dynamically add knowledge basees for retrieval while u… (#7915)
…sing the SDK chat API

### What problem does this PR solve?

When using the SDK for chat, you can include the IDs of additional
knowledge bases you want to use in the request. This way, you don’t need
to repeatedly create new assistants to support various combinations of
knowledge bases. This is especially useful when there are many knowledge
bases with different content. If users clearly know which knowledge base
contains the information they need and select accordingly, the recall
accuracy will be greatly improved.

Users only need to add an extra field, a kb_ids array, in the HTTP
request. The content of this field can be determined by the client
fetching the list of knowledge bases and letting the user select from
it.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

Co-authored-by: Li Ye <liye@unittec.com>
2025-05-28 19:16:16 +08:00
..
apps fix: resolve “has no attribute 'max_length'” error in keyword_extraction (#7903) 2025-05-28 10:58:06 +08:00
db Feat: Surpport dynamically add knowledge basees for retrieval while u… (#7915) 2025-05-28 19:16:16 +08:00
utils Refa: HTTP API list datasets / test cases / docs (#7720) 2025-05-20 09:58:26 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
constants.py Add more web test cases (#3702) 2024-11-28 15:46:35 +08:00
ragflow_server.py Feat: Support tool calling in Generate component (#7572) 2025-05-16 16:32:19 +08:00
settings.py Feat: change default models (#7777) 2025-05-23 18:21:25 +08:00
validation.py Fix errors detected by Ruff (#3918) 2024-12-08 14:21:12 +08:00
versions.py Fix VERSION 2024-12-07 16:56:34 +08:00