为type,Type of turn detection, only "server_vad" is currently supported.
示例值:
server_vad
threshold
number
可选
Activation threshold for VAD (0.0 to 1.0).
示例值:
0.5
prefix_padding_ms
integer
可选
Amount of audio to include before speech starts (in milliseconds).
示例值:
300
silence_duration_ms
integer
可选
Duration of silence to detect speech stop (in milliseconds).
示例值:
200
tools
array[string]
可选
Tools (functions) available to the model.
示例值:
["type","name","description","parameters",""]
tool_choice
string
可选
How the model chooses tools. Options are "auto", "none", "required", or specify a function.
示例值:
auto
temperature
string
可选
Sampling temperature for the model.
示例值:
0.8
max_output_tokens
string
可选
Maximum number of output tokens for a single assistant response, inclusive of tool calls. Provide an integer between 1 and 4096 to limit output tokens, or "inf" for the maximum available tokens for a given model. Defaults to "inf".