API Reference
Class
EasyChatResult
Represents the simplified result of an easy chat call.
Inheritance
- Object
- EasyChatResult
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
- 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.