IntelligenceX

API Reference

Class

IntelligenceXTurnCompletedEventArgs

Namespace IntelligenceX.Telemetry
Assembly IntelligenceX
Base EventArgs
Modifiers sealed

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 requiredposition: 0
model System.String requiredposition: 1
transportKind IntelligenceX.OpenAI.OpenAITransportKind requiredposition: 2
startedAtUtc System.DateTimeOffset requiredposition: 3
completedAtUtc System.DateTimeOffset requiredposition: 4
workingDirectory System.String requiredposition: 5
workspace System.String requiredposition: 6
feature System.String requiredposition: 7
surface System.String requiredposition: 8
turn IntelligenceX.OpenAI.AppServer.Models.TurnInfo requiredposition: 9
success System.Boolean requiredposition: 10
error System.Exception = null optionalposition: 11

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.