← 返回基因目录

hook-scorer

Native content.hook.scoring

按吸引力、清晰度、平台适配度进行综合评分。

v0.1.5 2026年4月9日
有更新版本:v0.1.9 →

README

暂无文档。

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

表现型

输入

属性类型 必填
text string
targetCategories array

输出

属性类型 必填
score number
summary string
dimensionScores object
原始 JSON Schema

inputSchema

{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string"
    },
    "targetCategories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}

outputSchema

{
  "type": "object",
  "required": [
    "score",
    "dimensionScores",
    "summary"
  ],
  "properties": {
    "score": {
      "type": "number",
      "maximum": 100,
      "minimum": 0
    },
    "summary": {
      "type": "string"
    },
    "dimensionScores": {
      "type": "object",
      "properties": {
        "diversity": {
          "type": "number"
        },
        "confidence": {
          "type": "number"
        },
        "ethicsPenalty": {
          "type": "number"
        }
      }
    }
  }
}