Class LdAiJudgeConfig
Represents an AI Judge Config returned by the SDK, containing model parameters, prompt messages, an evaluation metric key, and a factory that produces a tracker for reporting events related to model usage.
Instances of this type are produced by the AI client's judge config method; they are not constructed directly by users. To supply a fallback default to the client, use LdAiJudgeConfigDefault.
Inherited Members
Namespace: LaunchDarkly.Sdk.Server.Ai.Config
Assembly: LaunchDarkly.ServerSdk.Ai.dll
Syntax
public sealed class LdAiJudgeConfig : LdAiConfig
Properties
| Edit this page View SourceEvaluationMetricKey
The evaluation metric key used to identify this judge's metric.
Declaration
public string EvaluationMetricKey { get; }
Property Value
| Type | Description |
|---|---|
| string |
Messages
The prompts associated with the judge config.
Declaration
public IReadOnlyList<LdAiConfigTypes.Message> Messages { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<LdAiConfigTypes.Message> |