File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
6
6
7
7
services :
8
- " api and frontend " :
8
+ api_and_frontend :
9
9
project : ./src
10
10
language : py
11
11
host : containerapp
Original file line number Diff line number Diff line change @@ -41,26 +41,26 @@ await search_index_manager.build_embeddings_file(
41
41
To deploy your application using the RAG feature, set the following environment variables locally:
42
42
In power shell:
43
43
```
44
- $env:USE_SEARCH_SERVICE ="true"
44
+ $env:USE_AZURE_AI_SEARCH_SERVICE ="true"
45
45
$env:AZURE_AI_SEARCH_INDEX_NAME="index_sample"
46
46
$env:AZURE_AI_EMBED_DEPLOYMENT_NAME="text-embedding-3-small"
47
47
```
48
48
49
49
In bash:
50
50
```
51
- export USE_SEARCH_SERVICE ="true"
51
+ export USE_AZURE_AI_SEARCH_SERVICE ="true"
52
52
export AZURE_AI_SEARCH_INDEX_NAME="index_sample"
53
53
export AZURE_AI_EMBED_DEPLOYMENT_NAME="text-embedding-3-small"
54
54
```
55
55
56
56
In cmd:
57
57
```
58
- set USE_SEARCH_SERVICE =true
58
+ set USE_AZURE_AI_SEARCH_SERVICE =true
59
59
set AZURE_AI_SEARCH_INDEX_NAME=index_sample
60
60
set AZURE_AI_EMBED_DEPLOYMENT_NAME=text-embedding-3-small
61
61
```
62
62
63
- - ` USE_SEARCH_SERVICE ` : Enables (default) or disables RAG.
63
+ - ` USE_AZURE_AI_SEARCH_SERVICE ` : Enables (default) or disables RAG.
64
64
- ` AZURE_AI_SEARCH_INDEX_NAME ` : The Azure Search Index the application will use.
65
65
- ` AZURE_AI_EMBED_DEPLOYMENT_NAME ` : The Azure embedding deployment used to create embeddings.
66
66
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ module api 'api.bicep' = {
270
270
name : 'ca-api-${resourceToken }'
271
271
location : location
272
272
tags : tags
273
- serviceName : 'api and frontend '
273
+ serviceName : 'api_and_frontend '
274
274
identityName : '${abbrs .managedIdentityUserAssignedIdentities }api-${resourceToken }'
275
275
containerAppsEnvironmentName : containerApps .outputs .environmentName
276
276
containerRegistryName : containerApps .outputs .registryName
You can’t perform that action at this time.
0 commit comments