SuperAPI AI 工具集

brain

智能体与模型

查看项目

更新于 10-15 20:09

技能介绍

用途:Brain 是机构记忆(institutional-memory)模板,围绕导入 capture、蒸馏、检索知识、写入知识与审阅提案展开,要求使用 Brain 动作而非原始 SQL。

主要能力与用法:回答、广泛搜索或蒸馏前先调用 get-brain-settings,获取助手名称、公司名、语气、来源策略、引用要求、发布层级、脱敏与蒸馏指引。导入素材用 import-capture(通用)或 import-transcript(会议形态:participants、sourceUrl、tags),两者默认 enqueueDistillation: true,省略 sourceId 时自动创建 manual source。capture 需要蒸馏时调用 enqueue-distillation;对已排队/处理中的 capture 重跑只会刷新交接说明,不产生重复队列行。写入知识前调用 get-capture 复制短小精确引用;get-capture 默认对 title/content/metadata 脱敏,需传 includeRawContent: true(需该 source 的编辑权限)才能取得精确子串引用。write-knowledge 的 evidence 条目 quote 字段必须是 capture 的精确子串,否则 validateEvidence 抛错;若返回 mode: "proposal",除非用户要求批准,否则留在审阅中。

Transcript 脱敏:kind === "transcript" 时默认 shouldSanitizeCaptureBeforeStorage 为 true(除非设置或 per-capture/source 配置覆盖)。始终移除招聘/面试评估内容、个人生活及医疗/家庭/薪酬信息,以及 Slack 提及/频道编码、邮箱、电话、疑似 API key 字符串与裸 URL;transcript 相关 metadata 键(raw、segments、transcript、messages、utterances、attendees、participants、speaker(s) 等)也会从存储元数据中丢弃。保留公司相关信号;若无内容保留,存储内容为固定字符串“No company-relevant content retained from this capture.”,应视为无内容可蒸馏而非错误。

搜索:search-knowledge 只对已蒸馏知识的 title/summary/body 做 SQL 文本匹配,用于“Brain 官方知道什么”;search-everything 一次覆盖 knowledge、raw captures 与 sources,并返回 federatedCoverage,是开放问题的默认首选,可用 type: "knowledge" | "capture" | "source" 收窄。两者均不使用向量检索,匹配为确定性 SQL LIKE 评分,不应描述为语义相似。sourcePolicy 决定答案可依赖程度:strict 仅限已审阅知识,balanced 仅在知识稀薄时把原始 capture 标为回退上下文,exploratory 始终可把 capture 与 source 标为线索。跨应用提问遵循 ask-across-everything:先搜 Brain,检查 federatedCoverage,用 call-agent 委托实时/应用自有数据,不得声称 Brain 直接搜索了同级应用数据库。

相关技能:ingestion-and-connectors、brain-runbook、ask-across-everything、security、sharing。限制:资料未提供具体安装命令、平台、收费与效果信息。