Skip to content
Docs Try Aspire

addAndPublishPromptAgent

Function
📦 Aspire.Hosting.Foundry v13.2.0-preview.1.26170.3
interface AzureCognitiveServicesProjectResource {
// ... omitted for brevity
addAndPublishPromptAgent(
model: FoundryDeploymentResource,
name: string,
instructions: string): AzurePromptAgentResource;
}

Signature

method addAndPublishPromptAgent builder
Adds and publishes a prompt agent to a Microsoft Foundry project.
addAndPublishPromptAgent(
model: FoundryDeploymentResource,
name: string,
instructions: string): AzurePromptAgentResource
model FoundryDeploymentResource
name string
instructions string
AzurePromptAgentResource

Applies to

This function is an extension method on the following types: