Class ResponseTextResponse
public sealed class ResponseTextResponse : BaseRealtimeEvent, IServerEvent, IRealtimeEvent
- Inheritance
-
ResponseTextResponse
- 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
Delta
The text delta.
[JsonInclude]
[JsonPropertyName("delta")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Delta { get; }
Property Value
EventId
The unique ID of the server event.
[JsonInclude]
[JsonPropertyName("event_id")]
public override string EventId { get; }
Property Value
IsDelta
[JsonIgnore]
public bool IsDelta { get; }
Property Value
IsDone
[JsonIgnore]
public bool IsDone { get; }
Property Value
ItemId
The ID of the item.
[JsonInclude]
[JsonPropertyName("item_id")]
public string ItemId { get; }
Property Value
OutputIndex
The index of the output item in the response.
[JsonInclude]
[JsonPropertyName("output_index")]
public int OutputIndex { get; }
Property Value
ResponseId
The ID of the response.
[JsonInclude]
[JsonPropertyName("response_id")]
public string ResponseId { get; }
Property Value
Text
The final text content.
[JsonInclude]
[JsonPropertyName("text")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Text { get; }
Property Value
Type
[JsonInclude]
[JsonPropertyName("type")]
public override string Type { get; protected set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
implicit operator string(ResponseTextResponse)
public static implicit operator string(ResponseTextResponse response)
Parameters
response
ResponseTextResponse