IntelligenceX

API Reference

Class

TurnOutput

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

Represents a single output item in a chat turn.

Inheritance

  • Object
  • TurnOutput

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

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 requiredposition: 0
text System.String requiredposition: 1
imageUrl System.String requiredposition: 2
imagePath System.String requiredposition: 3
base64 System.String requiredposition: 4
mimeType System.String requiredposition: 5
raw IntelligenceX.Json.JsonObject requiredposition: 6
additional IntelligenceX.Json.JsonObject requiredposition: 7

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.