LaunchDarkly Dotnet Server AI SDK
Search Results for

    Show / Hide Table of Contents

    Struct AiGraphMetricSummary

    A summary of the metrics tracked by an AiGraphTracker during a graph invocation.

    Implements
    IEquatable<AiGraphMetricSummary>
    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 AiGraphMetricSummary : IEquatable<AiGraphMetricSummary>

    Constructors

    | Edit this page View Source

    AiGraphMetricSummary(bool?, double?, Usage?, IReadOnlyList<string>, IReadOnlyDictionary<string, MetricSummary>, string)

    A summary of the metrics tracked by an AiGraphTracker during a graph invocation.

    Declaration
    public AiGraphMetricSummary(bool? Success, double? DurationMs, Usage? Tokens, IReadOnlyList<string> Path, IReadOnlyDictionary<string, MetricSummary> NodeMetrics, string ResumptionToken)
    Parameters
    Type Name Description
    bool? Success

    whether the overall graph invocation succeeded

    double? DurationMs

    the total duration in milliseconds

    Usage? Tokens

    the aggregate token usage across the graph

    IReadOnlyList<string> Path

    the sequence of node keys visited during execution

    IReadOnlyDictionary<string, MetricSummary> NodeMetrics

    per-node metric summaries keyed by agent config key

    string ResumptionToken

    the resumption token for cross-process continuation

    Properties

    | Edit this page View Source

    DurationMs

    the total duration in milliseconds

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

    NodeMetrics

    per-node metric summaries keyed by agent config key

    Declaration
    public IReadOnlyDictionary<string, MetricSummary> NodeMetrics { readonly get; set; }
    Property Value
    Type Description
    IReadOnlyDictionary<string, MetricSummary>
    | Edit this page View Source

    Path

    the sequence of node keys visited during execution

    Declaration
    public IReadOnlyList<string> Path { readonly get; set; }
    Property Value
    Type Description
    IReadOnlyList<string>
    | Edit this page View Source

    ResumptionToken

    the resumption token for cross-process continuation

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

    Success

    whether the overall graph invocation succeeded

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

    Tokens

    the aggregate token usage across the graph

    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