Namespace LaunchDarkly.Sdk.Server.Ai.Config
Classes
AgentConfigRequest
Represents a single agent config request for use with AgentConfigs(IEnumerable<AgentConfigRequest>, Context).
LdAiAgentConfig
Represents an AI Agent Config returned by the SDK, containing model parameters, agent instructions, available tools, 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 agent config method; they are not constructed directly by users. To supply a fallback default to the client, use LdAiAgentConfigDefault.
LdAiAgentConfigDefault
Represents a default AI Agent Config supplied by the user as a fallback to the AI client's agent config method. This type contains the same data fields as LdAiAgentConfig but has no tracker — it is purely an input to the client.
Construct an instance via New() and the nested LdAiAgentConfigDefault.Builder, or use Disabled for a disabled default.
LdAiAgentConfigDefault.Builder
Builder for constructing an LdAiAgentConfigDefault instance.
LdAiCompletionConfig
Represents an AI Completion Config returned by the SDK, containing model parameters, prompt messages, and a factory that produces a tracker for reporting events related to model usage.
Instances of this type are produced by CompletionConfig(string, Context, LdAiCompletionConfigDefault, IReadOnlyDictionary<string, object>); they are not constructed directly by users. To supply a fallback default to the client, use LdAiCompletionConfigDefault.
LdAiCompletionConfigDefault
Represents a default AI Completion Config supplied by the user as a fallback to CompletionConfig(string, Context, LdAiCompletionConfigDefault, IReadOnlyDictionary<string, object>). This type contains the same data fields as LdAiCompletionConfig but has no tracker — it is purely an input to the client.
Construct an instance via New() and the nested LdAiCompletionConfigDefault.Builder, or use Disabled for a disabled default.
LdAiCompletionConfigDefault.Builder
Builder for constructing an LdAiCompletionConfigDefault instance, which can be passed as the default value to the AI Client's CompletionConfig(string, Context, LdAiCompletionConfigDefault, IReadOnlyDictionary<string, object>) method.
LdAiConfig
Shared type for AI Configs returned by the SDK. Carries common fields and the CreateTracker() factory. Cannot be constructed or subclassed outside the SDK.
LdAiConfigDefault
Shared type for user-supplied default AI Configs. Carries the data fields common to the mode-specific default config types. Cannot be constructed or subclassed outside the SDK.
LdAiConfigTypes
Types that compose AI Config payloads returned or accepted by the SDK.
LdAiConfigTypes.JudgeConfiguration
Configuration for the judges associated with an AI Config.
LdAiConfigTypes.JudgeConfiguration.Judge
Represents a single judge entry within a LdAiConfigTypes.JudgeConfiguration.
LdAiConfigTypes.Message
Represents a single message, which is part of a prompt.
LdAiConfigTypes.ModelConfig
Information about the model.
LdAiConfigTypes.ProviderConfig
Information about the model provider.
LdAiConfigTypes.Tool
Represents a tool available to the model in agent mode.
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.
LdAiJudgeConfigDefault
Represents a default AI Judge Config supplied by the user as a fallback to the AI client's judge config method. This type contains the same data fields as LdAiJudgeConfig but has no tracker — it is purely an input to the client.
Construct an instance via New() and the nested LdAiJudgeConfigDefault.Builder, or use Disabled for a disabled default.
LdAiJudgeConfigDefault.Builder
Builder for constructing an LdAiJudgeConfigDefault instance.
Enums
LdAiConfigTypes.Role
Represents the role of the prompt message.