AzurePromptAgentResource Methods
Class Methods 2 members
A Microsoft Foundry prompt agent resource.
DeployAsync(PipelineStepContext, AzureCognitiveServicesProjectResource) Section titled DeployAsync(PipelineStepContext, AzureCognitiveServicesProjectResource) Task<AgentVersion> Deploys the specified agent to the given Microsoft Foundry project.
public class AzurePromptAgentResource{ public Task<AgentVersion> DeployAsync( PipelineStepContext context, AzureCognitiveServicesProjectResource project) { // ... }}Parameters
context PipelineStepContext Publishes the agent during the manifest publishing phase.
public class AzurePromptAgentResource{ public Task PublishAsync( ManifestPublishingContext ctx) { // ... }}Parameters
ctx ManifestPublishingContext