diff --git a/docs/auth/authorization/permissions-reference.mdx b/docs/auth/authorization/permissions-reference.mdx index e46b8452e4..bfde3e70c6 100644 --- a/docs/auth/authorization/permissions-reference.mdx +++ b/docs/auth/authorization/permissions-reference.mdx @@ -89,6 +89,9 @@ PlatformAdmin is omitted — it bypasses permission checks entirely at the polic | `models.(create \\| update \\| delete)` | Create, update, delete models | | ✓ | ✓ | | `models.adapters.(read \\| list)` | Read, list models adapters | ✓ | ✓ | ✓ | | `models.adapters.(create \\| update \\| delete)` | Create, update, delete models adapters | | ✓ | ✓ | +| `models.prompts.read` | Read model prompts | ✓ | ✓ | ✓ | +| `models.prompts.(create \\| update \\| delete)` | Create, update, delete models prompts | | ✓ | ✓ | +| `models.prompts.list` | List model prompts | | | | | `models.tool-call-plugin.set` | Whether this user can set tool_call_plugin on Models or Deployment Configs *(policy-enforced)* | | | ✓ | | `models.trust-remote-code.set` | Whether this user can set trust_remote_code on Models *(policy-enforced)* | | | ✓ | diff --git a/docs/cli/reference.mdx b/docs/cli/reference.mdx index ed519d408b..42011f745e 100644 --- a/docs/cli/reference.mdx +++ b/docs/cli/reference.mdx @@ -1391,6 +1391,7 @@ nemo inference [OPTIONS] COMMAND [ARGS]... * `deployments`: Manage deployments * `gateway`: Gateway operations * `models`: Manage models +* `prompts`: Manage prompts * `providers`: Manage providers * `virtual-models`: Manage virtual_models @@ -2856,6 +2857,218 @@ nemo inference models list [OPTIONS] * `--no-truncate`: Don't truncate long values in table/markdown/csv output. * `--output-columns, -c`: Columns to display: 'default', 'all', or comma-separated names. Only affects table/csv/markdown formats. +#### nemo inference prompts + +Manage prompts + +**Usage:** + +```shell +nemo inference prompts [OPTIONS] COMMAND [ARGS]... +``` + +**Help:** + +* `--help, -h`: Show this message and exit. + +**Commands:** + +* `create`: Create a new prompt. +* `delete`: Delete a prompt by workspace and name. +* `list`: List prompts for a specific workspace. +* `get`: Get a prompt by workspace and name. +* `update`: Update an existing prompt (full replacement of mutable... + +##### nemo inference prompts create + +Create a new prompt. + +**Required fields:** name + +**Examples:** + +```shell +nemo inference prompts create --input-file config.json +nemo inference prompts create --input-data '{"name": "value"}' +echo '{"json": "data"}' | nemo inference prompts create --input-file - +nemo inference prompts create --