IntelligenceX

API Reference

Class

InternalIxUsageRecorder

Namespace IntelligenceX.Telemetry.Usage
Assembly IntelligenceX
Implements
IDisposable
Modifiers sealed

Records IntelligenceX-owned chat turns into the provider-neutral usage ledger.

Inheritance

  • Object
  • InternalIxUsageRecorder

Constructors

public InternalIxUsageRecorder(IntelligenceXClient client, ISourceRootStore sourceRootStore, IUsageEventStore usageEventStore, String providerId = null, String machineId = null, String accountLabel = null, String providerAccountId = null, String sourcePath = null) #

Initializes a new recorder and subscribes it to the supplied client.

Parameters

client IntelligenceX.OpenAI.IntelligenceXClient requiredposition: 0
sourceRootStore IntelligenceX.Telemetry.Usage.ISourceRootStore requiredposition: 1
usageEventStore IntelligenceX.Telemetry.Usage.IUsageEventStore requiredposition: 2
providerId System.String = null optionalposition: 3
machineId System.String = null optionalposition: 4
accountLabel System.String = null optionalposition: 5
providerAccountId System.String = null optionalposition: 6
sourcePath System.String = null optionalposition: 7

Methods

public virtual Void Dispose() #
Returns: Void

Properties

public SourceRootRecord SourceRoot { get; } #

Gets the source root registered for this recorder.

Fields

public const String StableProviderId #

Stable provider identifier used for IntelligenceX-owned usage.

Value: ix
public const String StableAdapterId #

Stable adapter identifier used for client turn-completed events.

Value: ix.client-turn
public const String DefaultSurface #

Default surface used when no explicit telemetry label is provided.

Value: chat