page_type | languages | products | urlFragment | name | description | |||
---|---|---|---|---|---|---|---|---|
sample |
|
|
azd-aistudio-starter |
Azure AI Studio starter template |
Creates an Azure AI Studio hub, project and required dependent resources including Azure OpenAI Service, Cognitive Search and more. |
To learn how to get started with any template, follow the steps in this quickstart with this template(Azure-Samples/azd-aistudio-starter
)
This quickstart will show you how to authenticate on Azure, initialize using a template, provision infrastructure and deploy code on Azure via the following commands:
# Log in to azd. Only required once per-install.
azd auth login
# First-time project setup. Initialize a project in the current directory, using this template.
azd init --template Azure-Samples/azd-aistudio-starter
# Provision and deploy to Azure
azd up
This template creates everything you need to get started with Azure AI Studio:
- AI Hub Resource
- AI Project
- OpenAI Service
- Online Endpoint
- AI Search Service (Optional, enabled by default)
The provisioning will also deploy any models specified within the ./infra/ai.yaml
.
For a list of supported models see Azure OpenAI Service Models documentation
The template also includes dependent resources required by all AI Hub resources:
- Storage Account
- Key Vault
- Application Insights (Optional, enabled by default)
- Container Registry (Optional, enabled by default)
- To disable AI Search, run
azd config set USE_SEARCH_SERVICE false
- To disable Application Insights, run
azd config set USE_APPLICATION_INSIGHTS false
- To disable Container Registry, run
azd config set USE_CONTAINER_REGISTRY false
By default this template will use a default naming convention to prevent naming collisions within Azure. To override default naming conventions the following can be set.
AZUREAI_HUB_NAME
- The name of the AI Studio Hub resourceAZUREAI_PROJECT_NAME
- The name of the AI Studio ProjectAZUREAI_ENDPOINT_NAME
- The name of the AI Studio online endpoint used for deploymentsAZURE_OPENAI_NAME
- The name of the Azure OpenAI serviceAZURE_SEARCH_SERVICE_NAME
- The name of the Azure Search serviceAZURE_STORAGE_ACCOUNT_NAME
- The name of the Storage AccountAZURE_KEYVAULT_NAME
- The name of the Key VaultAZURE_CONTAINER_REGISTRY_NAME
- The name of the container registryAZURE_APPLICATION_INSIGHTS_NAME
- The name of the Application Insights instanceAZURE_LOG_ANALYTICS_WORKSPACE_NAME
- The name of the Log Analytics workspace used by Application Insights
Run azd config set <key> <value>
after initializing the template to override the resource names
Bring your code to the sample, configure the azure.yaml
file and deploy to Azure using azd deploy
!
If you have any feature requests, issues, or areas for improvement, please file an issue. To keep up-to-date, ask questions, or share suggestions, join our GitHub Discussions. You may also contact us via AzDevTeam@microsoft.com.