feat: ragflow index template (sources/ragflow.md) — 待 MiniMax code 写入首次结果
This commit is contained in:
@@ -0,0 +1,74 @@
|
|||||||
|
# RAGFlow 全文检索索引 (2026-07-16 起开始积累)
|
||||||
|
|
||||||
|
> 数据源: RAGFlow (http://10.10.10.254:9980/) 14 个 KB 全文检索结果
|
||||||
|
> 用途: MiniMax code / Hermes 跨 agent 问 "Robin 的 RAGFlow 里有什么"
|
||||||
|
> 更新: 手动 + 未来 cron 自动
|
||||||
|
|
||||||
|
## 14 个 KB 实时统计
|
||||||
|
|
||||||
|
| KB | ID 前缀 | 文档数 | 类型 |
|
||||||
|
|---|---|---|---|
|
||||||
|
| Organoid1 | 8dfa438274... | 7815 | 类器官综合(旧合并) |
|
||||||
|
| Organoid2 | 044cdb54... | 4974 | 类器官综合(新) |
|
||||||
|
| Organoid | 3c063ce2... | 2514 | 类器官(独立旧库) |
|
||||||
|
| 3Brian | 06af5550... | 454 | 3Brain 全产品 |
|
||||||
|
| Cellink | cf973e0e... | 340 | Cellink 全产品 |
|
||||||
|
| Celvivo | 1555e5b2... | 154 | CelVivo 产品资料 |
|
||||||
|
| FemtoBiomed | c97eb560... | 123 | FemtoBiomed 电转 |
|
||||||
|
| Cellshot | 35d3e1bc... | 73 | Cellshot 产品 |
|
||||||
|
| Celvivo commercial | 922cde08... | 10 | **CelVivo 商业合同** |
|
||||||
|
| LaminarWash | 1ccc4142... | 21 | LaminarWash |
|
||||||
|
|
||||||
|
**总计: 16488 docs / ~96000 chunks**
|
||||||
|
|
||||||
|
## 关键检索参数 (2026-07-08 skill 铁律)
|
||||||
|
|
||||||
|
```
|
||||||
|
POST /api/v1/retrieval
|
||||||
|
{
|
||||||
|
"question": "<query>",
|
||||||
|
"dataset_ids": ["<KB ID>"],
|
||||||
|
"top_k": 5,
|
||||||
|
"threshold": 0.15, ← 必须 0.15-0.2, 默认参数会 0 命中
|
||||||
|
"weight": 0.3 ← 必须 0.3
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## 最近检索结果 (按时间倒序)
|
||||||
|
|
||||||
|
### 2026-07-16: ClinoReactor 设备关键词检索
|
||||||
|
|
||||||
|
待 MiniMax code 执行 RAGFlow 查询后填充。
|
||||||
|
|
||||||
|
## 跨源数据关系
|
||||||
|
|
||||||
|
| 源 | 看什么 |
|
||||||
|
|---|---|
|
||||||
|
| `sources/nocodb.md` | NocoDB 元数据 (标题/作者/年份) |
|
||||||
|
| **`sources/ragflow.md` (本文件)** | **RAGFlow 全文检索结果** |
|
||||||
|
| `sources/literature.md` | 精读笔记 |
|
||||||
|
| `sources/hackernews.md` | 公开讨论 |
|
||||||
|
| `themes.md` | 综合 |
|
||||||
|
|
||||||
|
## API 速查
|
||||||
|
|
||||||
|
```
|
||||||
|
Base: http://10.10.10.254:9980/
|
||||||
|
Token: ragflow-FiKwwHC1Lzw65IA83Funb3a3VF8-D8AC9nw7zYtBbFU
|
||||||
|
Header: Authorization: Bearer <token>
|
||||||
|
```
|
||||||
|
|
||||||
|
### 标准检索
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -X POST "http://10.10.10.254:9980/api/v1/retrieval" \
|
||||||
|
-H "Authorization: Bearer <token>" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{
|
||||||
|
"question": "ClinoReactor",
|
||||||
|
"dataset_ids": ["1555e5b2783211f1ae98677f0bb5075b"], # Celvivo
|
||||||
|
"top_k": 5,
|
||||||
|
"threshold": 0.15,
|
||||||
|
"weight": 0.3
|
||||||
|
}'
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user