ProjectsAgentsModelFactory.AgentOptimizationSpace Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The agent attributes and alternative values available to an agent-optimization search.
public static Azure.AI.Projects.Agents.AgentOptimizationSpace AgentOptimizationSpace(System.Collections.Generic.IEnumerable<Azure.AI.Projects.Agents.TargetAttribute> targetAttributes = default, System.Collections.Generic.IEnumerable<string> modelSearchSpace = default);
static member AgentOptimizationSpace : seq<Azure.AI.Projects.Agents.TargetAttribute> * seq<string> -> Azure.AI.Projects.Agents.AgentOptimizationSpace
Public Shared Function AgentOptimizationSpace (Optional targetAttributes As IEnumerable(Of TargetAttribute) = Nothing, Optional modelSearchSpace As IEnumerable(Of String) = Nothing) As AgentOptimizationSpace
Parameters
- targetAttributes
- IEnumerable<TargetAttribute>
Agent attributes the optimizer may change. If omitted, the service defaults to instructions.
- modelSearchSpace
- IEnumerable<String>
Alternative model names or existing deployment names available when model is an optimization target.
Returns
A new AgentOptimizationSpace instance for mocking.