Skip to content

Latest commit

 

History

History
81 lines (59 loc) · 4.13 KB

README.md

File metadata and controls

81 lines (59 loc) · 4.13 KB
page_type languages products urlFragment name description
sample
azdeveloper
bicep
azure
azd-aistudio-starter
Azure AI Studio starter template
Creates an Azure AI Studio hub, project and required dependent resources including Azure Open AI Service, Cognitive Search and more.

Azure AI Studio Starter Template

Quickstart

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

Provisioned Azure Resources

This template creates everything you need to get started with Azure AI Studio:

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:

Optional Configuration

  • 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 resource
  • AZUREAI_PROJECT_NAME - The name of the AI Studio Project
  • AZUREAI_ENDPOINT_NAME - The name of the AI Studio online endpoint used for deployments
  • AZURE_OPENAI_NAME - The name of the Azure Open AI service
  • AZURE_SEARCH_SERVICE_NAME - The name of the Azure Search service
  • AZURE_STORAGE_ACCOUNT_NAME - The name of the Storage Account
  • AZURE_KEYVAULT_NAME - The name of the Key Vault
  • AZURE_CONTAINER_REGISTRY_NAME - The name of the container registry
  • AZURE_APPLICATION_INSIGHTS_NAME - The name of the Application Insights instance
  • AZURE_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

Next Steps

Bring your code to the sample, configure the azure.yaml file and deploy to Azure using azd deploy!

Reporting Issues and Feedback

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.