class

OpenAI::RealtimeServerEventConversationItemRetrieved

Inherits JSON::Serializable < Reference < Object

Returned when a conversation item is retrieved with conversation.item.retrieve. This is provided as a way to fetch the server's representation of an item, for example to get access to the post-processed audio data after noise cancellation and VAD. It includes the full content of the Item, including audio data.

Constructors

new(event_id : String = "", type_value : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, item : RealtimeConversationItem = RealtimeConversationItemMessageSystem.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

event_id

The unique ID of the server event.

Source
event_id=(event_id : String)

The unique ID of the server event.

Source
item
Source
item=(item : RealtimeConversationItem)
Source
type_value

The event type, must be conversation.item.retrieved.

Source
type_value=(type_value : Hash(String, JSON::Any))

The event type, must be conversation.item.retrieved.

Source