# Functions
NewAudioBufferAppendMessage creates a new audio buffer append message.
NewAudioBufferClearMessage creates a new audio buffer clear message.
NewAudioBufferCommitMessage creates a new audio buffer commit message Note: previousItemID parameter is kept for backward compatibility but is no longer used.
NewConversationCreateMessage creates a new conversation create message.
NewConversationDeleteMessage creates a new conversation delete message.
NewConversationTruncateMessage creates a new conversation truncate message.
NewResponseCancelMessage creates a new response cancel message.
NewResponseCreateMessage creates a new response create message.
NewSessionUpdateMessage creates a new session update message.
# Constants
Audio buffer-related message types.
Audio buffer-related message types.
Audio buffer-related message types.
Conversation-related message types.
Conversation-related message types.
Conversation-related message types.
Response-related message types.
Response-related message types.
Session-related message types.
# Structs
AudioBufferAppendMessage is used to append audio data to the buffer.
AudioBufferClearMessage is used to clear the audio buffer.
AudioBufferCommitMessage is used to commit the audio buffer.
ConversationCreateMessage is used to create a new conversation item.
ConversationDeleteMessage is used to delete a conversation item.
ConversationTruncateMessage is used to truncate a conversation item.
OutMsgBase contains fields common to all outgoing messages.
ResponseCancelMessage is used to cancel an in-progress response.
ResponseCreateMessage is used to create a new response.
SessionUpdateMessage is used to update session configuration.
# Interfaces
OutMsg is the interface implemented by all outgoing message types.
# Type aliases
OutMsgType represents the type of message being sent to the server.