Google Model Armor: Sanitize a model response through a Model Armor template.
技能名称: gws-modelarmor-sanitize-response
详细描述:
先决条件: 阅读 ../gws-shared/SKILL.md 了解认证、全局标志和安全规则。如果缺失,请运行 gws generate-skills 创建该文件。
通过 Model Armor 模板净化模型响应
bash
gws modelarmor +sanitize-response --template <名称>
| 标志 | 必需 | 默认值 | 描述 |
|---|---|---|---|
| --template | ✓ | — | 完整的模板资源名称 (projects/PROJECT/locations/LOCATION/templates/TEMPLATE) |
| --text |
bash
gws modelarmor +sanitize-response --template projects/P/locations/L/templates/T --text 模型输出
model_cmd | gws modelarmor +sanitize-response --template ...
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 gws-modelarmor-sanitize-response-1776203783 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 gws-modelarmor-sanitize-response-1776203783 技能
skillhub install gws-modelarmor-sanitize-response-1776203783
文件大小: 1.41 KB | 发布时间: 2026-4-15 13:14