addPromptAgent
Method
interface AzureCognitiveServicesProjectResource { // ... omitted for brevity addPromptAgent( name: string, model: FoundryDeploymentResource, instructions?: string): AzurePromptAgentResource;}Signature
method
addPromptAgent builderAdds a prompt agent to a Microsoft Foundry project with the specified tools.
addPromptAgent( name: string, model: FoundryDeploymentResource, instructions?: string): AzurePromptAgentResourceParameters
namestringmodelFoundryDeploymentResource instructionsstringoptionalReturns
AzurePromptAgentResource Applies to
This method applies to the following types: