Class 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.
Inherited Members
Namespace: LaunchDarkly.Sdk.Server.Ai.Config
Assembly: LaunchDarkly.ServerSdk.Ai.dll
Syntax
public sealed class LdAiAgentConfig : LdAiConfig
Properties
| Edit this page View SourceInstructions
The agent's system instructions, which may have been interpolated with Mustache variables.
Declaration
public string Instructions { get; }
Property Value
| Type | Description |
|---|---|
| string |
JudgeConfiguration
The judge configuration attached to this agent config, or null if none is configured.
Declaration
public LdAiConfigTypes.JudgeConfiguration JudgeConfiguration { get; }
Property Value
| Type | Description |
|---|---|
| LdAiConfigTypes.JudgeConfiguration |
Tools
The tools available to the agent, keyed by tool name.
Declaration
public IReadOnlyDictionary<string, LdAiConfigTypes.Tool> Tools { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, LdAiConfigTypes.Tool> |