OpenAI::RealtimeBetaServerEventConversationItemTruncated
Inherits JSON::Serializable < Reference < Object
Returned when an earlier assistant audio message item is truncated by the
client with a conversation.item.truncate event. This event is used to
synchronize the server's understanding of the audio with the client's playback.
This action will truncate the audio and remove the server-side text transcript to ensure there is no text in the context that hasn't been heard by the user.
Constructors
new(pull : JSON::PullParser)
Sourcenew(event_id : String = "", type_value : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, item_id : String = "", content_index : Int64 = 0, audio_end_ms : Int64 = 0)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Source