I want to deploy OPENAI service and BOT service Using ARM templates Via pipeline.
battula krishna reddy
0
Reputation points
- I was trying to deploy OPENAI Service and BOT service using ARM templates.
- But this service deployments need to do only the AZURE PIPELINES.
- I have tried this way but not able to deploy, please help me
OPENAI:
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"serviceName": {
"type": "string",
"metadata": {
"description": "The name of the OpenAI cognitive service."
}
},
"location": {
"type": "string",
"metadata": {
"description": "The location of the OpenAI cognitive service."
}
},
"pricingTier": {
"type": "string",
"metadata": {
"description": "The pricing tier of the OpenAI cognitive service."
}
}
},
"resources": [
{
"type": "Microsoft.CognitiveServices/accounts",
"name": "[parameters('serviceName')]",
"apiVersion": "2023-10-01-preview",
"location": "[parameters('location')]",
"sku": {
"name": "[parameters('pricingTier')]"
},
"kind": "OpenAI",
"properties": {}
}
]
}
OPENAI PARAMETERS:
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"serviceName": {
"value": "krishnatest-ai"
},
"location": {
"value": "eastus2"
},
"pricingTier": {
"value": "S0"
}
}
}