openai.internal.ChatRequest
The complete request body. Null-valued fields are pruned before the body is serialized, so an unset option never reaches the wire as `"temperature": null`.
Reference version
Signature
class openai.internal.ChatRequestThe complete request body. Null-valued fields are pruned before the body is
serialized, so an unset option never reaches the wire as "temperature": null.
Source:<builtin>/openai/ns_internal/chat.bamlbytes 13543–13857
Fields
model
stringmessages
temperature
float | nullmax_tokens
int | nullmax_completion_tokens
int | nulltop_p
float | nullstop
string[] | nullseed
int | nulltools
openai.internal.ChatTool[] | nulltool_choice
string | nullstream
bool | null