|
| 1 | +{ |
| 2 | + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", |
| 3 | + "contentVersion": "1.0.0.0", |
| 4 | + "parameters": { |
| 5 | + "solutionName": { |
| 6 | + "value": "${AZURE_ENV_NAME}" |
| 7 | + }, |
| 8 | + "location": { |
| 9 | + "value": "${AZURE_LOCATION}" |
| 10 | + }, |
| 11 | + "deploymentType": { |
| 12 | + "value": "${AZURE_ENV_MODEL_DEPLOYMENT_TYPE}" |
| 13 | + }, |
| 14 | + "llmModel": { |
| 15 | + "value": "${AZURE_ENV_MODEL_NAME}" |
| 16 | + }, |
| 17 | + "capacity": { |
| 18 | + "value": "${AZURE_ENV_MODEL_CAPACITY}" |
| 19 | + }, |
| 20 | + "gptModelVersion": { |
| 21 | + "value": "${AZURE_ENV_MODEL_VERSION}" |
| 22 | + }, |
| 23 | + "imageVersion": { |
| 24 | + "value": "${AZURE_ENV_IMAGETAG=latest}" |
| 25 | + }, |
| 26 | + "existingLogAnalyticsWorkspaceId": { |
| 27 | + "value": "${AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID}" |
| 28 | + }, |
| 29 | + "azureExistingAIProjectResourceId": { |
| 30 | + "value": "${AZURE_EXISTING_AI_PROJECT_RESOURCE_ID}" |
| 31 | + }, |
| 32 | + "secondaryLocation": { |
| 33 | + "value": "${AZURE_ENV_COSMOS_SECONDARY_LOCATION}" |
| 34 | + }, |
| 35 | + "vmSize": { |
| 36 | + "value": "${AZURE_ENV_JUMPBOX_SIZE}" |
| 37 | + }, |
| 38 | + "vmAdminUsername": { |
| 39 | + "value": "${AZURE_ENV_JUMPBOX_ADMIN_USERNAME}" |
| 40 | + }, |
| 41 | + "vmAdminPassword": { |
| 42 | + "value": "${AZURE_ENV_JUMPBOX_ADMIN_PASSWORD}" |
| 43 | + }, |
| 44 | + "backendExists": { |
| 45 | + "value": "${SERVICE_BACKEND_RESOURCE_EXISTS=false}" |
| 46 | + }, |
| 47 | + "enableMonitoring": { |
| 48 | + "value": true |
| 49 | + }, |
| 50 | + "enablePrivateNetworking": { |
| 51 | + "value": true |
| 52 | + }, |
| 53 | + "enableScaling": { |
| 54 | + "value": true |
| 55 | + }, |
| 56 | + "backendDefinition": { |
| 57 | + "value": { |
| 58 | + "settings": [ |
| 59 | + { |
| 60 | + "name": "", |
| 61 | + "value": "${VAR}", |
| 62 | + "_comment_name": "The name of the environment variable when running in Azure. If empty, ignored.", |
| 63 | + "_comment_value": "The value to provide. This can be a fixed literal, or an expression like ${VAR} to use the value of 'VAR' from the current environment." |
| 64 | + }, |
| 65 | + { |
| 66 | + "name": "", |
| 67 | + "value": "${VAR_S}", |
| 68 | + "secret": true, |
| 69 | + "_comment_name": "The name of the environment variable when running in Azure. If empty, ignored.", |
| 70 | + "_comment_value": "The value to provide. This can be a fixed literal, or an expression like ${VAR_S} to use the value of 'VAR_S' from the current environment." |
| 71 | + } |
| 72 | + ] |
| 73 | + } |
| 74 | + }, |
| 75 | + "frontendExists": { |
| 76 | + "value": "${SERVICE_FRONTEND_RESOURCE_EXISTS=false}" |
| 77 | + }, |
| 78 | + "frontendDefinition": { |
| 79 | + "value": { |
| 80 | + "settings": [ |
| 81 | + { |
| 82 | + "name": "", |
| 83 | + "value": "${VAR}", |
| 84 | + "_comment_name": "The name of the environment variable when running in Azure. If empty, ignored.", |
| 85 | + "_comment_value": "The value to provide. This can be a fixed literal, or an expression like ${VAR} to use the value of 'VAR' from the current environment." |
| 86 | + }, |
| 87 | + { |
| 88 | + "name": "", |
| 89 | + "value": "${VAR_S}", |
| 90 | + "secret": true, |
| 91 | + "_comment_name": "The name of the environment variable when running in Azure. If empty, ignored.", |
| 92 | + "_comment_value": "The value to provide. This can be a fixed literal, or an expression like ${VAR_S} to use the value of 'VAR_S' from the current environment." |
| 93 | + } |
| 94 | + ] |
| 95 | + } |
| 96 | + }, |
| 97 | + "principalId": { |
| 98 | + "value": "${AZURE_PRINCIPAL_ID}" |
| 99 | + }, |
| 100 | + "aiModelDeployments": { |
| 101 | + "value": [ |
| 102 | + { |
| 103 | + "name": "gpt-4o", |
| 104 | + "model": { |
| 105 | + "name": "gpt-4o", |
| 106 | + "version": "2024-08-06", |
| 107 | + "format": "OpenAI" |
| 108 | + }, |
| 109 | + "sku": { |
| 110 | + "name": "GlobalStandard", |
| 111 | + "capacity": 50 |
| 112 | + } |
| 113 | + } |
| 114 | + ] |
| 115 | + } |
| 116 | + } |
| 117 | +} |
0 commit comments