Optionalaudio
Optionalchat_template_kwargs
Optionalfrequency_penalty
frequency_penalty?: number | null
Optionalfunction_call
function_call?: "none" | "auto" | { name: string }
Optionalfunctions
Optionallogit_bias
logit_bias?: Record<string, unknown> | null
Optionallogprobs
logprobs?: boolean | null
Optionalmax_completion_tokens
max_completion_tokens?: number | null
Optionalmax_tokens
max_tokens?: number | null
metadata?: Record<string, unknown> | null
Optionalmodalities
modalities?: ("text" | "audio")[] | null
Optionalmodel
model?: string
Optionaln
n?: number | null
parallel_tool_calls?: boolean
Optionalprediction
Optionalpresence_penalty
presence_penalty?: number | null
Optionalreasoning_effort
reasoning_effort?: "low" | "medium" | "high" | null
Optionalseed
seed?: number | null
Optionalservice_tier
service_tier?: "auto" | "default" | "flex" | "scale" | "priority" | null
Optionalstop
stop?: string | string[] | null
Optionalstore
store?: boolean | null
Optionalstream
stream?: boolean | null
Optionalstream_options
Optionaltemperature
temperature?: number | null
Optionaltop_logprobs
top_logprobs?: number | null
Optionaltop_p
top_p?: number | null
Optionaluser
user?: string
Optionalweb_search_options
Shared optional properties used by both Prompt and Messages input branches.