AzurePromptAgentResource Constructors
ClassConstructors1 member
Represents a Microsoft Foundry prompt agent resource that is provisioned on Azure.
Constructor(string, string, AzureCognitiveServicesProjectResource, string?)Section titled Constructor(string, string, AzureCognitiveServicesProjectResource, string?) Creates a new instance of the
AzurePromptAgentResource class. public class AzurePromptAgentResource{ public AzurePromptAgentResource( string name, string model, AzureCognitiveServicesProjectResource project, string? instructions = null) { // ... }}Parameters
namestringThe name of the agent. This will also be used as the agent name in Foundry.modelstringThe model deployment name to use for this agent.projectAzureCognitiveServicesProjectResourceThe parent Foundry project resource.instructionsstring?optionalOptional system instructions for the agent.