Haruko386
217c2a94c2
feat[Go]: implement datasets/<dataset_id>/index P/G (#16153)
### What problem does this PR solve?
```
POST: http://localhost:9384/api/v1/datasets/433b390c630411f1a13eab5f89540b2a/index?type=graph
Output: {
"code": 0,
"data": {
"task_id": "ff5a3546bafa49d794a9a050d99c4a52"
},
"message": "success"
}
```
---
```
GET: http://localhost:9384/api/v1/datasets/433b390c630411f1a13eab5f89540b2a/index?type=graph
Output: {
"code": 0,
"data": {
"id": "ff5a3546bafa49d794a9a050d99c4a52",
"doc_id": "graph_raptor_x",
"from_page": 100000000,
"to_page": 100000000,
"task_type": "graphrag",
"priority": 0,
"begin_at": "2026-06-17T18:07:45+08:00",
"process_duration": 4.108135,
"progress": -1,
"progress_msg": "18:07:45 created task graphrag\n18:07:47 Task has been received.\n18:07:49 [ERROR][Exception]: Model config not found: Qwen/Qwen3-235B-A22B@test@SILICONFLOW",
"retry_count": 1,
"digest": "f16fd067d5c92cec",
"create_time": 1781690865552,
"create_date": "2026-06-17T18:07:45+08:00",
"update_time": 1781690869108,
"update_date": "2026-06-17T18:07:49+08:00"
},
"message": "success"
}
```
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2026-06-18 17:57:24 +08:00
..
2026-06-10 09:54:07 +08:00
2026-06-12 22:58:28 +08:00
2026-06-05 10:13:30 +08:00
2026-06-17 11:26:13 +08:00
2026-06-17 11:26:13 +08:00
2026-06-08 16:26:27 +08:00
2026-06-08 16:26:27 +08:00
2026-04-10 13:06:51 +08:00
2026-06-18 17:57:07 +08:00
2026-06-18 17:57:07 +08:00
2026-06-18 17:57:24 +08:00
2026-06-18 17:57:24 +08:00
2026-06-03 20:55:53 +08:00
2026-06-10 16:46:55 +08:00
2026-06-15 11:19:56 +08:00
2026-06-15 11:19:56 +08:00
2026-06-12 14:56:44 +08:00
2026-06-03 20:55:53 +08:00
2026-06-08 11:49:37 +08:00
2026-03-27 19:25:18 +08:00
2026-03-27 19:25:18 +08:00
2026-06-02 09:37:05 +08:00
2026-06-02 15:58:44 +08:00
2026-06-10 21:27:35 +08:00
2026-05-14 13:46:46 +08:00
2026-06-01 11:23:44 +08:00
2026-04-13 15:07:04 +08:00
2026-05-14 13:46:46 +08:00
2026-05-14 13:46:46 +08:00
2026-05-18 19:08:45 +08:00
2026-06-04 14:16:13 +08:00
2026-06-04 14:16:13 +08:00
2026-04-24 15:30:14 +08:00
2026-04-02 20:20:35 +08:00
2026-04-02 20:20:35 +08:00
2026-06-12 22:58:28 +08:00
2026-06-12 22:58:28 +08:00
2026-06-18 17:56:51 +08:00
2026-06-18 17:56:51 +08:00
2026-06-18 17:56:51 +08:00
2026-06-08 11:49:37 +08:00
2026-03-27 19:25:18 +08:00
2026-06-08 16:26:27 +08:00
2026-06-12 22:58:28 +08:00
2026-06-12 22:58:28 +08:00
2026-06-12 22:58:28 +08:00
2026-06-10 21:27:35 +08:00
2026-03-27 19:25:18 +08:00