You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"body": "<p>Dear Team,</p><p>We would like to inform you that the ${{ env.accelerator_name }} Test Automation process has completed successfully.</p><p><strong>Run URL:</strong> <a href=\"${RUN_URL}\">${RUN_URL}</a><br></p><p><strong>Test Report:</strong> <a href=\"${REPORT_URL}\">${REPORT_URL}</a></p><p>Best regards,<br>Your Automation Team</p>",
99
-
"subject": "${{ env.accelerator_name }} Test Automation - Success"
100
-
}
101
-
EOF
102
-
)
103
+
echo "## 🧪 E2E Test Job Summary" >> $GITHUB_STEP_SUMMARY
"body": "<p>Dear Team,</p><p>We would like to inform you that the ${{ env.accelerator_name }} Test Automation process has encountered an issue and has failed to complete successfully.</p><p><strong>Run URL:</strong> <a href=\"${RUN_URL}\">${RUN_URL}</a><br> ${OUTPUT}</p><p><strong>Test Report:</strong> <a href=\"${REPORT_URL}\">${REPORT_URL}</a></p><p>Please investigate the matter at your earliest convenience.</p><p>Best regards,<br>Your Automation Team</p>",
107
-
"subject": "${{ env.accelerator_name }} Test Automation - Failure"
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,9 @@ This example focuses on a generic use case - chat with your own data, generate a
13
13
</div>
14
14
<br/>
15
15
16
+
**Note:** With any AI solutions you create using these templates, you are responsible for assessing all associated risks and for complying with all applicable laws and safety standards. Learn more in the transparency documents for [Agent Service](https://learn.microsoft.com/en-us/azure/ai-foundry/responsible-ai/agents/transparency-note) and [Agent Framework](https://github.com/microsoft/agent-framework/blob/main/TRANSPARENCY_FAQ.md).
@@ -69,8 +72,8 @@ Follow the quick deploy steps on the deployment guide to deploy this solution to
69
72
[Click here to launch the deployment guide](./docs/DeploymentGuide.md)
70
73
<br/><br/>
71
74
72
-
|[](https://codespaces.new/microsoft/document-generation-solution-accelerator)|[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/document-generation-solution-accelerator)|
73
-
|---|---|
75
+
| [](https://codespaces.new/microsoft/document-generation-solution-accelerator) | [](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/document-generation-solution-accelerator) | [&message=Open&color=blue&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/azure/?vscode-azure-exp=foundry&agentPayload=eyJiYXNlVXJsIjogImh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9taWNyb3NvZnQvZG9jdW1lbnQtZ2VuZXJhdGlvbi1zb2x1dGlvbi1hY2NlbGVyYXRvci9yZWZzL2hlYWRzL21haW4vaW5mcmEvdnNjb2RlX3dlYiIsICJpbmRleFVybCI6ICIvaW5kZXguanNvbiIsICJ2YXJpYWJsZXMiOiB7ImFnZW50SWQiOiAiIiwgImNvbm5lY3Rpb25TdHJpbmciOiAiIiwgInRocmVhZElkIjogIiIsICJ1c2VyTWVzc2FnZSI6ICIiLCAicGxheWdyb3VuZE5hbWUiOiAiIiwgImxvY2F0aW9uIjogIiIsICJzdWJzY3JpcHRpb25JZCI6ICIiLCAicmVzb3VyY2VJZCI6ICIiLCAicHJvamVjdFJlc291cmNlSWQiOiAiIiwgImVuZHBvaW50IjogIiJ9LCAiY29kZVJvdXRlIjogWyJhaS1wcm9qZWN0cy1zZGsiLCAicHl0aG9uIiwgImRlZmF1bHQtYXp1cmUtYXV0aCIsICJlbmRwb2ludCJdfQ==) |
Copy file name to clipboardExpand all lines: docs/CustomizingAzdParameters.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,12 @@ By default this template will use the environment name as the prefix to prevent
18
18
|`AZURE_ENV_OPENAI_API_VERSION`| string |`2025-01-01-preview`| Specifies the API version for Azure OpenAI. |
19
19
|`AZURE_ENV_MODEL_CAPACITY`| integer |`30`| Sets the GPT model capacity (based on what's available in your subscription). |
20
20
|`AZURE_ENV_EMBEDDING_MODEL_NAME`| string |`text-embedding-ada-002`| Sets the name of the embedding model to use. |
21
+
|`AZURE_ENV_ACR_NAME`| string |`byocgacontainerreg`| Sets the Azure Container Registry name (allowed value: `byocgacontainerreg`)|
21
22
|`AZURE_ENV_IMAGETAG`| string |`latest_waf`| Set the Image tag Like (allowed values: latest_waf, dev, hotfix) |
22
23
|`AZURE_ENV_EMBEDDING_MODEL_CAPACITY`| integer |`80`| Sets the capacity for the embedding model deployment. |
23
24
|`AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID`| string | Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md)| Reuses an existing Log Analytics Workspace instead of creating a new one. |
24
25
|`AZURE_EXISTING_AI_PROJECT_RESOURCE_ID`| string | Guid to get your existing AI Foundry Project resource ID | Reuses an existing AIFoundry and AIFoundryProject instead of creating a new one. |
26
+
|`AZURE_ENV_OPENAI_LOCATION`| string |`<User selects during deployment>`| Sets the Azure region for OpenAI resource deployment. |
Copy file name to clipboardExpand all lines: docs/DeploymentGuide.md
+36-4Lines changed: 36 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,10 +64,10 @@ azd env set AZURE_ENV_VM_ADMIN_PASSWORD <your-password>
64
64
65
65
## Deployment Options & Steps
66
66
67
-
Pick from the options below to see step-by-step instructions for GitHub Codespaces, VS Code Dev Containers, and Local Environments.
67
+
Pick from the options below to see step-by-step instructions for GitHub Codespaces, VS Code Dev Containers, Visual Studio Code (WEB) and Local Environments.
68
68
69
-
|[](https://codespaces.new/microsoft/document-generation-solution-accelerator)|[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/document-generation-solution-accelerator)|
70
-
|---|---|
69
+
| [](https://codespaces.new/microsoft/document-generation-solution-accelerator) | [](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/document-generation-solution-accelerator) | [&message=Open&color=blue&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/azure/?vscode-azure-exp=foundry&agentPayload=eyJiYXNlVXJsIjogImh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9taWNyb3NvZnQvZG9jdW1lbnQtZ2VuZXJhdGlvbi1zb2x1dGlvbi1hY2NlbGVyYXRvci9yZWZzL2hlYWRzL21haW4vaW5mcmEvdnNjb2RlX3dlYiIsICJpbmRleFVybCI6ICIvaW5kZXguanNvbiIsICJ2YXJpYWJsZXMiOiB7ImFnZW50SWQiOiAiIiwgImNvbm5lY3Rpb25TdHJpbmciOiAiIiwgInRocmVhZElkIjogIiIsICJ1c2VyTWVzc2FnZSI6ICIiLCAicGxheWdyb3VuZE5hbWUiOiAiIiwgImxvY2F0aW9uIjogIiIsICJzdWJzY3JpcHRpb25JZCI6ICIiLCAicmVzb3VyY2VJZCI6ICIiLCAicHJvamVjdFJlc291cmNlSWQiOiAiIiwgImVuZHBvaW50IjogIiJ9LCAiY29kZVJvdXRlIjogWyJhaS1wcm9qZWN0cy1zZGsiLCAicHl0aG9uIiwgImRlZmF1bHQtYXp1cmUtYXV0aCIsICJlbmRwb2ludCJdfQ==) |
70
+
|---|---|--|
71
71
72
72
<details>
73
73
<summary><b>Deploy in GitHub Codespaces</b></summary>
@@ -103,6 +103,38 @@ You can run this solution in VS Code Dev Containers, which will open the project
103
103
104
104
</details>
105
105
106
+
<details>
107
+
<summary><b>Deploy in Visual Studio Code (WEB)</b></summary>
108
+
109
+
### Visual Studio Code (WEB)
110
+
111
+
You can run this solution in VS Code Web. The button will open a web-based VS Code instance in your browser:
112
+
113
+
1. Open the solution accelerator (this may take several minutes):
114
+
115
+
[&message=Open&color=blue&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/azure/?vscode-azure-exp=foundry&agentPayload=eyJiYXNlVXJsIjogImh0dHBzOi8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9taWNyb3NvZnQvZG9jdW1lbnQtZ2VuZXJhdGlvbi1zb2x1dGlvbi1hY2NlbGVyYXRvci9yZWZzL2hlYWRzL21haW4vaW5mcmEvdnNjb2RlX3dlYiIsICJpbmRleFVybCI6ICIvaW5kZXguanNvbiIsICJ2YXJpYWJsZXMiOiB7ImFnZW50SWQiOiAiIiwgImNvbm5lY3Rpb25TdHJpbmciOiAiIiwgInRocmVhZElkIjogIiIsICJ1c2VyTWVzc2FnZSI6ICIiLCAicGxheWdyb3VuZE5hbWUiOiAiIiwgImxvY2F0aW9uIjogIiIsICJzdWJzY3JpcHRpb25JZCI6ICIiLCAicmVzb3VyY2VJZCI6ICIiLCAicHJvamVjdFJlc291cmNlSWQiOiAiIiwgImVuZHBvaW50IjogIiJ9LCAiY29kZVJvdXRlIjogWyJhaS1wcm9qZWN0cy1zZGsiLCAicHl0aG9uIiwgImRlZmF1bHQtYXp1cmUtYXV0aCIsICJlbmRwb2ludCJdfQ==)
116
+
117
+
2. When prompted, sign in using your Microsoft account linked to your Azure subscription.
118
+
119
+
Select the appropriate subscription to continue.
120
+
121
+
3. Once the solution opens, the **AI Foundry terminal** will automatically start running the following command to install the required dependencies:
122
+
123
+
```shell
124
+
sh install.sh
125
+
```
126
+
During this process, you’ll be prompted with the message:
127
+
```
128
+
What would you like to do with these files?
129
+
- Overwrite with versions from template
130
+
- Keep my existing files unchanged
131
+
```
132
+
Choose “**Overwrite with versions from template**” and provide a unique environment name when prompted.
133
+
134
+
4. Continue with the [deploying steps](#deploying-with-azd).
135
+
136
+
</details>
137
+
106
138
<details>
107
139
<summary><b>Deploy in your local Environment</b></summary>
108
140
@@ -172,7 +204,7 @@ To adjust quota settings, follow these [steps](./AzureGPTQuotaSettings.md).
172
204
173
205
### Deploying with AZD
174
206
175
-
Once you've opened the project in [Codespaces](#github-codespaces), [Dev Containers](#vs-code-dev-containers), or [locally](#local-environment), you can deploy it to Azure by following these steps:
207
+
Once you've opened the project in [Codespaces](#github-codespaces), [Dev Containers](#vs-code-dev-containers), [Visual Studio Code (WEB)](#visual-studio-code-web) or [locally](#local-environment), you can deploy it to Azure by following these steps:
Copy file name to clipboardExpand all lines: infra/scripts/run_create_index_scripts.sh
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,24 @@ fi
83
83
echo"User already has the Azure AI User role."
84
84
fi
85
85
86
+
### Assign Cognitive Services OpenAI User role to the signed in user ###
87
+
88
+
# Check if the user has the Cognitive Services OpenAI User role
89
+
echo"Checking if user has the Cognitive Services OpenAI User role"
90
+
role_assignment=$(MSYS_NO_PATHCONV=1 az role assignment list --role 5e0bd9bd-7b93-4f28-af87-19fc36ad61bd --scope $aif_resource_id --assignee $signed_user_id --query "[].roleDefinitionId" -o tsv)
91
+
if [ -z"$role_assignment" ];then
92
+
echo"User does not have the Cognitive Services OpenAI User role. Assigning the role."
93
+
MSYS_NO_PATHCONV=1 az role assignment create --assignee $signed_user_id --role 5e0bd9bd-7b93-4f28-af87-19fc36ad61bd --scope $aif_resource_id --output none
94
+
if [ $?-eq 0 ];then
95
+
echo"Cognitive Services OpenAI User role assigned successfully."
96
+
else
97
+
echo"Failed to assign Cognitive Services OpenAI User role."
98
+
exit 1
99
+
fi
100
+
else
101
+
echo"User already has the Cognitive Services OpenAI User role."
102
+
fi
103
+
86
104
### Assign Search Index Data Contributor role to the signed in user ###
0 commit comments