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
helloxjade
64c01d2b29
fix(cli): pass search number as file limit ( #19285 )
...
### Summary
The Go CLI parses `search foo files -n 20` into
`SearchCommandOptions.TopK`, but only forwards the value as `top_k`.
File search reads the independent `SearchOptions.Limit` field, so it
receives zero and falls back to the default page size.
This change forwards the parsed number as both `limit` and `top_k`. File
search can consume `Limit`, while semantic dataset search continues to
consume `TopK`.
A focused regression test covers the full CLI command-to-provider
parameter path.
Fixes #19284
2026-09-07 11:28:00 +08:00
Wang Qi
ba625dc52b
Refactor: refine error messages - use %W ( #18834 )
2026-08-27 11:21:17 +08:00
Ngo Quoc Viet
9dc3a5bfba
fix(cli): count benchmark application failures ( #18292 )
...
### Summary
The CLI benchmark treated every HTTP 200 response as successful, even
when the RAGFlow response envelope reported a non-zero application code.
This caused failed API calls to inflate the benchmark success count.
- classify benchmark responses using both HTTP status and the response
envelope code
- preserve successful plain-text HTTP 200 endpoints such as ping
- cover HTTP 200 application failures with an in-process HTTP regression
test
2026-08-21 20:31:52 +08:00
Wang Qi
9357f79eb4
Fix: go switch user from superuser to normal user error ( #18537 )
2026-08-20 18:03:30 +08:00
krishna soni
17a55558b7
feat(cli): add --version flag to cli ( #18534 )
...
### Summary
This PR adds a `--version` (and `-V`) flag to the `ragflow-cli` tool.
### Usage
```bash
ragflow-cli --version
2026-08-20 10:33:03 +08:00
mkaaad
0dbfaa8b67
feat(cli): add sync logs listing commands for the user CLI ( #18195 )
...
### Summary
```
RAGFlow(api/default)> LIST SYNC LOGS WITH PAGE_SIZE 2 PAGE 2;
Total: 764
+----------------------------------+-------------------------+-------------+-----------+----------------------------------+----------------------------------+---------+------------------+------------+--------------+--------+-----------+---------------------+--------------------+---------------------+
| connector_id | docs_removed_from_index | error_count | error_msg | id | kb_id | kb_name | new_docs_indexed | prune_freq | refresh_freq | status | task_type | time_started | total_docs_indexed | update_date |
+----------------------------------+-------------------------+-------------+-----------+----------------------------------+----------------------------------+---------+------------------+------------+--------------+--------+-----------+---------------------+--------------------+---------------------+
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | fb55b5f1fb754475834cd9eac8b52054 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:45 | 16 | 2026-08-13 09:49:46 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | 3cad779d7d2e4efb8d8d2dbf05d45653 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:42 | 16 | 2026-08-13 09:49:43 |
+----------------------------------+-------------------------+-------------+-----------+----------------------------------+----------------------------------+---------+------------------+------------+--------------+--------+-----------+---------------------+--------------------+---------------------+
```
```
RAGFlow(api/default)> LIST SYNC LOGS;
Total: 764
+----------------------------------+-------------------------+-------------+--------------------------------------------------------------------------------------------+----------------------------------+----------------------------------+---------+------------------+------------+--------------+--------+-----------+---------------------+--------------------+---------------------+
| connector_id | docs_removed_from_index | error_count | error_msg | id | kb_id | kb_name | new_docs_indexed | prune_freq | refresh_freq | status | task_type | time_started | total_docs_indexed | update_date |
+----------------------------------+-------------------------+-------------+--------------------------------------------------------------------------------------------+----------------------------------+----------------------------------+---------+------------------+------------+--------------+--------+-----------+---------------------+--------------------+---------------------+
| 02b5b14183884445bd55ad6b9d322204 | 0 | 1 | sync task failed: failed to fetch URL: Get "https://xxxxxxxxxxxx/rss.xml ": EOF | 87592e5623fc4284bf69b9290f322718 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 4 | sync | 2026-08-13 09:49:48 | 16 | 2026-08-13 09:51:01 |
| 570138201cf44e1180711f1ebdf8492f | 0 | 1 | sync task failed: failed to fetch URL: Get "https://www.ruanyifeng.com/blog/atom.xml ": EOF | 456adbbf21a147af99adfce4405abd99 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 1 | 4 | sync | 2026-08-13 09:50:00 | 3 | 2026-08-13 09:50:18 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | fb55b5f1fb754475834cd9eac8b52054 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:45 | 16 | 2026-08-13 09:49:46 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | 3cad779d7d2e4efb8d8d2dbf05d45653 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:42 | 16 | 2026-08-13 09:49:43 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | dd09320aa5b34d6cbcfa7b03ede68c4a | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:36 | 16 | 2026-08-13 09:49:38 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | afbcee73240f420ca1997e6506f387fb | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:33 | 16 | 2026-08-13 09:49:34 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | 7d018146a0f14a25b7263d5980fdc30f | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:30 | 16 | 2026-08-13 09:49:32 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | 520e0d6f421e40628ab541fc4fee1a69 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:27 | 16 | 2026-08-13 09:49:28 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | 3d3ce49825de4ef99642e7994ae954e3 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:21 | 16 | 2026-08-13 09:49:22 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | 1c511f9b4a7c425fb30a956589ca56fa | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:18 | 16 | 2026-08-13 09:49:19 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | b9ab73c3f48c4f47a84fd55b542b32b4 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:15 | 16 | 2026-08-13 09:49:16 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | db0cad90a7744d758b24d2e3d3828963 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:12 | 16 | 2026-08-13 09:49:13 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | a501eadb2cce452187f3c86431352c70 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:08 | 16 | 2026-08-13 09:49:10 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | b4265a3b7baf4466a525b91a9fe21b71 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:03 | 16 | 2026-08-13 09:49:05 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | a6ad590931c046dda5fc3222b4010c06 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:00 | 16 | 2026-08-13 09:49:02 |
......
+----------------------------------+-------------------------+-------------+--------------------------------------------------------------------------------------------+----------------------------------+----------------------------------+---------+------------------+------------+--------------+--------+-----------+---------------------+--------------------+---------------------+
```
list all logs
```
RAGFlow(api/default)> LIST DATASET 'test' SYNC LOGS;
Total: 764
+----------------------------------+-------------------------+-------------+--------------------------------------------------------------------------------------------+----------------------------------+----------------------------------+---------+------------------+------------+--------------+--------+-----------+---------------------+--------------------+---------------------+
| connector_id | docs_removed_from_index | error_count | error_msg | id | kb_id | kb_name | new_docs_indexed | prune_freq | refresh_freq | status | task_type | time_started | total_docs_indexed | update_date |
+----------------------------------+-------------------------+-------------+--------------------------------------------------------------------------------------------+----------------------------------+----------------------------------+---------+------------------+------------+--------------+--------+-----------+---------------------+--------------------+---------------------+
| 02b5b14183884445bd55ad6b9d322204 | 0 | 1 | sync task failed: failed to fetch URL: Get "https://xxxxxxxxxxxx/rss.xml ": EOF | 87592e5623fc4284bf69b9290f322718 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 4 | sync | 2026-08-13 09:49:48 | 16 | 2026-08-13 09:51:01 |
| 570138201cf44e1180711f1ebdf8492f | 0 | 1 | sync task failed: failed to fetch URL: Get "https://www.ruanyifeng.com/blog/atom.xml ": EOF | 456adbbf21a147af99adfce4405abd99 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 1 | 4 | sync | 2026-08-13 09:50:00 | 3 | 2026-08-13 09:50:18 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | fb55b5f1fb754475834cd9eac8b52054 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:45 | 16 | 2026-08-13 09:49:46 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | 3cad779d7d2e4efb8d8d2dbf05d45653 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:42 | 16 | 2026-08-13 09:49:43 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | dd09320aa5b34d6cbcfa7b03ede68c4a | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:36 | 16 | 2026-08-13 09:49:38 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | afbcee73240f420ca1997e6506f387fb | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:33 | 16 | 2026-08-13 09:49:34 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | 7d018146a0f14a25b7263d5980fdc30f | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:30 | 16 | 2026-08-13 09:49:32 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | 520e0d6f421e40628ab541fc4fee1a69 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:27 | 16 | 2026-08-13 09:49:28 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | 3d3ce49825de4ef99642e7994ae954e3 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:21 | 16 | 2026-08-13 09:49:22 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | 1c511f9b4a7c425fb30a956589ca56fa | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:18 | 16 | 2026-08-13 09:49:19 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | b9ab73c3f48c4f47a84fd55b542b32b4 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:15 | 16 | 2026-08-13 09:49:16 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | db0cad90a7744d758b24d2e3d3828963 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:12 | 16 | 2026-08-13 09:49:13 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | a501eadb2cce452187f3c86431352c70 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:08 | 16 | 2026-08-13 09:49:10 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | b4265a3b7baf4466a525b91a9fe21b71 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:03 | 16 | 2026-08-13 09:49:05 |
| 02b5b14183884445bd55ad6b9d322204 | 0 | 0 | | a6ad590931c046dda5fc3222b4010c06 | 0e6e28e65b7044e58070e0e4252319a6 | test | 0 | 5 | 0 | 3 | sync | 2026-08-13 09:49:00 | 16 | 2026-08-13 09:49:02 |
......
+----------------------------------+-------------------------+-------------+--------------------------------------------------------------------------------------------+----------------------------------+----------------------------------+---------+------------------+------------+--------------+--------+-----------+---------------------+--------------------+---------------------+
```
2026-08-13 18:39:29 +08:00
Jin Hai
d7661b676d
Go: fix context and warnings ( #18097 )
...
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-08-11 16:18:49 +08:00
Jin Hai
c0bc146fcb
Go: fix env variables ( #18032 )
...
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-08-10 14:37:05 +08:00
Jin Hai
1e78789448
Go: add soft fingerprint framework ( #17837 )
...
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-08-05 13:54:09 +08:00
Jin Hai
f621b4c7b4
Go: refactor config ( #17678 )
...
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-08-01 22:06:56 +08:00
Jin Hai
26a5af8b83
Go: fix list services ( #17664 )
...
### Summary
1. Fix admin list services;
2. Fix admin show service 'service_name';
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-08-01 14:52:37 +08:00
futurehua
bd355deaa9
refactor: use the built-in max/min to simplify the code ( #17059 )
...
### Summary
In Go 1.21, the standard library includes built-in
[max/min](https://pkg.go.dev/builtin@go1.21.0#max ) function, which can
greatly simplify the code.
Signed-off-by: futurehua <futurehua@outlook.com >
2026-07-24 15:33:02 +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
maoyifeng
49374eede3
Go cli: fix list users failed: invalid JSON (unexpected end of JSON ) ( #17153 )
...
### Summary
Go cli: fix list users failed: invalid JSON (unexpected end of JSON )
2026-07-21 16:46:45 +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
Jin Hai
b2e88c9933
Go: fix missing route ( #17094 )
...
As title.
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-20 14:52:09 +08:00
Jin Hai
7ad27adecb
Go CLI: add admin stats commands ( #17090 )
...
### Summary
```
RAGFlow(admin)> STATS USERS TOP 5 FROM '2026-01-01' TO '2026-02-01';
+-----------------------+----------------------------------------------+------------+---------------------+-----+
| command | error | from_date | to_date | top |
+-----------------------+----------------------------------------------+------------+---------------------+-----+
| get_token_users_stats | 'Get API token users stats' is not supported | 2026-01-01 | 2026-02-01 23:59:59 | 5 |
+-----------------------+----------------------------------------------+------------+---------------------+-----+
RAGFlow(admin)> STATS USER 'aaa@aaa.com ' FROM '2026-01-01' TO '2026-02-01' MONTH;
+-----------------+----------------------------------------+------------+-------------+---------------------+-------------+
| command | error | from_date | granularity | to_date | user_name |
+-----------------+----------------------------------------+------------+-------------+---------------------+-------------+
| get_token_stats | 'Get API token stats' is not supported | 2026-01-01 | month | 2026-02-01 23:59:59 | aaa@aaa.com |
+-----------------+----------------------------------------+------------+-------------+---------------------+-------------+
RAGFlow(admin)> STATS SUMMARY FROM '2026-01-01' TO '2026-02-01' MONTH;
+-----------+------------------------------------------------+
| field | value |
+-----------+------------------------------------------------+
| to_date | 2026-02-01 23:59:59 |
| command | get_token_stats_summary |
| error | 'Get API token stats summary' is not supported |
| from_date | 2026-01-01 |
+-----------+------------------------------------------------+
```
---------
Signed-off-by: Jin Hai <haijin.chn@gmail.com >
2026-07-20 14:24:28 +08:00