Optional
optionsOptional
parallel_Whether or not to restrict the ability to call multiple tools in one response.
Optional
promptOptional
response_Optional
seedOptional
stream_Additional options to pass to streamed completions. If provided takes precedence over "streamUsage" set at initialization time.
Whether or not to include token usage in the stream.
If set to true
, this will include an additional
chunk at the end of the stream with the token usage.
Optional
strictIf true
, model output is guaranteed to exactly match the JSON Schema
provided in the tool definition. If true
, the input schema will also be
validated according to
https://platform.openai.com/docs/guides/structured-outputs/supported-schemas.
If false
, input schema will not be validated and model output will not
be validated.
If undefined
, strict
argument will not be passed to the model.
Enabled by default for "gpt-"
models.
Optional
tool_Optional
tools
Additional options to pass to the underlying axios request.