gws-modelarmor
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesemodelarmor (v1)
modelarmor (v1)
PREREQUISITE: Readfor auth, global flags, and security rules. If missing, run../gws-shared/SKILL.mdto create it.gws generate-skills
bash
gws modelarmor <resource> <method> [flags]前提条件: 阅读了解认证、全局标志和安全规则。如果该文件缺失,请运行../gws-shared/SKILL.md来创建它。gws generate-skills
bash
gws modelarmor <resource> <method> [flags]Helper Commands
辅助命令
| Command | Description |
|---|---|
| Sanitize a user prompt through a Model Armor template |
| Sanitize a model response through a Model Armor template |
| Create a new Model Armor template |
| 命令 | 描述 |
|---|---|
| 通过Model Armor模板清理用户提示词 |
| 通过Model Armor模板清理模型响应 |
| 创建新的Model Armor模板 |
Discovering Commands
命令探索
Before calling any API method, inspect it:
bash
undefined在调用任何API方法之前,请先查看其详情:
bash
undefinedBrowse resources and methods
浏览资源和方法
gws modelarmor --help
gws modelarmor --help
Inspect a method's required params, types, and defaults
查看某一方法的必填参数、类型和默认值
gws schema modelarmor.<resource>.<method>
Use `gws schema` output to build your `--params` and `--json` flags.gws schema modelarmor.<resource>.<method>
使用`gws schema`的输出来构建你的`--params`和`--json`标志。