ChatCompletionRequestAssistantMessageContentPart
One OfThe type of the content part.
Allowed values:text
The text content.
Developer message
objectDeveloper-provided instructions that the model should follow, regardless of
messages sent by the user. With o1 models and newer, developer messages
replace the previous system messages.
One OfThe contents of the developer message.
The contents of the developer message.
The role of the messages author, in this case developer.
Allowed values:developer
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Function message
objectThe role of the messages author, in this case function.
Allowed values:function
The contents of the function message.
The name of the function to call.
ChatCompletionRequestMessage
One OfOne OfThe contents of the developer message.
The contents of the developer message.
The role of the messages author, in this case developer.
Allowed values:developer
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Audio content part
objectLearn about audio inputs.
The type of the content part. Always input_audio.
Allowed values:input_audio