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