Commit Graph
205 Commits
Author SHA1 Message Date
Wang Qi d3ee290f56 Resolve the comments (#22059) 2026-11-06 09:32:02 +08:00
jay77721 5dc7683aa4 fix(parser): detect Office content before selecting Go parsers (#21909) 2026-11-03 17:38:56 +08:00
Wang Qi a26066c879 Refactor: refine response data (#21858) 2026-11-03 14:10:05 +08:00
Lim Jooyoung 45ffe5c107 fix(cli): list only accepted commands in \help (#21503) 2026-11-02 19:19:58 +08:00
adws d554abacab feat(admin): add user search, status filtering, sorting, and CLI pagination (#21729) 2026-11-02 12:14:32 +08:00
jay77721 aaa8e05354 feat(parser): hand off Office images as media refs (#21700) 2026-10-30 16:48:51 +08:00
Zhichang Yu 327cdb2d80 refactor(api): hyphenate the remaining route path segments (#21730) 2026-10-30 10:34:18 +08:00
jay77721 5b397cecd2 feat(parser): hand off EPUB images as media refs (#21677) 2026-10-29 17:20:44 +08:00
Zhichang Yu 9a71c10b09 refactor: keep the enterprise code out of the community build (#21614) 2026-10-29 11:35:50 +08:00
buua436 1ed2737ffa fix: isolate analyzer and benchmark worker state (#21583) 2026-10-29 09:35:43 +08:00
jay77721 d697b0410a feat(parser): add media references for on-demand image materialization (#21561) 2026-10-28 19:47:53 +08:00
buua436 e4070b48ba fix: prevent command and path injection (#21539) 2026-10-27 19:09:31 +08:00
buua436 dbda628a85 fix: handle malformed provider and CLI responses (#21546) 2026-10-27 17:59:24 +08:00
adws bff3e0ebbc feat(cli): add admin ingestion log command hooks (#21470) 2026-10-26 19:28:38 +08:00
buua436 d3f6d032a1 test: keep EE test placeholders in OSS (#21476)
### What problem does this PR solve?

Keeps enterprise-only test files as placeholders in the open-source tree
instead of moving enterprise-specific test behavior into
`community_test` files.

### Type of change

- [x] Refactor (no functional change)
2026-10-26 15:31:07 +08:00
buua436 67f9b211ab fix: respect active tenant in service operations (#21462) 2026-10-26 13:05:36 +08:00
buua436 ad5c331c0b fix: remove system variable API routes (#21410) 2026-10-23 16:59:28 +08:00
Jin Hai 1d7744f944 CLI: model group (#21392)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-10-23 15:48:38 +08:00
Jin Hai b73f030931 CLI: add show model stats (#21376)
```
SHOW MODEL STATS;
SHOW MODEL STATS DAYS 7; 
SHOW MODEL STATS FROM '2024-01-01' TO '2024-01-31';

SHOW MODEL STATS DAYS 7 'openai';                        -- provider
SHOW MODEL STATS DAYS 7 'openai' 'prod';                 -- provider + instance
SHOW MODEL STATS DAYS 7 'openai' 'prod' 'gpt-4o';        -- provider + instance + model

SHOW MODEL STATS DAYS 7 BY DATE;
SHOW MODEL STATS DAYS 7 BY MODEL;
SHOW MODEL STATS DAYS 7 BY INSTANCE;
SHOW MODEL STATS DAYS 7 BY PROVIDER;

SHOW MODEL STATS DAYS 30 'openai' BY DATE;
SHOW MODEL STATS DAYS 30 'openai' 'prod' BY MODEL;
SHOW MODEL STATS DAYS 30 'openai' 'prod' 'gpt-4o' BY DATE;
SHOW MODEL STATS FROM '2024-01-01' TO '2024-01-31' 'azure' BY INSTANCE;
SHOW MODEL STATS FROM '2024-01-01' TO '2024-01-31' BY PROVIDER;
```

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-10-23 13:29:40 +08:00
adws 9c41ec8dbd refactor(admin): move ingestion task listing to EE (#21312) 2026-10-22 16:23:44 +08:00
lemonzoey 102d719fd5 fix(cli): send the dataset_id filter and guard the memory lookup type assertion (#21193) 2026-10-21 18:12:37 +08:00
adws 354090279b refactor(admin): isolate user agent and dataset listings in EE files (#21210) 2026-10-20 19:03:29 +08:00
Jin Hai 3f3f588abe CLI: add show quota (#21243)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-10-20 18:54:51 +08:00
adws 232b3f7721 fix(api): return nonempty string response messages (#21194) 2026-10-20 11:55:24 +08:00
Jin Hai 5124117e54 Go: update EE interface (#21056)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-10-16 14:59:56 +08:00
Jin Hai 8ff96a563a Fix CLI output truncation (#21052)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-10-16 12:56:28 +08:00
Wang Qi 863fee004c Refactor: Delete not used APIs (#20894) 2026-10-13 17:48:55 +08:00
ciel b8ff1a416f Revert "fix(cli): drop PENDING as a parameter for message queue commands" (#20823)
Reverts infiniflow/ragflow#20367
2026-10-12 17:48:40 +08:00
Taranum Wasu 1dc6f3ea63 CLI dataset document pagination is sent as HTTP headers (#20493)
## Summary

Append encoded page/page_size query parameters, keep headers empty, and
use a nonzero default page size.

Fixes #20488
2026-10-10 14:21:00 +08:00
Taranum Wasu f2e618aed6 CLI file timestamps reject offsets and discard milliseconds (#20491)
Fixes #20486

## Summary

Try RFC3339/RFC3339Nano and preserve the millisecond remainder when
converting epoch milliseconds.
2026-10-10 10:47:29 +08:00
xugangqiang b75e195f22 feat(parser): unify BuiltIn and Pipeline parser selection into one dropdown (#20603) 2026-10-09 13:25:09 +08:00
helloxjade 690c4e7c3f fix(cli): refresh filesystem providers when switching API servers (#20498) 2026-10-08 14:42:43 +08:00
ciel fc578eabf8 fix(cli): drop PENDING as a parameter for message queue commands (#20367) 2026-09-30 09:42:59 +08:00
Jin Hai 950b0fa4a3 Go cli: refactor (#20249)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-29 14:20:09 +08:00
Jin Hai 4ba5479210 Go cli: refactor api command auth (#20247)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-29 14:20:02 +08:00
Jin Hai 204d82ac89 Go cli: refactor api command (#20239)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-29 14:19:57 +08:00
Jin Hai 80eceff8c1 Go cli: refactor auth helper (#20238)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-29 14:19:48 +08:00
Jin Hai b63d4124e7 Go: refactor cli, remove getDatasetID (#20236)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-29 14:19:40 +08:00
YanZhang fa0f3c29ab docs: update docs with go (#20062) 2026-09-29 10:35:03 +08:00
Jin Hai 7c102247c6 refactor: update go verion server port to 9380 and 9381 (#20298)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-28 17:35:16 +08:00
Jin Hai 8677b79738 Go CLI: fix show user (#20021)
```
RAGFlow(admin)> show user 'aaa@aaa.com';
+--------+---------------------------+-------------+-----------+--------------+--------------+----------+---------------------------+---------------+--------+---------------------------+
| avatar | create_date               | email       | is_active | is_anonymous | is_superuser | language | last_login_time           | login_channel | status | update_date               |
+--------+---------------------------+-------------+-----------+--------------+--------------+----------+---------------------------+---------------+--------+---------------------------+
|        | 2026-03-16T13:37:07+08:00 | aaa@aaa.com | 1         | 0            | false        | en       | 2026-09-22T11:47:37+08:00 | password      | 1      | 2026-09-22T11:47:37+08:00 |
+--------+---------------------------+-------------+-----------+--------------+--------------+----------+---------------------------+---------------+--------+---------------------------+
```

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-22 12:36:12 +08:00
Jin Hai 16de4bfcb6 Go CLI: set/show cpu/memory/concurrency (#20002)
```
RAGFlow(api/default)> show cores;
ragflow-cli error: Get cores not implemented
RAGFlow(api/default)> set cores 1;
ragflow-cli error: Set cores not implemented
RAGFlow(api/default)> show memory;
ragflow-cli error: Get memory not implemented
RAGFlow(api/default)> set memory 1;
ragflow-cli error: Set memory not implemented
RAGFlow(api/default)> show concurrency;
ragflow-cli error: Get concurrency not implemented
RAGFlow(api/default)> show concurrency 1;
ragflow-cli error: Get concurrency not implemented
```

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-21 21:50:13 +08:00
Jin Hai c69960bc26 Go CLI: show hardware (#19991)
```
RAGFlow(admin)> show hardware
+----------+-------------+
| field    | value       |
+----------+-------------+
| Memory   | 33045229568 |
| OS       | linux       |
| Arch     | amd64       |
| CPUCores | 14          |
+----------+-------------+
```

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-21 19:25:11 +08:00
qinling0210 25a7c14e4f fix(tag): rebuild tagging on a Go tag source index (#19985)
### Summary

rebuild tagging on a Go tag source index

```
The following endpoints are removed in GO because there is no tag datatset inGO.
GET	/api/v1/datasets/:dataset_id/tags 
PUT	/api/v1/datasets/:dataset_id/tags 
DELETE	/api/v1/datasets/:dataset_id/tags 
```
2026-09-21 19:23:29 +08:00
Jin Hai 84b7608668 Go CLI: fix benchmark (#19946)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-09-21 14:45:22 +08:00
Wang Qi fe501ebb04 Refactor: move chat message/reference to dedicated tables (#19577) 2026-09-15 15:52:12 +08:00
gluedtea 58d42f9341 docs: clarify parser and email text (#19541)
Clarifies Docker, email parameter, and parser wording.
2026-09-14 19:20:38 +08:00
qinling0210 aa78e8d224 Remove internal cli 'insert chunks from file' and 'insert metadata from file' (#19591) 2026-09-14 14:23:04 +08:00
jay77721 1ed2fc26f0 refactor(ingestion): use worker-driven task pull dispatcher (#19314) 2026-09-09 14:13:07 +08:00
Wang Qi b7e577ce48 Refactor: combine 3 retrieval/search API as one (#19303) 2026-09-08 11:41:46 +08:00