API Reference
Class
TurnInfo
Represents a single chat turn and its outputs.
Inheritance
- Object
- TurnInfo
Usage
Explore 19 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 13
- Method AppServerClient.StartTurnAsync
- Property ReviewStartResult.Turn
- Method TurnInfo.FromJson
- Property EasyChatResult.Turn
- Method EasySession.ChatAsync
- Method EasySession.ChatWithImagePathAsync
- Method EasySession.ChatWithImageUrlAsync
- Method FluentThreadSession.SendAsync
- Method IntelligenceXClient.ChatAsync
- Method IntelligenceXClient.ChatWithImagePathAsync
- Method IntelligenceXClient.ChatWithImageUrlAsync
- Property ToolRunResult.FinalTurn
- Property IntelligenceXTurnCompletedEventArgs.Turn
Accepted by parameters 6
- Constructor ReviewStartResult.ReviewStartResult
- Constructor EasyChatResult.EasyChatResult
- Method EasyChatResult.FromTurn
- Method ToolCallParser.Extract
- Constructor ToolRunResult.ToolRunResult
- Constructor IntelligenceXTurnCompletedEventArgs.IntelligenceXTurnCompletedEventArgs
Constructors
TurnInfo 2 overloads
public TurnInfo(String id, String? responseId, String? status, IReadOnlyList<TurnOutput>? outputs, IReadOnlyList<TurnOutput>? imageOutputs, JsonObject raw, JsonObject? additional, TurnUsage? usage = null) #Initializes a new turn info model.
Parameters
- id System.String
- responseId System.String?
- status System.String?
- outputs System.Collections.Generic.IReadOnlyList<IntelligenceX.OpenAI.AppServer.Models.TurnOutput>?
- imageOutputs System.Collections.Generic.IReadOnlyList<IntelligenceX.OpenAI.AppServer.Models.TurnOutput>?
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject?
- usage IntelligenceX.OpenAI.AppServer.Models.TurnUsage? = null
public TurnInfo(String id, String? status, IReadOnlyList<TurnOutput>? outputs, IReadOnlyList<TurnOutput>? imageOutputs, JsonObject raw, JsonObject? additional, TurnUsage? usage = null) #Initializes a new turn info model.
Parameters
- id System.String
- status System.String?
- outputs System.Collections.Generic.IReadOnlyList<IntelligenceX.OpenAI.AppServer.Models.TurnOutput>?
- imageOutputs System.Collections.Generic.IReadOnlyList<IntelligenceX.OpenAI.AppServer.Models.TurnOutput>?
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject?
- usage IntelligenceX.OpenAI.AppServer.Models.TurnUsage? = null
Methods
public static TurnInfo FromJson(JsonObject turnObj) #Returns:
TurnInfoParses a turn info model from JSON.
Parameters
- turnObj IntelligenceX.Json.JsonObject
- Source JSON object.
Returns
The parsed turn info.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?