API Reference
IntelligenceXTurnCompletedEventArgs
Event arguments raised when an IntelligenceX chat turn completes.
Inheritance
- EventArgs
- IntelligenceXTurnCompletedEventArgs
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
Constructors
public IntelligenceXTurnCompletedEventArgs(String threadId, String model, OpenAITransportKind transportKind, DateTimeOffset startedAtUtc, DateTimeOffset completedAtUtc, String workingDirectory, String workspace, String feature, String surface, TurnInfo turn, Boolean success, Exception error = null) #Initializes a new turn-completed event args instance.
Parameters
- threadId System.String
- model System.String
- transportKind IntelligenceX.OpenAI.OpenAITransportKind
- startedAtUtc System.DateTimeOffset
- completedAtUtc System.DateTimeOffset
- workingDirectory System.String
- workspace System.String
- feature System.String
- surface System.String
- turn IntelligenceX.OpenAI.AppServer.Models.TurnInfo
- success System.Boolean
- error System.Exception = null
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String ThreadId { get; } #Gets the thread identifier associated with the turn.
public String Model { get; } #Gets the resolved model used for the turn.
public OpenAITransportKind TransportKind { get; } #Gets the underlying transport kind.
public DateTimeOffset StartedAtUtc { get; } #Gets the UTC timestamp when the turn started.
public DateTimeOffset CompletedAtUtc { get; } #Gets the UTC timestamp when the turn completed.
public TimeSpan Duration { get; } #Gets the elapsed duration for the turn.
public String WorkingDirectory { get; } #Gets the resolved working directory for the turn, when available.
public String Workspace { get; } #Gets the resolved workspace for the turn, when available.
public String Feature { get; } #Gets the optional telemetry feature label.
public String Surface { get; } #Gets the optional telemetry surface label.
public TurnInfo Turn { get; } #Gets the resulting turn payload when the request completed far enough to produce one.
public Boolean Success { get; } #Gets a value indicating whether the turn completed successfully.
public Exception Error { get; } #Gets the exception raised when the turn fails.