| id |
|---|
model | string | |
messages | array | |
stream | boolean | |
temperature | 0 to 2 | |
top_p | 0 to 1 | |
max_tokens | integer | |
stop | string | array | |
seed | integer | |
frequency_penalty | -2 to 2 | |
presence_penalty | -2 to 2 |
| HTTP | type / code | |
|---|---|---|
| 400 | invalid_request_error | |
| 401 | authentication_error | |
| 402 | insufficient_credits | |
| 429 | rate_limit_error | |
| 429 | budget_exceeded | |
| 502 | upstream_error |