One-click deployment of a fully automated AI chat assistant with GPT-4.1-mini and GPT-image-1 image generation capabilities
Deploy NowThis solution fully automates the creation, configuration, and deployment of an AI chat assistant application on Azure with vector search capabilities.
Before deploying, ensure you have the following set up:
ns1-03.azure-dns.com
ns2-03.azure-dns.net
ns3-03.azure-dns.org
ns4-03.azure-dns.info
The deployment includes the following Azure components:
Uses ClientSecretCredential to authenticate with Azure using service principal credentials (AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, AZURE_TENANT_ID).
Before provisioning, checks quotas for Azure OpenAI service usage, VM vCPU cores, storage account quotas, and network resource quotas.
Creates or updates an Azure Resource Group and Storage Account with Standard_LRS SKU and StorageV2 kind.
Creates an Azure container storage to receive your custom file uploads to enable vector database embedding.
Creates an Azure OpenAI resource with SKU "S0" and two deployments: gpt-4.1-mini (chat/completions) and gpt-image-1 (image generation).
Generates a detailed bash setup script that will run on the VM after provisioning to install all dependencies and configure the application.
Creates Azure Virtual Network, subnet, Public IP, Network Security Group with inbound rules for ports 22, 80, 443, and 8000.
Creates a VM with specified size and Ubuntu 22.04 LTS image, using the Network Interface created above.
Creates or retrieves an Azure DNS zone for the domain and adds an A record pointing to the VM's public IP.
Attaches a Custom Script Extension to the VM to download and run the setup script from Blob Storage during provisioning.
GPT-4 for chat completions and image generation capabilities with secure API access.
Integrated vector search index for enhanced AI capabilities and contextual responses with easy to use file-upload.
Virtual Network with Network Security Group and properly configured inbound rules.
Custom Script Extension handles all VM configuration automatically during provisioning.
Automatic Let's Encrypt certificate generation and configuration with certbot.
Built-in logging and error handling throughout the deployment process.
This solution can be deployed through multiple methods:
Use the button below to initiate the deployment process:
Deploy to AzureNote: You will need appropriate Azure permissions and service principal credentials.