Watch Aspire live streamsDocsTry Aspire

AzurePromptAgentResource

Handle
📦 Aspire.Hosting.Foundry v13.6.0-preview.1.26478.8
interface AzurePromptAgentResource
extends IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithEnvironment,
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
description: string;
instructions: string;
readonly metadata: Dict<string,string>;
model: string;
withTool(tool: FoundryToolResource): AzurePromptAgentResource;
}

Properties

propertyconnectionStringExpressionReferenceExpressionget
Gets the ConnectionStringExpression property
propertydescriptionstringget · set
Gets or sets a description of the agent.
propertyinstructionsstringget · set
Gets or sets the system instructions for the agent.
propertymetadataDict<string,string>get
Gets the metadata to associate with the agent.
propertymodelstringget · set
Gets or sets the model deployment name used by this agent.

Methods

methodwithToolbuilder
Adds a tool to a prompt agent.
withTool(tool: FoundryToolResource): AzurePromptAgentResource
toolFoundryToolResource
AzurePromptAgentResource