Base AI Config interface without mode-specific fields.

Hierarchy

Properties

createTracker?: (() => LDAIConfigTracker)

Type declaration

    • (): LDAIConfigTracker
    • Creates a new tracker for this AI Config invocation. Each call returns a new tracker with a fresh runId. Use createTracker() at the start of each execution to obtain a tracker, then use it to record metrics for that run.

      Returns LDAIConfigTracker

enabled: boolean

Whether the configuration is enabled.

key: string

The key of the AI Config.

Optional model configuration.

provider?: LDProviderConfig

Optional configuration for the provider.

Generated using TypeDoc