Skip to content

Commit d9d1319

Browse files
author
Seth
committed
Sample app - added initial docs, infra cleanup
1 parent b416355 commit d9d1319

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

docs/sample_app_setup.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Setup Sample Application
2+
3+
> **Note:** Before proceeding, ensure you have completed the deployment steps described in the project `README.md`.
4+
5+
## Post-Deployment Steps
6+
7+
1. **Access AI Foundry**
8+
- Connect to your VM jump box using Azure Bastion.
9+
- Once connected, open AI Foundry.
10+
11+
2. **Create a Data Source**
12+
- In AI Foundry, create a new Data Source.
13+
- Upload your data files to this Data Source.
14+
15+
3. **Create an Index**
16+
- In AI Foundry, create a new Index.
17+
- Select the Data Source you just created.
18+
- Choose the existing Azure Cognitive Search service and the deployed text embedding model.
19+
20+
4. **Update App Service Environment Variable**
21+
- After indexing completes, note the name of your new Index.
22+
- Update the relevant environment variable in your Azure App Service configuration with this Index name.
23+
24+
5. **Launch and Use the Application**
25+
- Start your Azure App Service.
26+
- Open the application and begin chatting with your data.
27+

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ module appService 'modules/appservice.bicep' = if (deploySampleApp) {
475475
}
476476
searchServiceConfiguration: {
477477
name: aiSearch.outputs.name
478-
indexName: 'test'// aiSearchIndex.outputs.indexName // TODO
478+
indexName: 'replace_with_manually_created_index'
479479
}
480480
cosmosDbConfiguration: {
481481
account: cosmosDb.outputs.name

infra/modules/storageAccount.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module storageAccount 'br/public:avm/res/storage/storage-account:0.17.0' = {
6060
publicNetworkAccess: networkIsolation ? 'Disabled' : 'Enabled'
6161
accessTier: 'Hot'
6262
allowBlobPublicAccess: false
63-
allowSharedKeyAccess: true // TODO - set to true for deployment script, may not need
63+
allowSharedKeyAccess: false
6464
allowCrossTenantReplication: false
6565
minimumTlsVersion: 'TLS1_2'
6666
networkAcls: {

0 commit comments

Comments
 (0)