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
echo "Fetching AI Services and Key Vault names before deletion..."
130
134
@@ -145,7 +149,7 @@ jobs:
145
149
echo "AI_SERVICES=$AI_SERVICES" >> $GITHUB_ENV
146
150
147
151
- name: Delete Bicep Deployment
148
-
if: success()
152
+
if: always()
149
153
run: |
150
154
set -e
151
155
echo "Checking if resource group exists..."
@@ -162,6 +166,7 @@ jobs:
162
166
fi
163
167
164
168
- name: Wait for Resource Deletion to Complete
169
+
if: always()
165
170
run: |
166
171
echo "Waiting for all deployed resources (including AI Services) to be deleted..."
167
172
@@ -289,7 +294,7 @@ jobs:
289
294
290
295
EMAIL_BODY=$(cat <<EOF
291
296
{
292
-
"body": "<p>Dear Team,</p><p>We would like to inform you that the Research Assistant Automation process has encountered an issue and has failed to complete successfully.</p><p><strong>Build URL:</strong> ${RUN_URL}<br> ${OUTPUT}</p><p>Please investigate the matter at your earliest convenience.</p><p>Best regards,<br>Your Automation Team</p>"
297
+
"body": "<p>Dear Team,</p><p>We would like to inform you that the DocGen Automation process has encountered an issue and has failed to complete successfully.</p><p><strong>Build URL:</strong> ${RUN_URL}<br> ${OUTPUT}</p><p>Please investigate the matter at your earliest convenience.</p><p>Best regards,<br>Your Automation Team</p>"
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ The sample data is sourced from generic AI-generated promissory notes.The docume
41
41
42
42
### Key features
43
43
<detailsopen>
44
-
<summary>Click to learn more about the key features this solution enables</summary>
44
+
<summary>Click to learn more about the key features this solution enables</summary>
45
45
46
46
-**Semantic search** <br/>
47
47
Azure AI Search to enable RAG and grounding of the application on the processed dataset.
@@ -62,7 +62,7 @@ Quick deploy
62
62
</h2>
63
63
64
64
### How to install or deploy
65
-
Follow the quick deploy steps on thedeployment guideto deploy this solution to your own Azure subscription.
65
+
Follow the quick deploy steps on thedeployment guideto deploy this solution to your own Azure subscription.
66
66
67
67
[Click here to launch the deployment guide](./docs/DeploymentGuide.md)
68
68
<br/><br/>
@@ -130,7 +130,7 @@ Put your data to work by reducing blank page anxiety, speeding up document draft
130
130
131
131
### Business value
132
132
<details>
133
-
<summary>Click to learn more about what value this solution provides</summary>
133
+
<summary>Click to learn more about what value this solution provides</summary>
134
134
135
135
-**Draft templates quickly** <br/>
136
136
Put your data to work to create any kind of document that is supported by a large data library.
@@ -217,4 +217,4 @@ You acknowledge that the Software and Microsoft Products and Services (1) are no
217
217
218
218
You acknowledge the Software is not subject to SOC 1 and SOC 2 compliance audits. No Microsoft technology, nor any of its component technologies, including the Software, is intended or made available as a substitute for the professional advice, opinion, or judgement of a certified financial services professional. Do not use the Software to replace, substitute, or provide professional financial advice or judgment.
219
219
220
-
BY ACCESSING OR USING THE SOFTWARE, YOU ACKNOWLEDGE THAT THE SOFTWARE IS NOT DESIGNED OR INTENDED TO SUPPORT ANY USE IN WHICH A SERVICE INTERRUPTION, DEFECT, ERROR, OR OTHER FAILURE OF THE SOFTWARE COULD RESULT IN THE DEATH OR SERIOUS BODILY INJURY OF ANY PERSON OR IN PHYSICAL OR ENVIRONMENTAL DAMAGE (COLLECTIVELY, “HIGH-RISK USE”), AND THAT YOU WILL ENSURE THAT, IN THE EVENT OF ANY INTERRUPTION, DEFECT, ERROR, OR OTHER FAILURE OF THE SOFTWARE, THE SAFETY OF PEOPLE, PROPERTY, AND THE ENVIRONMENT ARE NOT REDUCED BELOW A LEVEL THAT IS REASONABLY, APPROPRIATE, AND LEGAL, WHETHER IN GENERAL OR IN A SPECIFIC INDUSTRY. BY ACCESSING THE SOFTWARE, YOU FURTHER ACKNOWLEDGE THAT YOUR HIGH-RISK USE OF THE SOFTWARE IS AT YOUR OWN RISK.
220
+
BY ACCESSING OR USING THE SOFTWARE, YOU ACKNOWLEDGE THAT THE SOFTWARE IS NOT DESIGNED OR INTENDED TO SUPPORT ANY USE IN WHICH A SERVICE INTERRUPTION, DEFECT, ERROR, OR OTHER FAILURE OF THE SOFTWARE COULD RESULT IN THE DEATH OR SERIOUS BODILY INJURY OF ANY PERSON OR IN PHYSICAL OR ENVIRONMENTAL DAMAGE (COLLECTIVELY, “HIGH-RISK USE”), AND THAT YOU WILL ENSURE THAT, IN THE EVENT OF ANY INTERRUPTION, DEFECT, ERROR, OR OTHER FAILURE OF THE SOFTWARE, THE SAFETY OF PEOPLE, PROPERTY, AND THE ENVIRONMENT ARE NOT REDUCED BELOW A LEVEL THAT IS REASONABLY, APPROPRIATE, AND LEGAL, WHETHER IN GENERAL OR IN A SPECIFIC INDUSTRY. BY ACCESSING THE SOFTWARE, YOU FURTHER ACKNOWLEDGE THAT YOUR HIGH-RISK USE OF THE SOFTWARE IS AT YOUR OWN RISK.
Copy file name to clipboardExpand all lines: docs/DeploymentGuide.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,12 +148,16 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain
148
148
azd up
149
149
```
150
150
151
-
3. Provide an `azd` environment name (e.g., "cpsapp").
151
+
3. Provide an `azd` environment name (e.g., "dgapp").
152
152
4. Select a subscription from your Azure account and choose a location that has quota for all the resources.
153
153
- This deployment will take *7-10 minutes* to provision the resources in your account and set up the solution with sample data.
154
154
- If you encounter an error or timeout during deployment, changing the location may help, as there could be availability constraints for the resources.
155
155
156
156
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:
157
+
```shell
158
+
bash ./infra/scripts/process_sample_data.sh
159
+
```
160
+
If you don't have azd env then you need to pass parameters along with the command. Then the command will look like the following:
Copy file name to clipboardExpand all lines: docs/README_LOCAL.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
### Deploy from your local machine
2
2
3
3
#### Local Setup: Basic Chat Experience
4
-
1. Copy `.env.sample` to a new file called `.env` and configure the settings as described in the [Environment variables](#environment-variables) section.
4
+
1. Copy `.env.sample`present in `src` folder to a new file called `.env` and configure the settings as described in the [Environment variables](#environment-variables) section.
5
5
6
6
These variables are required:
7
7
-`AZURE_OPENAI_RESOURCE`
@@ -17,7 +17,7 @@
17
17
18
18
See the [documentation](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference#example-response-2) for more information on these parameters.
19
19
20
-
2. Start the app with `start.cmd`. This will build the frontend, install backend dependencies, and then start the app. Or, just run the backend in debug mode using the VSCode debug configuration in `.vscode/launch.json`.
20
+
2. Start the app with `start.cmd` or `start.sh`. This will build the frontend, install backend dependencies, and then start the app. Or, just run the backend in debug mode using the VSCode debug configuration in `.vscode/launch.json`.
21
21
22
22
3. You can see the local running app at http://127.0.0.1:50505. If you experience a port conflict and the app does not load, stop the application in the terminal (CTRL-C on Windows), edit the `start.cmd` file and change the port to a value not in use (i.e., 5000).
23
23
@@ -50,7 +50,7 @@ NOTE: You may find you need to set: MacOS: `export NODE_OPTIONS="--max-old-space
50
50
-`AZURE_SEARCH_STRICTNESS`
51
51
-`AZURE_OPENAI_EMBEDDING_NAME`
52
52
53
-
3. Start the app with `start.cmd`. This will build the frontend, install backend dependencies, and then start the app. Or, just run the backend in debug mode using the VSCode debug configuration in `.vscode/launch.json`.
53
+
3. Start the app with `start.cmd` or `start.sh`. This will build the frontend, install backend dependencies, and then start the app. Or, just run the backend in debug mode using the VSCode debug configuration in `.vscode/launch.json`.
54
54
4. You can see the local running app at http://127.0.0.1:50505. If you experience a port conflict and the app does not load, stop the application in the terminal (CTRL-C on Windows), edit the `start.cmd` file and change the port to a value not in use (i.e., 5000).
55
55
56
56
NOTE: You may find you need to set: MacOS: `export NODE_OPTIONS="--max-old-space-size=8192"` or Windows: `set NODE_OPTIONS=--max-old-space-size=8192` to avoid running out of memory when building the frontend.
@@ -62,7 +62,7 @@ To enable chat history, you will need to set up CosmosDB resources. The ARM temp
62
62
-`AZURE_COSMOSDB_CONVERSATIONS_CONTAINER`
63
63
-`AZURE_COSMOSDB_ACCOUNT_KEY`
64
64
65
-
As above, start the app with `start.cmd`, then visit the local running app at http://127.0.0.1:50505. Or, just run the backend in debug mode using the VSCode debug configuration in `.vscode/launch.json`. If you experience a port conflict and the app does not load, stop the application in the terminal (CTRL-C on Windows), edit the `start.cmd` file and change the port to a value not in use (i.e., 5000).
65
+
As above, start the app with `start.cmd` or `start.sh`, then visit the local running app at http://127.0.0.1:50505. Or, just run the backend in debug mode using the VSCode debug configuration in `.vscode/launch.json`. If you experience a port conflict and the app does not load, stop the application in the terminal (CTRL-C on Windows), edit the `start.cmd` file and change the port to a value not in use (i.e., 5000).
66
66
67
67
#### Local Setup: Enable Message Feedback
68
68
To enable message feedback, you will need to set up CosmosDB resources. Then specify these additional environment variable:
@@ -75,10 +75,10 @@ To enable message feedback, you will need to set up CosmosDB resources. Then spe
75
75
76
76
You can use the [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli) to deploy the app from your local machine. Make sure you have version 2.48.1 or later.
77
77
78
-
If this is your first time deploying the app, you can use [az webapp up](https://learn.microsoft.com/en-us/cli/azure/webapp?view=azure-cli-latest#az-webapp-up). Run the following two commands from the root folder of the repo, updating the placeholder values to your desired app name, resource group, location, and subscription. You can also change the SKU if desired.
78
+
If this is your first time deploying the app, you can use [az webapp up](https://learn.microsoft.com/en-us/cli/azure/webapp?view=azure-cli-latest#az-webapp-up). Run the following two commands from the `src` folder of the repo, updating the placeholder values to your desired app name, resource group, location, and subscription. You can also change the SKU if desired.
0 commit comments