GET
/v1/schemas/nvidia/chat/poolside/laguna-xs-2.1
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracea009781c44d1aaa89d78c50380fec12dfb0da7ec2b23668d6d003896d0391e54{
"fetchedAt": 1791535404,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
6 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: "poolside/laguna-xs-2.1" | |
| temperature | number | The sampling temperature to use for text generation. The higher the temperature value is, the less deterministic the output text will be. It is not recommended to modify both temperature and top_p in the same call. | 0 ≤ n ≤ 1 · default: 1 |
| top_p | number | The top-p sampling mass used for text generation. The top-p value determines the probability mass that is sampled at sampling time. For example, if top_p = 0.2, only the most likely tokens (summing to 0.2 cumulative probability) will be sampled. It is not reco… | 0 < n ≤ 1 · default: 0.95 |
| max_tokens | integer | The maximum number of tokens to generate in any given call. Note that the model is not aware of this value, and generation will simply stop at the number of tokens specified. | 1 ≤ n ≤ 16384 · default: 8192 |
| 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 |
Types
1 $defsMessageobject
| role* | enum | The role of the message author. | user | assistant |
| content* | string | The contents of the message. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"nvidia","endpointId":"poolside/laguna-xs-2.1","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}