IntelligenceX

API Reference

Class

EasyChatResult

Namespace IntelligenceX.OpenAI
Assembly IntelligenceX
Modifiers sealed

Represents the simplified result of an easy chat call.

Inheritance

  • Object
  • EasyChatResult

Usage

Explore 7 API references to this type

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

Constructors

public EasyChatResult(String? text, IReadOnlyList<String> textBlocks, IReadOnlyList<EasyImage> images, TurnInfo turn) #

Initializes a new easy chat result.

Parameters

text System.String? requiredposition: 0
textBlocks System.Collections.Generic.IReadOnlyList<System.String> requiredposition: 1
images System.Collections.Generic.IReadOnlyList<IntelligenceX.OpenAI.EasyImage> requiredposition: 2
turn IntelligenceX.OpenAI.AppServer.Models.TurnInfo requiredposition: 3

Methods

public static EasyChatResult FromTurn(TurnInfo turn) #
Returns: EasyChatResult

Creates an EasyChatResult from a turn.

Parameters

turn IntelligenceX.OpenAI.AppServer.Models.TurnInfo requiredposition: 0
Turn info to convert.

Properties

public String? Text { get; } #

Gets the concatenated text response.

public IReadOnlyList<String> TextBlocks { get; } #

Gets the individual text blocks.

public IReadOnlyList<EasyImage> Images { get; } #

Gets any image outputs.

public TurnInfo Turn { get; } #

Gets the underlying turn information.