# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
How many chat choices or images to return.
Number between -2.0 and 2.0.
When set, system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
The language for transcription.
How many chat completion choices to generate for each input message.
ID of the model to use.
Set an organization where the user has access to multiple organizations.
Number between -2.0 and 2.0.
An optional text to guide the model's style or continue a previous audio segment.
The quality of the image that will be generated.
Format of the returned response, use "json_format" to enable JSON mode, which guarantees the message the model generates is valid JSON.
When set, system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
The size of the generated images.
The speed of the generated audio.
Partial message deltas will be sent, like in ChatGPT.
The style of the generated images.
When set, system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
# Structs
A chat completion object.
No description provided by the author
An image.
A message choice object.
A message choice object.
Message content.
Message content image file.
Message content image url.
A tool.
A tool function.
Tool function call parameter.
Tool function parameters.
Represents a transcription response returned by model, based on the provided input.
# Interfaces
An abstract request object.
# Type aliases
A message content array.
type ChatCompletionOpt func(*chatRequest) error type ImageOpt func(*imageRequest) error.