IntelligenceX
Class

TurnOutput

Namespace IntelligenceX.OpenAI.AppServer.Models
Assembly IntelligenceX
Modifiers sealed

Represents a single output item in a chat turn.

Inheritance

  • Object
  • TurnOutput

Constructors

public TurnOutput(String type, String text, String imageUrl, String imagePath, String base64, String mimeType, JsonObject raw, JsonObject additional) #

Initializes a new turn output.

Parameters

type System.String
text System.String
imageUrl System.String
imagePath System.String
base64 System.String
mimeType System.String
raw IntelligenceX.Json.JsonObject
additional IntelligenceX.Json.JsonObject

Properties

public String Type { get; } #

Gets the output type.

public String Text { get; } #

Gets the text content when present.

public String ImageUrl { get; } #

Gets the image URL when present.

public String ImagePath { get; } #

Gets the local image path when present.

public String Base64 { get; } #

Gets the base64 payload when present.

public String MimeType { get; } #

Gets the mime type when present.

public JsonObject Raw { get; } #

Gets the raw JSON object.

public JsonObject Additional { get; } #

Gets unrecognized fields from the payload.

public Boolean IsText { get; } #

Gets a value indicating whether this output is text.

public Boolean IsImage { get; } #

Gets a value indicating whether this output is an image.