Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.59 KB

File metadata and controls

33 lines (24 loc) · 1.59 KB

ChatCompletionMessageAudio

If the audio output modality is requested, this object contains data about the audio response from the model. Learn more.

Properties

Name Type Description Notes
id object Unique identifier for this audio response.
data object Base64 encoded audio bytes generated by the model, in the format specified in the request.
expires_at object The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.
transcript object Transcript of the audio generated by the model.

Example

from wallet.models.chat_completion_message_audio import ChatCompletionMessageAudio

# TODO update the JSON string below
json = "{}"
# create an instance of ChatCompletionMessageAudio from a JSON string
chat_completion_message_audio_instance = ChatCompletionMessageAudio.from_json(json)
# print the JSON string representation of the object
print ChatCompletionMessageAudio.to_json()

# convert the object into a dict
chat_completion_message_audio_dict = chat_completion_message_audio_instance.to_dict()
# create an instance of ChatCompletionMessageAudio from a dict
chat_completion_message_audio_form_dict = chat_completion_message_audio.from_dict(chat_completion_message_audio_dict)

[Back to Model list] [Back to API list] [Back to README]