OptimizationJobInputs(AgentIdentifier, DatasetRef) Constructor
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.
Initializes a new instance of OptimizationJobInputs.
public OptimizationJobInputs(Azure.AI.Projects.Agents.AgentIdentifier agent, Azure.AI.Projects.Agents.DatasetRef trainDatasetReference);
new Azure.AI.Projects.Agents.OptimizationJobInputs : Azure.AI.Projects.Agents.AgentIdentifier * Azure.AI.Projects.Agents.DatasetRef -> Azure.AI.Projects.Agents.OptimizationJobInputs
Public Sub New (agent As AgentIdentifier, trainDatasetReference As DatasetRef)
Parameters
- agent
- AgentIdentifier
The agent (and pinned version) being optimized.
- trainDatasetReference
- DatasetRef
Reference to a registered training dataset (required).
Exceptions
agent or trainDatasetReference is null.