Aspire.Hosting.Azure.CognitiveServices
Official
📦 Aspire.Hosting.Azure.CognitiveServices v13.4.0 4 Functions
3 Types
3 types and 12 members
Types
Functions
method
addAzureOpenAI builder Adds an Azure OpenAI resource to the application model.
addAzureOpenAI(name: string): AzureOpenAIResource method
addDeployment builder Adds an Azure OpenAI deployment resource
addDeployment(name: string, modelName: string, modelVersion: string): AzureOpenAIDeploymentResource method
withCognitiveServicesRoleAssignments builder Assigns the specified roles to the given resource, granting it the necessary permissions on the target Azure OpenAI resource. This replaces the default role assignments for the resource.
withCognitiveServicesRoleAssignments(target: AzureOpenAIResource, roles: AzureOpenAIRole[]): IResource method
withProperties builder Allows setting the properties of an Azure OpenAI Deployment resource.
withProperties(configure: (obj: AzureOpenAIDeploymentResource) => Promise<void>): AzureOpenAIDeploymentResource