Table of Contents

Class ResponseAudioResponse

Namespace
OpenAI.Realtime
Assembly
OpenAI-DotNet.dll
public sealed class ResponseAudioResponse : BaseRealtimeEvent, IServerEvent, IRealtimeEvent
Inheritance
ResponseAudioResponse
Implements
Inherited Members

Properties

ContentIndex

The index of the content part in the item's content array.

[JsonInclude]
[JsonPropertyName("content_index")]
public int ContentIndex { get; }

Property Value

int

Delta

[JsonInclude]
[JsonPropertyName("delta")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Delta { get; }

Property Value

string

DeltaBytes

[JsonIgnore]
public ReadOnlyMemory<byte> DeltaBytes { get; }

Property Value

ReadOnlyMemory<byte>

EventId

The unique ID of the server event.

[JsonInclude]
[JsonPropertyName("event_id")]
public override string EventId { get; }

Property Value

string

IsDelta

[JsonIgnore]
public bool IsDelta { get; }

Property Value

bool

IsDone

[JsonIgnore]
public bool IsDone { get; }

Property Value

bool

ItemId

The ID of the item.

[JsonInclude]
[JsonPropertyName("item_id")]
public string ItemId { get; }

Property Value

string

OutputIndex

The index of the output item in the response.

[JsonInclude]
[JsonPropertyName("output_index")]
public int OutputIndex { get; }

Property Value

int

ResponseId

The ID of the response.

[JsonInclude]
[JsonPropertyName("response_id")]
public string ResponseId { get; }

Property Value

string

Type

[JsonInclude]
[JsonPropertyName("type")]
public override string Type { get; protected set; }

Property Value

string