Class 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.
Inherited Members
Namespace: LaunchDarkly.Sdk.Server.Ai.Config
Assembly: LaunchDarkly.ServerSdk.Ai.dll
Syntax
public sealed class LdAiCompletionConfigDefault : LdAiConfigDefault
Properties
| Edit this page View SourceDisabled
Convenient helper that returns a disabled LdAiCompletionConfigDefault.
Declaration
public static LdAiCompletionConfigDefault Disabled { get; }
Property Value
| Type | Description |
|---|---|
| LdAiCompletionConfigDefault |
JudgeConfiguration
The judge configuration for this completion config default, or null if not specified.
Declaration
public LdAiConfigTypes.JudgeConfiguration JudgeConfiguration { get; }
Property Value
| Type | Description |
|---|---|
| LdAiConfigTypes.JudgeConfiguration |
Messages
The prompts associated with the config.
Declaration
public IReadOnlyList<LdAiConfigTypes.Message> Messages { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<LdAiConfigTypes.Message> |
Methods
| Edit this page View SourceNew()
Creates a new LdAiCompletionConfigDefault builder.
Declaration
public static LdAiCompletionConfigDefault.Builder New()
Returns
| Type | Description |
|---|---|
| LdAiCompletionConfigDefault.Builder | a new builder |