LaunchDarkly Dotnet Server AI SDK
Search Results for

    Show / Hide Table of Contents

    Struct MetricSummary

    A summary of the metrics tracked by a tracker.

    Implements
    IEquatable<MetricSummary>
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: LaunchDarkly.Sdk.Server.Ai.Tracking
    Assembly: LaunchDarkly.ServerSdk.Ai.dll
    Syntax
    public record struct MetricSummary : IEquatable<MetricSummary>

    Constructors

    | Edit this page View Source

    MetricSummary(double?, Feedback?, Usage?, bool?, double?)

    A summary of the metrics tracked by a tracker.

    Declaration
    public MetricSummary(double? DurationMs, Feedback? Feedback, Usage? Tokens, bool? Success, double? TimeToFirstTokenMs)
    Parameters
    Type Name Description
    double? DurationMs

    the duration in milliseconds

    Feedback? Feedback

    the feedback sentiment

    Usage? Tokens

    the token usage

    bool? Success

    whether the generation was successful

    double? TimeToFirstTokenMs

    the time to first token in milliseconds

    Properties

    | Edit this page View Source

    DurationMs

    the duration in milliseconds

    Declaration
    public double? DurationMs { readonly get; set; }
    Property Value
    Type Description
    double?
    | Edit this page View Source

    Feedback

    the feedback sentiment

    Declaration
    public Feedback? Feedback { readonly get; set; }
    Property Value
    Type Description
    Feedback?
    | Edit this page View Source

    Success

    whether the generation was successful

    Declaration
    public bool? Success { readonly get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    TimeToFirstTokenMs

    the time to first token in milliseconds

    Declaration
    public double? TimeToFirstTokenMs { readonly get; set; }
    Property Value
    Type Description
    double?
    | Edit this page View Source

    Tokens

    the token usage

    Declaration
    public Usage? Tokens { readonly get; set; }
    Property Value
    Type Description
    Usage?

    Implements

    IEquatable<T>

    Extension Methods

    PluginExtensions.GetPluginHooks<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.GetPluginHooks<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.GetPluginHooks<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.GetPluginHooks<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.GetPluginHooks<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.GetPluginHooks<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.GetPluginHooks<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.RegisterPlugins<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.RegisterPlugins<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.RegisterPlugins<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.RegisterPlugins<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.RegisterPlugins<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.RegisterPlugins<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    PluginExtensions.RegisterPlugins<TClient, THook>(TClient, IEnumerable<PluginBase<TClient, THook>>, EnvironmentMetadata, Logger)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX