模型输出可能被发送到外部 Google Cloud 服务
原文依据:3 处`--text`、完整 `--json` 请求以及管道输入都会交给带有项目、位置和模板资源名的 Model Armor 命令。模型输出可能包含提示词、用户内容、凭据、内部数据或前序命令打印的敏感信息。提供的文件没有说明传输、保留或日志策略。
如果输入含敏感数据,数据可能进入所选 Google Cloud 项目及其日志或处理系统,并受该项目的访问控制和保留政策影响。完整 JSON 还可能包含超出待过滤文本的额外字段。
该 Skill 的用途是把模型回复交给 Google Model Armor 模板处理;内容可来自 `--text`、完整 JSON 或管道。因此,运行示例命令时,模型输出会进入由项目、区域和模板标识的外部云服务,可能暴露其中包含的用户或内部数据。材料未说明日志和保留政策。用户可要求作者说明数据处理政策,并限制输入为不含凭据或机密信息的内容。
|------|----------|---------|-------------|| `--template` | ✓ | — | Full template resource name (projects/PROJECT/locations/LOCATION/templates/TEMPLATE) || `--text` | — | — | Text content to sanitize || `--json` | — | — | Full JSON request body (overrides --text) |查看另外 2 个位置
```bashgws modelarmor +sanitize-response --template projects/P/locations/L/templates/T --text 'model output'model_cmd | gws modelarmor +sanitize-response --template ...```Sanitize a model response through a Model Armor template