API Reference
Class
EasyChatResult
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.
Returned or exposed by 7
- Method Easy.ChatAsync
- Method Easy.ChatWithImagePathAsync
- Method Easy.ChatWithImageUrlAsync
- Method EasyChatResult.FromTurn
- Method EasySession.AskAsync
- Method EasySession.AskWithImagePathAsync
- Method EasySession.AskWithImageUrlAsync
Constructors
public EasyChatResult(String? text, IReadOnlyList<String> textBlocks, IReadOnlyList<EasyImage> images, TurnInfo turn) #Initializes a new easy chat result.
Parameters
- text System.String?
- textBlocks System.Collections.Generic.IReadOnlyList<System.String>
- images System.Collections.Generic.IReadOnlyList<IntelligenceX.OpenAI.EasyImage>
- turn IntelligenceX.OpenAI.AppServer.Models.TurnInfo
Methods
public static EasyChatResult FromTurn(TurnInfo turn) #Returns:
EasyChatResultCreates an EasyChatResult from a turn.
Parameters
- turn IntelligenceX.OpenAI.AppServer.Models.TurnInfo
- Turn info to convert.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public IReadOnlyList<String> TextBlocks { get; } #Gets the individual text blocks.