AzurePromptAgentResource
Handle
Represents a Microsoft Foundry prompt agent resource that is provisioned on Azure.
type AzurePromptAgentResource interface { ExpressionValue Resource ResourceWithConnectionString ResourceWithEnvironment}6 members
Properties
property
ConnectionStringExpression *ReferenceExpression getGets the ConnectionStringExpression property
ConnectionStringExpression() *ReferenceExpressionproperty
Descriptionstringget · setGets or sets a description of the agent.
Description() (string, error)SetDescription(value string) AzurePromptAgentResourceproperty
Instructions*stringget · setGets or sets the system instructions for the agent.
Instructions() (*string, error)SetInstructions(value *string) AzurePromptAgentResourceproperty
Metadata*Dict[string, string] getGets the metadata to associate with the agent.
Metadata() *Dict[string, string]property
Modelstringget · setGets or sets the model deployment name used by this agent.
Model() (string, error)SetModel(value string) AzurePromptAgentResourceMethods
Adds a tool to a prompt agent.
WithTool(tool FoundryToolResource) AzurePromptAgentResourceParameters
toolFoundryToolResource The tool resource to attach to this agent.Returns
AzurePromptAgentResource The resource builder.
Returns a handle; failures surface later via Err().