Class RealtimeEvent.Request
Inheritance
object
RealtimeEvent.Request
Namespace: Glitch9.AIDevKit.OpenAI.Realtime
Assembly: .dll
Syntax
public static class RealtimeEvent.Request
Fields
ConversationItemCreate
Send this event when adding an item to the conversation.
Declaration
public const string ConversationItemCreate = "conversation.item.create"
Field Value
Type | Description |
---|---|
string |
ConversationItemDelete
Send this event when you want to remove any item from the conversation history.
Declaration
public const string ConversationItemDelete = "conversation.item.delete"
Field Value
Type | Description |
---|---|
string |
ConversationItemTruncate
Send this event when you want to truncate a previous assistant message’s audio.
Declaration
public const string ConversationItemTruncate = "conversation.item.truncate"
Field Value
Type | Description |
---|---|
string |
InputAudioBufferAppend
Send this event to append audio bytes to the input audio buffer.
Declaration
public const string InputAudioBufferAppend = "input_audio_buffer.append"
Field Value
Type | Description |
---|---|
string |
InputAudioBufferClear
Send this event to clear the audio bytes in the buffer.
Declaration
public const string InputAudioBufferClear = "input_audio_buffer.clear"
Field Value
Type | Description |
---|---|
string |
InputAudioBufferCommit
Send this event to commit audio bytes to a user message.
Declaration
public const string InputAudioBufferCommit = "input_audio_buffer.commit"
Field Value
Type | Description |
---|---|
string |
ResponseCancel
Send this event to cancel an in-progress response.
Declaration
public const string ResponseCancel = "response.cancel"
Field Value
Type | Description |
---|---|
string |
ResponseCreate
Send this event to trigger a response generation.
Declaration
public const string ResponseCreate = "response.create"
Field Value
Type | Description |
---|---|
string |
SessionUpdate
Send this event to update the session’s default configuration.
Declaration
public const string SessionUpdate = "session.update"
Field Value
Type | Description |
---|---|
string |