Table of Contents

Class ResponseContentPartResponse

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

Properties

ContentPart

The content part that was added.

[JsonInclude]
[JsonPropertyName("part")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public RealtimeContent ContentPart { get; }

Property Value

RealtimeContent

EventId

The unique ID of the server event.

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

Property Value

string

ItemId

The index of the output item in the response.

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

Property Value

string

OutputIndex

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

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

Property Value

int

ResponseId

The ID of the response to which the item belongs.

[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