Skip to content

Commit 7befa39

Browse files
authored
Merge pull request #61 from Azure-Samples/howie/fix-service-name
Fixed service name to avoid space and doc
2 parents 496ced9 + 9b4a38b commit 7befa39

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

azure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
66

77
services:
8-
"api and frontend":
8+
api_and_frontend:
99
project: ./src
1010
language: py
1111
host: containerapp

docs/RAG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,26 +41,26 @@ await search_index_manager.build_embeddings_file(
4141
To deploy your application using the RAG feature, set the following environment variables locally:
4242
In power shell:
4343
```
44-
$env:USE_SEARCH_SERVICE="true"
44+
$env:USE_AZURE_AI_SEARCH_SERVICE="true"
4545
$env:AZURE_AI_SEARCH_INDEX_NAME="index_sample"
4646
$env:AZURE_AI_EMBED_DEPLOYMENT_NAME="text-embedding-3-small"
4747
```
4848

4949
In bash:
5050
```
51-
export USE_SEARCH_SERVICE="true"
51+
export USE_AZURE_AI_SEARCH_SERVICE="true"
5252
export AZURE_AI_SEARCH_INDEX_NAME="index_sample"
5353
export AZURE_AI_EMBED_DEPLOYMENT_NAME="text-embedding-3-small"
5454
```
5555

5656
In cmd:
5757
```
58-
set USE_SEARCH_SERVICE=true
58+
set USE_AZURE_AI_SEARCH_SERVICE=true
5959
set AZURE_AI_SEARCH_INDEX_NAME=index_sample
6060
set AZURE_AI_EMBED_DEPLOYMENT_NAME=text-embedding-3-small
6161
```
6262

63-
- `USE_SEARCH_SERVICE`: Enables (default) or disables RAG.
63+
- `USE_AZURE_AI_SEARCH_SERVICE`: Enables (default) or disables RAG.
6464
- `AZURE_AI_SEARCH_INDEX_NAME`: The Azure Search Index the application will use.
6565
- `AZURE_AI_EMBED_DEPLOYMENT_NAME`: The Azure embedding deployment used to create embeddings.
6666

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ module api 'api.bicep' = {
270270
name: 'ca-api-${resourceToken}'
271271
location: location
272272
tags: tags
273-
serviceName: 'api and frontend'
273+
serviceName: 'api_and_frontend'
274274
identityName: '${abbrs.managedIdentityUserAssignedIdentities}api-${resourceToken}'
275275
containerAppsEnvironmentName: containerApps.outputs.environmentName
276276
containerRegistryName: containerApps.outputs.registryName

0 commit comments

Comments
 (0)