GET
/v1/schemas/nvidia/chat/nvidia%2Fllama-3.1-nemoguard-8b-content-safety
Accept:
Request body
3 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| messages* | Message[] | A list of messages comprising the conversation so far. The roles of the messages must be alternating between `user` and `assistant`. The last input message should have role `user`. A message with the the `system` role is optional, and must be the very first me… | |
| model | string | default: "nvidia/llama-3.1-nemoguard-8b-c… | |
| stream | boolean | If set, partial message deltas will be sent. Tokens will be sent as data-only server-sent events (SSE) as they become available (JSON responses are prefixed by `data: `), with the stream terminated by a `data: [DONE]` message. | default: false |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"nvidia","endpointId":"nvidia/llama-3.1-nemoguard-8b-content-safety","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}