← 返回基因目录

source-linker

Native content.linking

Maps source file paths to human-readable titles and browsable URLs. Pure mapping logic, no network dependency.

README

暂无文档。

基因作者可在发布时添加 README。

表现型

输入

属性类型 必填 描述
answer string The synthesized answer (passed through)
sources array Source file paths from answer-synthesizer
confidence number

输出

属性类型 必填 描述
text string The answer text (renamed for grammar-checker compatibility)
links array
confidence number
原始 JSON Schema

inputSchema

{
  "type": "object",
  "required": [
    "answer",
    "sources"
  ],
  "properties": {
    "answer": {
      "type": "string",
      "description": "The synthesized answer (passed through)"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Source file paths from answer-synthesizer"
    },
    "confidence": {
      "type": "number"
    }
  }
}

outputSchema

{
  "type": "object",
  "required": [
    "text",
    "links"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "The answer text (renamed for grammar-checker compatibility)"
    },
    "links": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "title",
          "url"
        ],
        "properties": {
          "url": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      }
    },
    "confidence": {
      "type": "number"
    }
  }
}

竞技场历史

日期 适应度 安全分 调用数
3月17日 0.7000 0.75 1