AzureCognitiveServicesProjectResource
Handle
interface AzureCognitiveServicesProjectResource extends IAzureResource, IComputeEnvironmentResource, IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithConnectionString, IResourceWithParameters, IResourceWithParent, FoundryResource]], IValueProvider, IValueWithReferences, IAzureComputeEnvironmentResource { addAISearchTool( name: string, indexName?: string): AzureAISearchToolResource; addAzureFunctionTool( name: string, functionName: string, description: string, parametersJson: string, inputQueueEndpoint: string, inputQueueName: string, outputQueueEndpoint: string, outputQueueName: string): AzureFunctionToolResource; addBingGroundingConnection( name: string, bingResourceId: string): BingGroundingConnectionResource; addBingGroundingConnectionFromParameter( name: string, bingResourceId: ParameterResource): BingGroundingConnectionResource; addBingGroundingTool(name: string): BingGroundingToolResource; addCapabilityHost(name: string): AzureCognitiveServicesProjectResource; addCodeInterpreterTool(name: string): CodeInterpreterToolResource; addComputerUseTool( name: string, displayWidth?: number, displayHeight?: number, environment?: string): ComputerToolResource; addConnection(resource: AzureKeyVaultResource): AzureCognitiveServicesProjectConnectionResource; addContainerRegistryConnection(registry: AzureContainerRegistryResource): AzureCognitiveServicesProjectConnectionResource; addCosmosConnection(db: AzureCosmosDBResource): AzureCognitiveServicesProjectConnectionResource; addFabricTool( name: string, projectConnectionIds: string[]): FabricToolResource; addFileSearchTool( name: string, vectorStoreIds: string[]): FileSearchToolResource; addFunctionTool( name: string, functionName: string, parametersJson: string, description?: string, strictModeEnabled?: boolean): FunctionToolResource; addImageGenerationTool(name: string): ImageGenerationToolResource; addKeyVaultConnection(keyVault: AzureKeyVaultResource): AzureCognitiveServicesProjectConnectionResource; addModelDeployment( name: string, model: FoundryModel|string, modelVersion?: string, format?: string): FoundryDeploymentResource; addPromptAgent( model: FoundryDeploymentResource, name: string, instructions?: string): AzurePromptAgentResource; addSearchConnection(search: AzureSearchResource): AzureCognitiveServicesProjectConnectionResource; addSharePointTool( name: string, projectConnectionIds: string[]): SharePointToolResource; addStorageConnection(storage: AzureStorageResource): AzureCognitiveServicesProjectConnectionResource; addWebSearchTool(name: string): WebSearchToolResource; withAppInsights(appInsights: AzureApplicationInsightsResource): AzureCognitiveServicesProjectResource; withCapabilityHost(resource: FoundryResource): AzureCognitiveServicesProjectResource; withKeyVault(keyVault: AzureKeyVaultResource): AzureCognitiveServicesProjectResource;} 25 members
Methods
Adds an Azure AI Search tool to a Microsoft Foundry project.
addAISearchTool( name: string, indexName?: string): AzureAISearchToolResourceParameters
name string indexName string optional Returns
AzureAISearchToolResource Adds an Azure Function tool to a Microsoft Foundry project.
addAzureFunctionTool( name: string, functionName: string, description: string, parametersJson: string, inputQueueEndpoint: string, inputQueueName: string, outputQueueEndpoint: string, outputQueueName: string): AzureFunctionToolResourceParameters
name string functionName string description string parametersJson string inputQueueEndpoint string inputQueueName string outputQueueEndpoint string outputQueueName string Returns
AzureFunctionToolResource Adds a Grounding with Bing Search connection to a Microsoft Foundry project.
addBingGroundingConnection( name: string, bingResourceId: string): BingGroundingConnectionResourceParameters
name string bingResourceId string Returns
BingGroundingConnectionResource Adds a Grounding with Bing Search connection to a Microsoft Foundry project using a parameter.
addBingGroundingConnectionFromParameter( name: string, bingResourceId: ParameterResource): BingGroundingConnectionResourceParameters
name string bingResourceId ParameterResource Returns
BingGroundingConnectionResource Adds a Bing Grounding tool to a Microsoft Foundry project.
addBingGroundingTool(name: string): BingGroundingToolResourceParameters
name string Returns
BingGroundingToolResource Adds a capability host to a Microsoft Foundry project.
addCapabilityHost(name: string): AzureCognitiveServicesProjectResourceParameters
name string Returns
AzureCognitiveServicesProjectResource Adds a Code Interpreter tool to a Microsoft Foundry project.
addCodeInterpreterTool(name: string): CodeInterpreterToolResourceParameters
name string Returns
CodeInterpreterToolResource Adds a Computer Use tool to a Microsoft Foundry project.
addComputerUseTool( name: string, displayWidth?: number, displayHeight?: number, environment?: string): ComputerToolResourceParameters
name string displayWidth number optional = 1024 displayHeight number optional = 768 environment string optional = browser Returns
ComputerToolResource Adds a connection to a Microsoft Foundry project.
addConnection(resource: AzureKeyVaultResource): AzureCognitiveServicesProjectConnectionResourceParameters
resource AzureKeyVaultResource Returns
AzureCognitiveServicesProjectConnectionResource Adds an Azure Container Registry connection to a Microsoft Foundry project.
addContainerRegistryConnection(registry: AzureContainerRegistryResource): AzureCognitiveServicesProjectConnectionResourceParameters
registry AzureContainerRegistryResource Returns
AzureCognitiveServicesProjectConnectionResource Adds an Azure Cosmos DB connection to a Microsoft Foundry project.
addCosmosConnection(db: AzureCosmosDBResource): AzureCognitiveServicesProjectConnectionResourceParameters
db AzureCosmosDBResource Returns
AzureCognitiveServicesProjectConnectionResource Adds a Microsoft Fabric data agent tool to a Microsoft Foundry project.
addFabricTool( name: string, projectConnectionIds: string[]): FabricToolResourceParameters
name string projectConnectionIds string[] Returns
FabricToolResource Adds a File Search tool to a Microsoft Foundry project.
addFileSearchTool( name: string, vectorStoreIds: string[]): FileSearchToolResourceParameters
name string vectorStoreIds string[] Returns
FileSearchToolResource Adds a function calling tool to a Microsoft Foundry project.
addFunctionTool( name: string, functionName: string, parametersJson: string, description?: string, strictModeEnabled?: boolean): FunctionToolResourceParameters
name string functionName string parametersJson string description string optional strictModeEnabled boolean optional Returns
FunctionToolResource Adds an Image Generation tool to a Microsoft Foundry project.
addImageGenerationTool(name: string): ImageGenerationToolResourceParameters
name string Returns
ImageGenerationToolResource Adds an Azure Key Vault connection to a Microsoft Foundry project.
addKeyVaultConnection(keyVault: AzureKeyVaultResource): AzureCognitiveServicesProjectConnectionResourceParameters
keyVault AzureKeyVaultResource Returns
AzureCognitiveServicesProjectConnectionResource Adds a model deployment to the parent Microsoft Foundry resource.
addModelDeployment( name: string, model: FoundryModel|string, modelVersion?: string, format?: string): FoundryDeploymentResourceParameters
name string model FoundryModel|string modelVersion string optional format string optional Returns
FoundryDeploymentResource Adds a prompt agent to a Microsoft Foundry project.
addPromptAgent( model: FoundryDeploymentResource, name: string, instructions?: string): AzurePromptAgentResourceParameters
model FoundryDeploymentResource name string instructions string optional Returns
AzurePromptAgentResource Adds an Azure AI Search connection to a Microsoft Foundry project.
addSearchConnection(search: AzureSearchResource): AzureCognitiveServicesProjectConnectionResourceParameters
search AzureSearchResource Returns
AzureCognitiveServicesProjectConnectionResource Adds an Azure Storage connection to a Microsoft Foundry project.
addStorageConnection(storage: AzureStorageResource): AzureCognitiveServicesProjectConnectionResourceParameters
storage AzureStorageResource Returns
AzureCognitiveServicesProjectConnectionResource Adds a Web Search tool to a Microsoft Foundry project.
addWebSearchTool(name: string): WebSearchToolResourceParameters
name string Returns
WebSearchToolResource Associates an Azure Application Insights resource with a Microsoft Foundry project.
withAppInsights(appInsights: AzureApplicationInsightsResource): AzureCognitiveServicesProjectResourceParameters
appInsights AzureApplicationInsightsResource Returns
AzureCognitiveServicesProjectResource Associates a supported resource with a capability host on a Microsoft Foundry project.
withCapabilityHost(resource: FoundryResource): AzureCognitiveServicesProjectResourceParameters
resource FoundryResource Returns
AzureCognitiveServicesProjectResource Associates an Azure Key Vault resource with a Microsoft Foundry project.
withKeyVault(keyVault: AzureKeyVaultResource): AzureCognitiveServicesProjectResourceParameters
keyVault AzureKeyVaultResource Returns
AzureCognitiveServicesProjectResource