OpenAI::RealtimeConversationItemWithReferenceContentItem
Inherits JSON::Serializable < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : RealtimeConversationItemWithReferenceContentItemType | Nil = nil, text : String | Nil = nil, id : String | Nil = nil, audio : String | Nil = nil, transcript : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
id
ID of a previous conversation item to reference (for item_reference
content types in response.create events). These can reference both
client and server created items.
ID of a previous conversation item to reference (for item_reference
content types in response.create events). These can reference both
client and server created items.
The transcript of the audio, used for input_audio content type.
type_value=(type_value : RealtimeConversationItemWithReferenceContentItemType | Nil)
The content type (input_text, input_audio, item_reference, text).