Språk

ProjectsAgentsModelFactory.AgentOptimizationBaselineAgentConfiguration Method

Definition

Caller-supplied baseline agent values that cannot be resolved from the target agent.

public static Azure.AI.Projects.Agents.AgentOptimizationBaselineAgentConfiguration AgentOptimizationBaselineAgentConfiguration(string systemPrompt = default, string currentModel = default, System.Collections.Generic.IEnumerable<Azure.AI.Projects.Agents.AgentOptimizationSkill> skills = default, System.Collections.Generic.IEnumerable<OpenAI.Chat.ChatTool> tools = default);
static member AgentOptimizationBaselineAgentConfiguration : string * string * seq<Azure.AI.Projects.Agents.AgentOptimizationSkill> * seq<OpenAI.Chat.ChatTool> -> Azure.AI.Projects.Agents.AgentOptimizationBaselineAgentConfiguration
Public Shared Function AgentOptimizationBaselineAgentConfiguration (Optional systemPrompt As String = Nothing, Optional currentModel As String = Nothing, Optional skills As IEnumerable(Of AgentOptimizationSkill) = Nothing, Optional tools As IEnumerable(Of ChatTool) = Nothing) As AgentOptimizationBaselineAgentConfiguration

Parameters

systemPrompt
String

Caller-supplied baseline system prompt. Omitted to resolve the baseline from the target; a prompt agent's stored definition is authoritative.

currentModel
String

Current model name. An existing deployment name is also accepted. Omitted to resolve the model from the target.

skills
IEnumerable<AgentOptimizationSkill>

Skills available for optimization. Omitted when no manual skill surface is supplied.

tools
IEnumerable<OpenAI.Chat.ChatTool>

Function tools available for optimization. Omitted when no manual tool surface is supplied. The optimizer may change function and argument descriptions while preserving names and parameter JSON Schema.

Returns

A new AgentOptimizationBaselineAgentConfiguration instance for mocking.

Applies to