gws-modelarmor

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

modelarmor (v1)

modelarmor (v1)

PREREQUISITE: Read
../gws-shared/SKILL.md
for auth, global flags, and security rules. If missing, run
gws generate-skills
to create it.
bash
gws modelarmor <resource> <method> [flags]
前提条件: 阅读
../gws-shared/SKILL.md
了解认证、全局标志和安全规则。如果该文件缺失,请运行
gws generate-skills
来创建它。
bash
gws modelarmor <resource> <method> [flags]

Helper Commands

辅助命令

CommandDescription
+sanitize-prompt
Sanitize a user prompt through a Model Armor template
+sanitize-response
Sanitize a model response through a Model Armor template
+create-template
Create a new Model Armor template
命令描述
+sanitize-prompt
通过Model Armor模板清理用户提示词
+sanitize-response
通过Model Armor模板清理模型响应
+create-template
创建新的Model Armor模板

Discovering Commands

命令探索

Before calling any API method, inspect it:
bash
undefined
在调用任何API方法之前,请先查看其详情:
bash
undefined

Browse 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`标志。