Struct Response
Represents information returned by a model provider.
Implements
Inherited Members
Namespace: LaunchDarkly.Sdk.Server.Ai.Provider
Assembly: LaunchDarkly.ServerSdk.Ai.dll
Syntax
public record struct Response : IEquatable<Response>
Constructors
| Edit this page View SourceResponse(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 SourceMetrics
the metrics relevant to the request
Declaration
public Metrics? Metrics { readonly get; set; }
Property Value
Type | Description |
---|---|
Metrics? |
Usage
the token usage
Declaration
public Usage? Usage { readonly get; set; }
Property Value
Type | Description |
---|---|
Usage? |