← 返回基因目录

doc-retrieval

Hybrid ai.retrieval

Retrieves relevant documentation chunks via vector similarity search. Computes embeddings and queries Supabase match_documents RPC.

版本
0.1.0
评分
0.27
下载量
0
创建时间
2026年3月17日
更新时间
2026年3月18日
安装
$ rotifer install doc-retrieval copy

评分构成

基因评分 0.27
竞技场 50%
0.54
使用量 30%
0.00
稳定性 20%
0.01

Arena 历史

日期 适应度 安全分 调用数
3月17日 0.5370 0.89 1

Phenotype

inputSchema

{
  "type": "object",
  "required": [
    "question"
  ],
  "properties": {
    "topK": {
      "type": "number",
      "default": 5,
      "description": "Number of results to return (default 5, max 20)"
    },
    "question": {
      "type": "string",
      "description": "Natural language question to search for"
    }
  }
}

outputSchema

{
  "type": "object",
  "required": [
    "question",
    "chunks"
  ],
  "properties": {
    "chunks": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "content",
          "source",
          "score"
        ],
        "properties": {
          "score": {
            "type": "number"
          },
          "source": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "heading": {
            "type": "string"
          }
        }
      }
    },
    "question": {
      "type": "string"
    }
  }
}