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-12 22:58:28 +08:00
2026-06-12 22:58:28 +08:00
2026-06-17 13:24:03 +08:00
2026-06-12 22:58:28 +08:00
2026-06-17 13:24:03 +08:00
2026-06-17 13:24:03 +08:00
2026-04-10 18:00:41 +08:00
2026-06-09 19:29:25 +08:00
2026-06-12 20:49:34 +08:00
2026-04-10 14:33:32 +08:00
2026-06-08 16:16:56 +08:00
2026-06-09 22:48:50 +08:00
2026-03-27 19:25:18 +08:00
2026-06-03 20:08:55 +08:00
2026-06-03 20:08:55 +08:00
2026-06-18 17:57:24 +08:00
2026-06-05 21:16:25 +08:00
2026-06-10 11:07:45 +08:00
2026-06-18 11:08:47 +08:00
2026-06-18 11:08:47 +08:00
2026-06-12 16:09:10 +08:00
2026-06-12 16:09:10 +08:00
2026-06-15 11:19:56 +08:00
2026-06-15 11:19:56 +08:00
2026-06-12 16:09:10 +08:00
2026-06-12 16:09:10 +08:00
2026-06-03 17:35:36 +08:00
2026-06-18 11:09:22 +08:00
2026-06-18 11:09:22 +08:00
2026-06-10 21:27:35 +08:00
2026-06-10 21:27:35 +08:00
2026-06-08 21:38:15 +08:00
2026-06-15 14:44:16 +08:00
2026-06-08 11:53:19 +08:00
2026-06-08 11:53:19 +08:00
2026-06-18 17:56:51 +08:00
2026-06-18 17:56:51 +08:00
2026-04-13 15:07:04 +08:00
2026-06-12 20:49:34 +08:00
2026-06-12 20:49:34 +08:00
2026-06-12 18:18:55 +08:00
2026-05-29 19:32:21 +08:00
2026-06-12 20:49:34 +08:00
2026-06-12 20:49:34 +08:00
2026-06-12 16:09:10 +08:00
2026-06-16 12:53:03 +08:00
2026-06-15 14:44:16 +08:00