219 Commits
Author SHA1 Message Date
Wang Qi abc31142c4 Refactor: refine chat message to use question only (#20654) 2026-10-09 20:08:10 +08:00
ciel 30eedef053 fix(name): unify case-insensitive entity name dedup and rename handling (#20594) 2026-10-09 15:48:51 +08:00
wang2 3d7d8e3dd0 feat(chat): add Search1API web search provider (#20561) 2026-10-09 10:04:41 +08:00
Juampi 33f49836d6 docs: document the Firecrawl web search provider in the HTTP API reference (#20479) 2026-10-08 12:24:34 +08:00
Wang Qi f03ee77821 Refactor: vector_similarity_weight -> keywords_similarity_weight (#20385) 2026-09-29 19:03:34 +08:00
Wang Qi f88c1d119f Refactor: explictly use keywords_similarity_weight (#20379) 2026-09-29 17:30:45 +08:00
YanZhang fa0f3c29ab docs: update docs with go (#20062) 2026-09-29 10:35:03 +08:00
Wang Qi 63df590396 toc_enhance -> knowledge compilation (#20299) 2026-09-28 16:46:36 +08:00
Wang Qi e18e93bb9c Docs: API changes (#20290) 2026-09-28 15:40:08 +08:00
MarMar Labs a9a227f4c2 fix(dao): allowlist orderby columns on the search, chat, file and dataset lists (#19601)
Fix SQL injection in 4 Go list DAOs — orderby was concatenated into ORDER BY.
2026-09-16 15:02:13 +08:00
Mnimiy fe6a6a004a docs: repair stale internal links and license reference (#19633)
### Summary

- Point stale Knowledge Graph and PageIndex links at their current
knowledge-compilation documentation.
- Keep two historical release-note entries as plain text because their
former standalone guides no longer exist.
- Fix the harness README link to the repository license and identify it
correctly as Apache License 2.0.
2026-09-15 10:20:56 +08:00
Ethan Yoo e356255ef4 Correct parser_config examples in API docs (#16002)
Close #8668 
Fixes incorrect parser_config examples in the API docs.
2026-09-09 21:20:52 +08:00
Sbaaoui Idriss a670f5260b fix(docs): document dataset language create and update behavior (#19372)
### Summary

The API docs now describe the optional language field for dataset
creation and updates. They document trimming, validation limits,
defaults, and unchanged update behavior.
2026-09-08 16:26:42 +08:00
YanZhang 8ce74f3e30 docs: update API references to match implementation (#19334)
Fixed existing typos and documentation inconsistencies.
Corrected and clarified parameter types.
Improved parameter constraints and required/optional field descriptions.
Updated several parameter descriptions to better reflect their actual
behavior.
2026-09-07 20:04:10 +08:00
ÖnderyandCursor 38230c45d3 feat(llm): forward OpenAI user on embedding and parse requests (#19065)
Add user attribution to embedding calls — forwards user on OpenAI-compatible providers via current_llm_user(). Excludes LocalAI/Xinference (reject unknown fields). Accepts user_id on ingest/parse/chunk endpoints; redacts from logs. Omitted = unchanged. Go/vision/TTS/ASR out of scope.

---------

Co-authored-by: Cursor <[email protected]>
2026-09-07 19:30:33 +08:00
Wang Qi f8b0a1de19 Refactor: update dataset API should not have ext (#19272) 2026-09-07 14:25:15 +08:00
MarMar Labs 0cd0a7af94 docs(api): use the memory update field names the route reads (#19279)
Fix Update Memory API docs — permission → permissions, system_promot → system_prompt. The route reads permissions/system_prompt; docs were wrong. Dataset endpoints keep permission (correct there).
2026-09-07 10:26:09 +08:00
YanZhang 0b9624e70a docs: update documentation to align with current Python API implementation (#19163)
update Python API documentation to align with current API implementation
delete words about RAPTOR & knowledge graph in HTTP API documents
2026-09-02 19:38:32 +08:00
Jin Hai d37486e295 Python && Go: fix parse status (#18841)
Signed-off-by: Jin Hai <[email protected]>
2026-08-28 12:47:41 +08:00
Wang Qi 68b893cd1a Refactor: Add rerank_candidates_count, knn top_k and num_candidates to /api/v1/retrieval (#18768) 2026-08-26 20:38:19 +08:00
MarMar Labs 79093df706 docs(api): document the document-update endpoint as PATCH (#18765)
### Summary

Fix HTTP API doc
2026-08-26 12:14:25 +08:00
MarMar Labs d3542463c9 docs(api): spell the recommendation endpoint the way the server registers it (#18764)
### Summary

Update comments
2026-08-26 12:10:05 +08:00
Ali Farhan 03d2835731 fix(api): make the API-key subject carve-out on POST /messages reachable (#18026)
### Summary

Fix add_message so API-key callers can pass user_id (previously ignored because Python checked a Go-only flag). Now uses g.auth_type == AUTH_API. JWT/session callers stay bound to the authenticated principal. Tests added; backward compatible.
2026-08-25 12:06:51 +08:00
YanZhang a4f754a472 docs: add dataset docs & fix broken links in docs (#18553)
add dataset docs
fix broken links in docs
2026-08-20 16:12:23 +08:00
09a9b629ee feat(chat): add You.com web search provider (#18478)
### Summary

Adds You.com as a built-in Web Search provider for RAGFlow Chat,
alongside Tavily and Querit, using the provider-neutral dispatch #17813
put in place. No changes to existing Tavily or Querit behaviour.

You.com runs its own web index and returns several extracted passages
per result rather than a single meta description, so retrieved chunks
arrive with usable context.

---------

Co-authored-by: Brian Sparker <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
2026-08-20 12:12:18 +08:00
Serply 371d83c2d8 feat(chat): add Serply web search provider (#18475)
### Summary

This PR adds [Serply](https://serply.io) as a third web search provider
for chat assistants, alongside the existing Tavily and Querit options.
2026-08-19 18:59:01 +08:00
yzxcj797 b5512b8014 docs: fix dead internal links in FAQ and HTTP API reference (#18312)
Two dead internal links found by auditing every docs link against the
current file tree:

1. **docs/faq.mdx (3 occurrences)**: points to
`./guides/run_health_check.md`, which was removed in #12363 because the
system web page is disabled since v0.22.0 and health checking is now
covered by the API. The links now point to the "Check system health"
section of the HTTP API reference (`/api/v1/system/healthz`).

2. **docs/references/http_api_reference.md**: the custom-parameter note
links to `../guides/agent/agent_component_reference/begin.md`, but that
directory was replaced by `agent_workflow/`. Updated to
`../guides/agent/agent_workflow/basic_component.md`, which documents the
Begin component.
2026-08-17 13:16:30 +08:00
Ziyang Guo cc6af825ce docs(api): correct retrieval missing dataset IDs error (#17820)
### Summary

Correct the documented failure response for `POST /api/v1/retrieval`.
2026-08-05 09:55:27 +08:00
EthanZhang bdcd8aadde feat(chat): add Querit web search provider (#17813) 2026-08-05 09:54:46 +08:00
Jin Hai 86021932ae Go: fix warnings (#17738)
Signed-off-by: Jin Hai <[email protected]>
2026-08-03 21:30:01 +08:00
Loi NguyenandCodex 1b5ce4c27e docs(api): use dataset_id in retrieval example (#17662)
### What problem does this PR solve?

Fixes #17623 by updating the retrieval API response example to use
`dataset_id`, matching the actual `POST /api/v1/retrieval` response
field and the implementation mapping from internal `kb_id`.

Co-authored-by: Codex <[email protected]>
2026-07-31 22:41:54 +08:00
Wang Qi 9db2e2314a Refine knownledge compilation REST APIs (#17624) 2026-07-31 17:05:57 +08:00
Jin Hai 7f21a7ba18 Go: add context, part14 (#17446)
Signed-off-by: Jin Hai <[email protected]>
2026-07-28 19:05:59 +08:00
Jin Hai 19d861b797 Go: add context, part11 (#17426)
Signed-off-by: Jin Hai <[email protected]>
2026-07-27 17:48:44 +08:00
Wang Qi 1f97823ee3 Update document about how to retrieve document settting and metatdata (#17356) 2026-07-24 17:32:28 +08:00
Jin Hai 61201e437d Go: fix context (#17277)
### Summary

Continue to add context

---------

Signed-off-by: Jin Hai <[email protected]>
2026-07-23 21:48:54 +08:00
euvre a40d5f841b fix: eliminate one-frame flash of title without form content in data source pages (#17214) 2026-07-22 19:06:38 +08:00
Jin Hai df963cf4a1 Doc: fix typo and format (#17249)
### Summary

As title.

Signed-off-by: Jin Hai <[email protected]>
2026-07-22 17:14:32 +08:00
Muhammad Zuhaib ZahidandMuhammad Zuhaib Zahid d5ff75746c docs: point begin/message component links at .md, not .mdx (#17237)
### Summary

Most files in `docs/guides/agent/agent_component_reference/` are `.mdx`,
but `begin` and
`message` are `.md`. Four links use the `.mdx` extension for those two,
so Docusaurus cannot
resolve the reference and they render as broken links.

Co-authored-by: Muhammad Zuhaib Zahid <[email protected]>
2026-07-22 17:08:42 +08:00
Wang Qi 6e82e2726d Guard /datasets/{dataset_id}/chunks cannot parse ingestion pipeline, use /documents/ingest instead (#16395) 2026-06-29 13:45:29 +08:00
Wang Qi a4f325be24 Fix: add /v1/document/upload_info -> /api/v1/documents/upload back (#16264) 2026-06-23 17:47:55 +08:00
Wang Qi e08bcd4d0d Update doc rerank_id from int to string (#16142)
Update doc rerank_id from int to string
2026-06-17 16:09:33 +08:00
writinwaters 0aaba0033f Docs: Updated Converse with chat assistant (#16117)
### What problem does this PR solve?

Miscellaneous editorial updates to the API reference.

### Type of change


- [x] Documentation Update
2026-06-17 11:50:14 +08:00
buua436 1e4796da9d Docs: update chat completions docs (#16100)
### What problem does this PR solve?
Syncs the /api/v1/chat/completions docs with the current behavior,
including the new legacy streaming mode.
### Type of change
- [x]  Documentation Update
2026-06-16 20:08:23 +08:00
Yingfeng b5bea72e4b Add git-like file commit API (#15978)
### What problem does this PR solve?

| # | Method | Endpoint | Description | Git Equivalent |
|---|--------|----------|-------------|----------------|
| 1 | `POST` | `/api/v1/{prefix}/{folder_id}/commits` | Create a
snapshot commit with file changes (add/modify/delete/rename) | `git add`
+ `git commit` |
| 2 | `GET` | `/api/v1/{prefix}/{folder_id}/commits` | List commit
history (paginated) | `git log` |
| 3 | `GET` | `/api/v1/{prefix}/{folder_id}/commits/{commit_id}` | Get
commit detail with file changes | `git show` |
| 4 | `GET` | `/api/v1/{prefix}/{folder_id}/commits/{commit_id}/files` |
List file changes in a commit | `git show --name-status` |
| 5 | `GET` |
`/api/v1/{prefix}/{folder_id}/commits/diff?from=...&to=...` | Compare
two commits and return differences | `git diff` |
| 6 | `GET` | `/api/v1/{prefix}/{folder_id}/changes` | Get uncommitted
changes (add/modify/delete) | `git status` |
| 7 | `GET` | `/api/v1/{prefix}/{folder_id}/commits/{commit_id}/tree` |
Get the folder tree snapshot at commit time | `git ls-tree` |
| 8 | `GET` |
`/api/v1/{prefix}/{folder_id}/commits/{commit_id}/files/{file_id}/content`
| Get a file's content as it existed in a specific commit | `git show
HEAD:file` |
| 9 | `GET` | `/api/v1/{prefix}/{file_id}/versions` | Get version
history for a specific file across all commits | `git log -- file` |

Where `{prefix}/{id}` can be:
- `folders/{folder_id}` — direct folder access
- `workspaces/{workspace_id}` — alias of `folders/{folder_id}`
- `datasets/{dataset_id}` — resolves to the dataset's folder
- `memories/{memory_id}` — resolves to the memory's folder
- `skills/{skill_id}` — resolves to the skill's folder

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
- [x] Documentation Update
2026-06-15 11:19:56 +08:00
writinwaters 129e1e3196 Docs: Updated converse with agent API reference. (#15257)
### What problem does this PR solve?

API reference updates based on #14542.

### Type of change


- [x] Documentation Update
2026-05-27 17:45:23 +08:00
Wang Qi 4776bfa8a2 Fix: Correct the API path (#15204)
Follow on PR #15146 to reslove the backwad compatability issue.

1. /agents/<attachment_id>/download ->
/agents/attachments/<attachment_id>/download

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2026-05-25 17:11:24 +08:00
Wang Qi 5069561abc Fix /chat/completions to allow send only the latest message (#15197)
### What problem does this PR solve?

1. Fix /chat/completions to send only the latest message
2. Allo chat stream=False

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2026-05-25 14:23:33 +08:00
Wang Qi 64bd0130d3 Add REST API backward compatibility (#14872)
### What problem does this PR solve?

Add REST API backward compatibility

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2026-05-13 11:44:40 +08:00
buua436 d843035c8b Fix: add compatibility route for document download under /v1 (#14663)
### What problem does this PR solve?

add compatibility route for document download under /v1

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2026-05-08 14:44:02 +08:00