API Reference
Interface
IIntelligenceXUsageTelemetrySessionFactory
Creates optional persistent usage telemetry sessions for IntelligenceXClient.
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
Methods
public abstract IDisposable TryCreate(IntelligenceXClient client, IntelligenceXClientOptions options) #Returns:
IDisposableCreates and attaches a usage telemetry session when persistence is enabled.
Parameters
- client IntelligenceX.OpenAI.IntelligenceXClient
- The connected IntelligenceX client.
- options IntelligenceX.OpenAI.IntelligenceXClientOptions
- The client options that requested telemetry.
Returns
A disposable telemetry session, or null when persistence is disabled.