Skip to content

Commit c2ba7d4

Browse files
Merge branch 'microsoft:main' into main
2 parents 212fed5 + e17f770 commit c2ba7d4

5 files changed

Lines changed: 58 additions & 69 deletions

File tree

.github/workflows/broken-links-checker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: lycheeverse/lychee-action@v2.6.1
3838
with:
3939
args: >
40-
--verbose --exclude-mail --no-progress --exclude ^https?://
40+
--verbose --no-progress --exclude ^https?://
4141
${{ steps.changed-markdown-files.outputs.all_changed_files }}
4242
failIfEmpty: false
4343
env:
@@ -50,7 +50,7 @@ jobs:
5050
uses: lycheeverse/lychee-action@v2.6.1
5151
with:
5252
args: >
53-
--verbose --exclude-mail --no-progress --exclude ^https?://
53+
--verbose --no-progress --exclude ^https?://
5454
'**/*.md'
5555
failIfEmpty: false
5656
env:

docs/DeploymentGuide.md

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ You can run this solution using GitHub Codespaces. The button will open a web-ba
8787
</details>
8888

8989
<details>
90-
<summary><b>Deploy in VS Code</b></summary>
90+
<summary><b>Deploy in VS Code Dev Containers</b></summary>
9191

9292
### VS Code Dev Containers
9393

@@ -135,24 +135,7 @@ Consider the following settings during your deployment to modify specific settin
135135
<details>
136136
<summary><b>Configurable Deployment Settings</b></summary>
137137

138-
When you start the deployment, most parameters will have **default values**, but you can update the following settings:[here](../docs/CustomizingAzdParameters.md):
139-
140-
| **Setting** | **Description** | **Default Value** |
141-
| ------------------------------------ | --------------------------------------------------------------------------------------------- | ------------------------ |
142-
| **Azure Region** | The region where resources will be created. | `eastus` |
143-
| **Environment Name** | A **3–20 character alphanumeric** value used to generate a unique ID to prefix the resources. | `byctemplate` |
144-
| **Secondary Location** | A **less busy** region for **CosmosDB**, useful in case of availability constraints. | `eastus2` |
145-
| **Deployment Type** | Model deployment type (allowed: `Standard`, `GlobalStandard`). | `GlobalStandard` |
146-
| **GPT Model** | The GPT model used by the app | `gpt-4.1` |
147-
| **GPT Model Version** | The GPT Version used by the app | `2024-05-13` |
148-
| **OpenAI API Version** | Azure OpenAI API version used for deployments. | `2024-05-01-preview` |
149-
| **GPT Model Deployment Capacity** | Configure the capacity for **GPT model deployments** (in thousands). | `30k` |
150-
| **Embedding Model** | The embedding model used by the app. | `text-embedding-ada-002` |
151-
| **Embedding Model Capacity** | Configure the capacity for **embedding model deployments** (in thousands). | `80k` |
152-
| **Image Tag** | Image version for deployment (allowed: `latest_waf`, `dev`, `hotfix`). | `latest_waf` |
153-
| **Existing Log Analytics Workspace** | If reusing a Log Analytics Workspace, specify the ID. | *(none)* |
154-
155-
138+
When you start the deployment, most parameters will have **default values**, but you can update the following settings [here](../docs/CustomizingAzdParameters.md)
156139

157140
</details>
158141

@@ -212,10 +195,10 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain
212195
213196
3. Provide an `azd` environment name (e.g., "dgapp").
214197
4. Select a subscription from your Azure account and choose a location that has quota for all the resources.
215-
- This deployment will take *7-10 minutes* to provision the resources in your account and set up the solution with sample data.
198+
- This deployment generally takes *7-10 minutes* to provision the resources in your account and set up the solution with sample data.
216199
- If you encounter an error or timeout during deployment, changing the location may help, as there could be availability constraints for the resources.
217200
218-
5. Once the deployment has completed successfully and you would like to use the sample data, run the bash command printed in the terminal. The bash command will look like the following:
201+
5. Once the deployment has completed successfully and you would like to use the sample data, please open a **Git Bash** terminal and run the bash command printed below. The bash command will look like the following:
219202
```shell
220203
bash ./infra/scripts/process_sample_data.sh
221204
```

docs/SampleQuestions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
To help you get started, here are some **Sample Prompts** you can ask in the app:
44

5+
> _Note: Average response time is 07 -16 seconds._ <br>
6+
57
## **Sections**
68

79
### **Browse**

infra/main.bicep

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
268268
name: 'default'
269269
properties: {
270270
tags: {
271+
...resourceGroup().tags
271272
... tags
272273
TemplateName: 'DocGen'
273274
Type: enablePrivateNetworking ? 'WAF' : 'Non-WAF'
@@ -1126,7 +1127,8 @@ module webServerFarm 'br/public:avm/res/web/serverfarm:0.5.0' = {
11261127
diagnosticSettings: enableMonitoring ? [{ workspaceResourceId: logAnalyticsWorkspaceResourceId }] : null
11271128
// WAF aligned configuration for Scalability
11281129
skuName: enableScalability || enableRedundancy ? 'P1v3' : 'B3'
1129-
skuCapacity: enableScalability ? 3 : 1
1130+
// skuCapacity: enableScalability ? 3 : 1
1131+
skuCapacity: 1 // skuCapacity set to 1 (not 3) due to multiple agents created per type during WAF deployment
11301132
// WAF aligned configuration for Redundancy
11311133
zoneRedundant: enableRedundancy ? true : false
11321134
}
@@ -1248,7 +1250,7 @@ output AI_FOUNDRY_NAME string = aiFoundryAiProjectResourceName
12481250
output AI_FOUNDRY_RG_NAME string = aiFoundryAiServicesResourceGroupName
12491251

12501252
@description('Contains AI Foundry Resource ID')
1251-
output AI_FOUNDRY_RESOURCE_ID string = useExistingAiFoundryAiProject ? azureExistingAIProjectResourceId : aiFoundryAiServices!.outputs.resourceId
1253+
output AI_FOUNDRY_RESOURCE_ID string = useExistingAiFoundryAiProject ? existingAiFoundryAiServices.id : aiFoundryAiServices!.outputs.resourceId
12521254

12531255
@description('Contains AI Search Service Name')
12541256
output AI_SEARCH_SERVICE_NAME string = aiSearch.outputs.name

0 commit comments

Comments
 (0)