Skip to content

ScaleDownDecisionProviderMetadata

Namespace: Vercel.AI.ScaleDown

public sealed class ScaleDownDecisionProviderMetadata

Provider metadata of a ScaleDown decision, under providerMetadata.scaledown.

Inheritance: object

View source

public IReadOnlyDictionary<string, double> Confidence { get; init; }

Confidence per question id. Boolean questions have none.

Value: IReadOnlyDictionary<string, double>

View source

public double? Cost { get; init; }

Total request cost in USD, when supplied by ScaleDown.

Value: double?

View source

public IReadOnlyDictionary<string, IReadOnlyDictionary<string, string>> Legend { get; init; }

Score legend per question id.

Value: IReadOnlyDictionary<string, IReadOnlyDictionary<string, string>>

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product