Aspire.Hosting.Azure.CognitiveServices
Official
📦 Aspire.Hosting.Azure.CognitiveServicesv13.4.04Functions
3Types
3 types and 12 members
Types
Functions
method
addAzureOpenAIbuilderAdds an Azure OpenAI resource to the application model.
addAzureOpenAI(name: string): AzureOpenAIResourcemethod
addDeploymentbuilderAdds an Azure OpenAI deployment resource
addDeployment(name: string, modelName: string, modelVersion: string): AzureOpenAIDeploymentResourcemethod
withCognitiveServicesRoleAssignmentsbuilderAssigns 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[]): IResourcemethod
withPropertiesbuilderAllows setting the properties of an Azure OpenAI Deployment resource.
withProperties(configure: (obj: AzureOpenAIDeploymentResource) => Promise<void>): AzureOpenAIDeploymentResource