@launchdarkly/server-sdk-ai - v2.0.21
    Preparing search index...

    Interface LDAICompletionConfigDefault

    Default Completion AI Config (default mode).

    interface LDAICompletionConfigDefault {
        enabled?: boolean;
        judgeConfiguration?: LDJudgeConfiguration;
        messages?: LDMessage[];
        model?: LDModelConfig;
        provider?: LDProviderConfig;
        tools?: { [toolName: string]: LDTool };
    }

    Hierarchy (View Summary)

    Index
    enabled?: boolean

    Whether the configuration is enabled. Defaults to false when not provided.

    judgeConfiguration?: LDJudgeConfiguration

    Judge configuration for AI Configs being evaluated. References judge AI Configs that should evaluate this AI Config.

    messages?: LDMessage[]

    Optional prompt data for completion configurations.

    Optional model configuration.

    provider?: LDProviderConfig

    Optional configuration for the provider.

    tools?: { [toolName: string]: LDTool }

    Root-level tools map keyed by tool name. Distinct from model.parameters.tools[].