AzureCognitiveServicesProjectResource
type AzureCognitiveServicesProjectResource interface { ComputeEnvironmentResource ExpressionValue Resource ResourceWithConnectionString ResourceWithParent}Methods
AddAISearchTool( name string, options ...*AddAISearchToolOptions,) AzureAISearchToolResourceParameters
namestringThe name of the tool resource.options...*AddAISearchToolOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddAISearchToolOptions argument.
IndexName *stringOptional name of the search index to query. If not specified, the agent must be told which index to use.Returns
AzureAISearchToolResource The resource builder.
Returns a handle; failures surface later via Err().
AddAzureFunctionTool( name string, functionName string, description string, parametersJson string, inputQueueEndpoint string, inputQueueName string, outputQueueEndpoint string, outputQueueName string,) AzureFunctionToolResourceParameters
namestringThe name of the tool resource.functionName stringThe name of the Azure Function.descriptionstringA description of what the function does.parametersJson stringThe JSON schema defining the function parameters as a JSON string.inputQueueEndpoint stringThe Azure Storage Queue endpoint for input binding.inputQueueName stringThe queue name for input binding.outputQueueEndpoint stringThe Azure Storage Queue endpoint for output binding.outputQueueName stringThe queue name for output binding.Returns
AzureFunctionToolResource The resource builder.
Returns a handle; failures surface later via Err().
AddBingGroundingConnection( name string, bingResourceId string,) BingGroundingConnectionResourceParameters
namestringThe name of the connection resource.bingResourceId stringThe full Azure resource ID of the Bing Search resource (e.g., /subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.Bing/accounts/{name} ).Returns
BingGroundingConnectionResource The resource builder.
Returns a handle; failures surface later via Err().
AddBingGroundingConnectionFromParameter( name string, bingResourceId ParameterResource,) BingGroundingConnectionResourceParameters
namestringThe name of the connection resource.bingResourceId ParameterResource A parameter resource containing the full Azure resource ID of the Bing Search resource.Returns
BingGroundingConnectionResource The resource builder.
Returns a handle; failures surface later via Err().
AddBingGroundingTool(name string) BingGroundingToolResourceParameters
namestringThe name of the tool resource.Returns
BingGroundingToolResource The resource builder.
Returns a handle; failures surface later via Err().
AddCapabilityHost(name string) AzureCognitiveServicesProjectResourceParameters
namestringThe name of the capability host.Returns
AzureCognitiveServicesProjectResource A reference to the project builder for chaining capability host configuration.
Returns a handle; failures surface later via Err().
AddCodeInterpreterTool(name string) CodeInterpreterToolResourceParameters
namestringThe name of the tool resource.Returns
CodeInterpreterToolResource The resource builder.
Returns a handle; failures surface later via Err().
AddComputerUseTool( name string, options ...*AddComputerUseToolOptions,) ComputerToolResourceParameters
namestringThe name of the tool resource.options...*AddComputerUseToolOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddComputerUseToolOptions argument.
DisplayWidth *float64The width of the display in pixels.DisplayHeight *float64The height of the display in pixels.Environment*stringThe environment identifier. Defaults to "browser".Returns
ComputerToolResource The resource builder.
Returns a handle; failures surface later via Err().
AddConnection(resource any) AzureCognitiveServicesProjectConnectionResourceParameters
resourceanyReturns
AzureCognitiveServicesProjectConnectionResource Returns a handle; failures surface later via Err().
AddContainerRegistryConnection(registry AzureContainerRegistryResource) AzureCognitiveServicesProjectConnectionResourceParameters
registryAzureContainerRegistryResource Returns
AzureCognitiveServicesProjectConnectionResource Returns a handle; failures surface later via Err().
AddCosmosConnection(db AzureCosmosDBResource) AzureCognitiveServicesProjectConnectionResourceParameters
dbAzureCosmosDBResource Returns
AzureCognitiveServicesProjectConnectionResource Returns a handle; failures surface later via Err().
AddFabricTool( name string, projectConnectionIds []string,) FabricToolResourceParameters
namestringThe name of the tool resource.projectConnectionIds []string The Foundry project connection IDs for the Fabric data agents.Returns
FabricToolResource The resource builder.
Returns a handle; failures surface later via Err().
AddFileSearchTool( name string, vectorStoreIds []string,) FileSearchToolResourceParameters
namestringThe name of the tool resource.vectorStoreIds []string Optional vector store IDs to search. If empty, the agent's default stores are used.Returns
FileSearchToolResource The resource builder.
Returns a handle; failures surface later via Err().
AddFunctionTool( name string, functionName string, parametersJson string, options ...*AddFunctionToolOptions,) FunctionToolResourceParameters
namestringThe name of the tool resource.functionName stringThe name of the function.parametersJson stringThe JSON schema defining the function parameters as a JSON string.options...*AddFunctionToolOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddFunctionToolOptions argument.
Description*stringA description of what the function does.StrictModeEnabled *boolWhether to enable strict mode for parameter validation.Returns
FunctionToolResource The resource builder.
Returns a handle; failures surface later via Err().
AddImageGenerationTool(name string) ImageGenerationToolResourceParameters
namestringThe name of the tool resource.Returns
ImageGenerationToolResource The resource builder.
Returns a handle; failures surface later via Err().
AddKeyVaultConnection(keyVault AzureKeyVaultResource) AzureCognitiveServicesProjectConnectionResourceParameters
keyVault AzureKeyVaultResource Returns
AzureCognitiveServicesProjectConnectionResource Returns a handle; failures surface later via Err().
AddModelDeployment( name string, model any, options ...*AddModelDeploymentOptions,) FoundryDeploymentResourceParameters
namestringmodelanyoptions...*AddModelDeploymentOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddModelDeploymentOptions argument.
ModelVersion *stringFormat*stringReturns
FoundryDeploymentResource Returns a handle; failures surface later via Err().
AddPromptAgent( name string, model FoundryDeploymentResource, options ...*AddPromptAgentOptions,) AzurePromptAgentResourceParameters
namestringThe name of the prompt agent. This will be the agent name in Foundry.modelFoundryDeploymentResource The model deployment to use for this agent.options...*AddPromptAgentOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddPromptAgentOptions argument.
Instructions*stringOptional system instructions for the agent.Returns
AzurePromptAgentResource The resource builder.
Returns a handle; failures surface later via Err().
AddSearchConnection(search AzureSearchResource) AzureCognitiveServicesProjectConnectionResourceParameters
searchAzureSearchResource Returns
AzureCognitiveServicesProjectConnectionResource Returns a handle; failures surface later via Err().
AddStorageConnection(storage AzureStorageResource) AzureCognitiveServicesProjectConnectionResourceParameters
storageAzureStorageResource Returns
AzureCognitiveServicesProjectConnectionResource Returns a handle; failures surface later via Err().
AddToolbox( name string, options ...*FoundryToolboxOptions,) FoundryToolboxResourceParameters
namestringThe Toolbox name.options...*FoundryToolboxOptions Optional settings, described under Options.Options
Optional parameters are passed as the existing *FoundryToolboxOptions struct.
Returns
FoundryToolboxResource The resource builder.
Returns a handle; failures surface later via Err().
AddWebSearchTool(name string) WebSearchToolResourceParameters
namestringThe name of the tool resource.Returns
WebSearchToolResource The resource builder.
Returns a handle; failures surface later via Err().
WithAppInsights(appInsights AzureApplicationInsightsResource) AzureCognitiveServicesProjectResourceParameters
appInsights AzureApplicationInsightsResource The Application Insights resource to associate with the project.Returns
AzureCognitiveServicesProjectResource The resource builder.
Returns a handle; failures surface later via Err().
WithCapabilityHost(resource any) AzureCognitiveServicesProjectResourceParameters
resourceanyThe supported capability host resource.Returns
AzureCognitiveServicesProjectResource A reference to the project builder for chaining capability host configuration.
Returns a handle; failures surface later via Err().
WithKeyVault(keyVault AzureKeyVaultResource) AzureCognitiveServicesProjectResourceParameters
keyVault AzureKeyVaultResource The Key Vault resource to associate with the project.Returns
AzureCognitiveServicesProjectResource The resource builder.
Returns a handle; failures surface later via Err().