@@ -64,7 +64,7 @@ param useSearch bool = true
64
64
var aiConfig = loadYamlContent ('./ai.yaml' )
65
65
66
66
@description ('The API version of the OpenAI resource' )
67
- param openAiApiVersion string = ''
67
+ param openAiApiVersion string = '2023-03-15-preview '
68
68
69
69
@description ('The type of the OpenAI resource' )
70
70
param openAiType string = 'azure'
@@ -76,7 +76,7 @@ param searchServiceName string = ''
76
76
param cosmosAccountName string = ''
77
77
78
78
@description ('The name of the OpenAI embedding deployment' )
79
- param openAiEmbeddingDeploymentName string = ''
79
+ param openAiEmbeddingDeploymentName string = 'text-embedding-ada-002 '
80
80
81
81
@description ('The name of the AI search index' )
82
82
param aiSearchIndexName string = 'contoso-products'
@@ -301,7 +301,7 @@ module userCosmosAccountRole 'core/security/role-cosmos.bicep' = if (!empty(prin
301
301
output AZURE_LOCATION string = location
302
302
output AZURE_RESOURCE_GROUP string = resourceGroup .name
303
303
304
- output AZURE_OPENAI_DEPLOYMENT string = openAiDeploymentName
304
+ output AZURE_OPENAI_CHAT_DEPLOYMENT string = openAiDeploymentName
305
305
output AZURE_OPENAI_API_VERSION string = openAiApiVersion
306
306
output AZURE_OPENAI_ENDPOINT string = ai .outputs .openAiEndpoint
307
307
output AZURE_OPENAI_NAME string = ai .outputs .openAiName
0 commit comments