LaunchDarkly Dotnet Server AI SDK
Search Results for

    Show / Hide Table of Contents

    Struct Response

    Represents information returned by a model provider.

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

    Constructors

    | Edit this page View Source

    Response(Usage?, Metrics?)

    Represents information returned by a model provider.

    Declaration
    public Response(Usage? Usage, Metrics? Metrics)
    Parameters
    Type Name Description
    Usage? Usage

    the token usage

    Metrics? Metrics

    the metrics relevant to the request

    Properties

    | Edit this page View Source

    Metrics

    the metrics relevant to the request

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

    Usage

    the token usage

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

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX