Wang Qi
53afc32349
Fix get datasets owner retrieve the whole dataset ( #17370 )
2026-07-27 10:24:13 +08:00
Jin Hai
f53518c110
Go: add context, part5 ( #17392 )
...
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-27 10:20:16 +08:00
Jin Hai
d9e359d481
Go: add context ( #17354 )
...
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-24 20:19:41 +08:00
Jin Hai
bdfc3ada41
Go: add context ( #17314 )
...
### Summary
As title.
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-24 16:47:12 +08:00
Jin Hai
61201e437d
Go: fix context ( #17277 )
...
### Summary
Continue to add context
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-23 21:48:54 +08:00
Haruko386
5d8dfa610c
fix: unable to get prologue in agent bot ( #17299 )
...
### Summary
As title
2026-07-23 19:13:45 +08:00
Lynn
4a2564c7da
Feat: OpenAI-API-Compatible ( #17276 )
2026-07-23 13:39:57 +08:00
Jin Hai
5478f955ab
Go: add context to DAO ( #17269 )
...
### Summary
DAO layer doesn't use context, this PR is to fix it.
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-23 12:15:58 +08:00
Jin Hai
d19a036cda
Go: add context to lots of interface ( #17253 )
...
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-22 22:30:57 +08:00
Haruko386
1d165c7315
fix: unable to get owner in chat and search ( #17244 )
...
### Summary
As title
2026-07-22 21:27:08 +08:00
Lynn
32ddf59ac6
Fix: go restful api tests ( #17247 )
2026-07-22 19:06:08 +08:00
Lynn
340d30eb12
Fix: verify model api ( #17183 )
2026-07-21 19:09:46 +08:00
euvre
3f9d9529b3
fix(file2document): batch link should add to existing KBs, not replace them ( #17172 )
2026-07-21 19:05:02 +08:00
Haruko386
294dff4701
fix: add chunk_method field to document handler ( #17154 )
...
### Summary
As title
2026-07-21 16:47:12 +08:00
Jin Hai
3670b047f0
Go: add audit log framework ( #17129 )
...
### Summary
Prepare for audit log
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-20 23:50:45 +08:00
euvre
f45f03a016
Add Go service/handler tests for API contract parity ( #16905 )
2026-07-20 20:02:41 +08:00
Haruko386
0cd06e4013
Go: add tools for gitee, volcengine and zhipuAI ( #17091 )
...
### Summary
As title
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-07-20 19:18:48 +08:00
Jin Hai
1fdf167f79
Go: refactor system stats ( #17089 )
...
### Summary
Move stats to a specific service from system
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-20 14:13:05 +08:00
Jack
965590ccbe
Refactor: dataset/document/file service ( #17071 )
...
### Summary
Refactor dataset.go document.do file.go file2document.go in
internal/service.
2026-07-20 09:48:24 +08:00
Jin Hai
b8d06d02e6
Go: add stats ( #17061 )
...
### Summary
Add LLM token stats framework
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-18 21:02:07 +08:00
Jack
10c00a9614
Feat: add built in DSL file API ( #17003 )
...
### Summary
1. list and get by id API for builtin DSL
2. add DSL default component param values validation
3. remove all hard code keys for parser config
2026-07-18 11:00:08 +08:00
Jin Hai
8ebdc02cf6
Go: add LLM usage ( #17049 )
...
### Summary
```
RAGFlow(api/default)> CHAT WITH 'glm-4-flash@new_test@zhipu-ai' MESSAGE '30 words describes LLM';
Answer: Hello! I'm ChatGLM, an AI assistant. Feel free to ask me any questions or request help with any tasks.
Input tokens: 5
Output tokens: 28
Time: 12.748241
```
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-17 21:28:43 +08:00
euvre
6da5085073
feat: add chat-level TTS and ASR endpoints for Go API server ( #17036 )
2026-07-17 17:22:57 +08:00
Hz_
1b77e3ebcd
fix(go-agent): preserve canvas system state across turns ( #17010 )
...
## Summary
- Preserve request-scoped system variables such as files and user IDs
during Canvas execution.
- Persist conversation history, turn counts, and tool memory in the
session DSL across turns.
- Parse agent uploads into `sys.files` and align system variable
rendering with Python.
## Testing
- `bash build.sh --test ./internal/agent/...`
- `bash build.sh --test ./internal/service/...`
<img width="1896" height="1232" alt="image"
src="https://github.com/user-attachments/assets/b420cd97-53c3-470f-a3e1-d39cea26a213 "
/>
2026-07-17 15:53:58 +08:00
euvre
c599dc6c52
fix: remove dangling MetaFields reference and skip affected Go backend tests ( #16983 )
2026-07-16 20:20:29 +08:00
Haruko386
101155bdc7
fix: support message content ( #16980 )
...
### Summary
As Title
<img width="3241" height="1934" alt="image"
src="https://github.com/user-attachments/assets/cb22031c-f200-462a-b871-b4a739e7a66a "
/>
2026-07-16 19:08:36 +08:00
Jin Hai
8bb2cd0fb7
Go: fix db alignment ( #16964 )
...
### Summary
Align go db schema with python
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-16 16:00:56 +08:00
Jack
fd5487e064
feat: add /api/v1/language endpoint for Go/Python runtime detection ( #16952 )
...
Both backends serve GET /api/v1/language. Frontend calls it once and
caches. By this way, front end can know the backend is go or python and
thus can determine which part of logic to load.
---------
Co-authored-by: Claude <noreply@anthropic.com >
2026-07-16 15:13:43 +08:00
Wang Qi
46e14fe52b
Fix doc.MetaFields undefined ( #16976 )
...
Follow on #16929
2026-07-16 13:27:08 +08:00
Jin Hai
2a6e210020
Go: align db schema to python ( #16935 )
...
As title.
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-15 23:05:06 +08:00
euvre
70a49c947d
Remove unused /datasets/<id>/embedding endpoint ( #16936 )
2026-07-15 17:42:41 +08:00
Lynn
63c010cd04
Fix: code-rabbit review comment ( #16940 )
2026-07-15 15:44:08 +08:00
Jack
e543ff02c4
Feat: nats message processing refactor and support built in DSL ( #16873 )
2026-07-15 14:53:16 +08:00
Haruko386
a19af34d31
fix: unable to use agent in agent ( #16910 )
...
### Summary
As title
#### Agent:
<img width="3707" height="2030" alt="image"
src="https://github.com/user-attachments/assets/68480004-9c79-4302-ae22-eb3375b7fac9 "
/>
#### Data_operations
<img width="3716" height="2044" alt="image"
src="https://github.com/user-attachments/assets/068cc1a6-1ba5-4746-a447-a706d2149ef5 "
/>
2026-07-15 10:58:59 +08:00
Lynn
bd7a3bb878
Fix: align go provider apis with python apis ( #16867 )
...
### Summary
As title.
---------
Co-authored-by: Jin Hai <haijin.chn@gmail.com >
Co-authored-by: Wang Qi <wangq8@outlook.com >
2026-07-14 21:06:11 +08:00
euvre
315e5725c2
Fix: Search mind map not displaying ( #16866 )
2026-07-14 17:04:47 +08:00
Jin Hai
844e3ea64d
Go and Python: fix IDOR issue of search completions ( #16864 )
...
### Summary
In Go and python implementation, the dataset / KB id isn't validated if
it is accessible by this user.
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-13 21:00:19 +08:00
Jin Hai
8bc18154d2
Go: refactor and add version type ( #16863 )
...
### Summary
```
RAGFlow(admin)> show version;
+--------------+-----------------------+
| field | value |
+--------------+-----------------------+
| version | v0.26.4-84-g547bc8614 |
| version_type | open source |
+--------------+-----------------------+
```
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-13 18:00:35 +08:00
Jin Hai
9f403ac3ca
Go: more APIs ( #16850 )
...
### Summary
as title.
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-13 15:24:17 +08:00
qinling0210
d549194562
Implement builtin chunk method as ingestion pipeline in GO ( #16822 )
...
### Summary
Implement builtin chunk mehtod as ingestion pipeline in GO
2026-07-13 13:51:40 +08:00
Lynn
b0cac0ac9d
Fix: Align part of Go provider APIs with Python APIs ( #16823 )
2026-07-13 11:20:02 +08:00
Jack
5e60fcec9f
Refactor: Refine ingestion task state transitions ( #16814 )
...
### Summary
Refine ingestion task state transitions
2026-07-10 22:47:51 +08:00
Jin Hai
2a83ad6cb2
Go: Fix error code ( #16807 )
...
### Summary
As title.
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-10 17:02:25 +08:00
Zhichang Yu
fb42e5531d
Refactor: drop dead canvas runtime selector and tokenizer embedding wiring ( #16809 )
...
Two refactors on the Go port (agent-go-port):
- Remove the dead per-tenant canvas runtime selector (write-only Redis
scaffolding with no runtime callers) and its dependent metrics/admin
code.
- Move the tokenizer embedding-model id from the shared ingestion
globals into a Tokenizer-scoped setup, and wire the production embedder
resolver in the ingestion task package.
32 files changed, 861 insertions, 1228 deletions.
2026-07-10 15:46:45 +08:00
Jin Hai
0b01171a86
Go: Update response message ( #16803 )
...
### Summary
As title.
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-10 14:26:54 +08:00
buua436
28340f6218
GO: improve model info parsing and add model_id/tenant context to list response ( #16804 )
2026-07-10 13:29:01 +08:00
Jin Hai
add7b9486f
Go: merge duplicate codes ( #16783 )
...
### Summary
1. merge heartbeat function.
2. introduce all environments
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-10 11:58:32 +08:00
qinling0210
ae96e636e9
Handle searching dataset without embedding model ( #16742 )
...
### Summary
Handle searching dataset without embedding model
In this PR, Searching datasets with different embedding models or
searching dataset with/without embedding models are not allowed. We will
improve the behavior later.
2026-07-09 11:38:55 +08:00
qinling0210
8e3bbad4da
Port agent PRs to GO - 5 ( #16667 )
...
### Summary
Port
https://github.com/infiniflow/ragflow/pull/15376
https://github.com/infiniflow/ragflow/pull/16401
https://github.com/infiniflow/ragflow/pull/15484
https://github.com/infiniflow/ragflow/pull/16685
2026-07-08 19:54:29 +08:00
Jack
0dd0ac06f8
Feature: task executor migration to go ( #16549 )
...
### Summary
Feature: Integrate parser
2026-07-08 19:08:11 +08:00