AddPromptAgent
Method
func (AzureCognitiveServicesProjectResource) AddPromptAgent( name string, model FoundryDeploymentResource, options ...*AddPromptAgentOptions,) AzurePromptAgentResourceSignature
method
AddPromptAgent builderAdds a prompt agent to a Microsoft Foundry project with the specified tools.
AddPromptAgent( name string, model FoundryDeploymentResource, options ...*AddPromptAgentOptions,) AzurePromptAgentResourceParameters
namestringThe name of the prompt agent. This will be the agent name in Foundry.modelFoundryDeploymentResource The model deployment to use for this agent.options...*AddPromptAgentOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddPromptAgentOptions argument.
Instructions*stringOptional system instructions for the agent.Returns
AzurePromptAgentResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: