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
Copy file name to clipboardExpand all lines: README.md
+37-2Lines changed: 37 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,18 @@
1
1
# Content processing solution accelerator
2
-
Extract data and apply schemas across your multi-modal content, with confidence scoring and user validation enabling greater speed of data ingestion. Process claims, invoices, contracts and other documents quickly and accurately by extracting information from unstructured content and mapping it to a structured format. This template supports text, images, tables and graphs.
2
+
Extract data and apply sche### How to install or deploy
3
+
Follow the quick deploy steps on the deployment guide to deploy this solution to your own Azure subscription.
4
+
5
+
> **⚠️ Prerequisites Check:** Ensure you have **Owner + User Access Administrator** roles in your Azure subscription for smooth deployment. See [Prerequisites](#prerequisites-and-costs) below for details.
6
+
7
+
> **Note:** This solution accelerator requires **Azure Developer CLI (azd) version 1.18.0 or higher**. Please ensure you have the latest version installed before proceeding with deployment. [Download azd here](https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/install-azd).
8
+
9
+
**🚀 Quick Start:**
10
+
1.**Check Prerequisites** - Verify your Azure permissions and quota availability
11
+
2.**Create Environment** - Use `azd env new <environment-name>` (max 14 chars, alphanumeric only)
12
+
3.**Deploy** - Run `azd up` and follow the prompts
13
+
4.**Validate** - Use our deployment validation checklist to ensure success
14
+
15
+
[📖 **Click here for the complete deployment guide**](./docs/DeploymentGuide.md)ross your multi-modal content, with confidence scoring and user validation enabling greater speed of data ingestion. Process claims, invoices, contracts and other documents quickly and accurately by extracting information from unstructured content and mapping it to a structured format. This template supports text, images, tables and graphs.
3
16
4
17
These capabilities can be applied to numerous use cases including: contract processing, claims processing, invoice processing, ID verification, and clinician-patient visit record summarization.
5
18
@@ -84,10 +97,32 @@ Follow the quick deploy steps on the deployment guide to deploy this solution
<br/>To ensure sufficient quota is available in your subscription, please follow [quota check instructions guide](./docs/quota_check.md) before you deploy the solution.
86
99
100
+
> 🛠️ **Need Help?** Check our [Troubleshooting Guide](./docs/TroubleShootingSteps.md) for solutions to 25+ common deployment issues.
101
+
87
102
<br/>
88
103
89
104
### Prerequisites and costs
90
-
To deploy this solution accelerator, ensure you have access to an [Azure subscription](https://azure.microsoft.com/free/) with the necessary permissions to create **resource groups, resources, app registrations, and assign roles at the resource group level**. This should include Contributor role at the subscription level and Role Based Access Control role on the subscription and/or resource group level. Follow the steps in [Azure Account Set Up](./docs/AzureAccountSetup.md).
105
+
106
+
#### Required Permissions
107
+
To deploy this solution accelerator, you need **Azure subscription access** with the following permissions:
108
+
109
+
**✅ Recommended Permissions (Simplest Setup):**
110
+
-**Owner** role at the subscription or resource group level
111
+
-**User Access Administrator** role at the subscription or resource group level
112
+
113
+
> **Note:** These elevated permissions are required because the deployment creates Managed Identities and assigns roles to them automatically.
114
+
115
+
**⚠️ Alternative Least-Privilege Setup:**
116
+
If you cannot use Owner + User Access Administrator roles, you'll need the following minimum permissions:
117
+
118
+
| Permission | Required For | Scope |
119
+
|------------|-------------|-------|
120
+
|**Contributor**| Creating and managing Azure resources | Subscription or Resource Group |
121
+
|**User Access Administrator**| Assigning roles to Managed Identities | Resource Group |
|**Role Based Access Control Administrator**| Managing role assignments | Resource Group |
124
+
125
+
> **Important:** With least-privilege setup, you may need to perform some manual steps during deployment. Follow the steps in [Azure Account Set Up](./docs/AzureAccountSetup.md) for detailed guidance.
91
126
92
127
Here are some example regions where the services are available: East US, East US2, Australia East, UK South, France Central, Africa.
Copy file name to clipboardExpand all lines: docs/DeploymentGuide.md
+203-6Lines changed: 203 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,27 @@
2
2
3
3
## **Pre-requisites**
4
4
5
-
To deploy this solution accelerator, ensure you have access to an [Azure subscription](https://azure.microsoft.com/free/) with the necessary permissions to create **resource groups, resources, app registrations, and assign roles at the resource group level**. This should include Contributor role at the subscription level and Role Based Access Control role on the subscription and/or resource group level. Follow the steps in [Azure Account Set Up](./AzureAccountSetup.md).
5
+
### Required Permissions & Access
6
+
7
+
To deploy this solution accelerator, you need **Azure subscription access** with the following permissions:
8
+
9
+
**✅ Recommended Permissions (Simplest Setup):**
10
+
-**Owner** role at the subscription or resource group level
11
+
-**User Access Administrator** role at the subscription or resource group level
12
+
13
+
> **Note:** These elevated permissions are required because the deployment creates Managed Identities and assigns roles to them automatically.
14
+
15
+
**⚠️ Alternative Least-Privilege Setup:**
16
+
If you cannot use Owner + User Access Administrator roles, you'll need the following minimum permissions:
17
+
18
+
| Permission | Required For | Scope |
19
+
|------------|-------------|-------|
20
+
|**Contributor**| Creating and managing Azure resources | Subscription or Resource Group |
21
+
|**User Access Administrator**| Assigning roles to Managed Identities | Resource Group |
|**Role Based Access Control Administrator**| Managing role assignments | Resource Group |
24
+
25
+
> **Important:** With least-privilege setup, you may need to perform some manual steps during deployment. Follow the steps in [Azure Account Set Up](./AzureAccountSetup.md) for detailed guidance.
6
26
7
27
Check the [Azure Products by Region](https://azure.microsoft.com/en-us/explore/global-infrastructure/products-by-region/?products=all®ions=all) page and select a **region** where the following services are available:
8
28
@@ -34,6 +54,20 @@ This will allow the scripts to run for the current session without permanently c
34
54
35
55
⚠️ To ensure sufficient quota is available in your subscription, please follow [quota check instructions guide](./quota_check.md) before you deploy the solution.
36
56
57
+
### **🛠️ Troubleshooting & Common Issues**
58
+
59
+
**Before you start deployment**, be aware of these common issues and solutions:
|**ReadOnlyDisabledSubscription**| Check if you have an active subscription |[Troubleshooting Guide](./TroubleShootingSteps.md#readonlydisabledsubscription)|
> **🚨 If you encounter deployment errors:** Check the [complete troubleshooting guide](./TroubleShootingSteps.md) with 25+ common error solutions.
70
+
37
71
<br/>
38
72
39
73
@@ -146,6 +180,60 @@ To adjust quota settings, follow these [steps](./AzureGPTQuotaSettings.md).
146
180
147
181
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:
148
182
183
+
#### **🔄 Important: Environment Management for Redeployments**
184
+
185
+
> **⚠️ CRITICAL:** If you're redeploying or have deployed this solution before, you **MUST** create a fresh environment to avoid conflicts and deployment failures.
186
+
187
+
**Choose one of the following before deployment:**
188
+
189
+
**Option A: Create a completely new environment (Recommended)**
>**💡 Why is this needed?** Azure resources maintain state information tied to your environment. Reusing an old environment can cause naming conflicts, permission issues, and deployment failures.
202
+
203
+
#### **📝 Environment Naming Requirements**
204
+
205
+
When creating your environment name, follow these rules:
206
+
- **Maximum 14 characters** (will be expanded to meet Azure resource naming requirements)
207
+
- **Only lowercase letters and numbers** (a-z, 0-9)
@@ -171,7 +259,7 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain
171
259
```
172
260
>**Note:** This solution accelerator requires **Azure Developer CLI (azd) version 1.18.0 or higher**. Please ensure you have the latest version installed before proceeding with deployment. [Download azd here](https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/install-azd).
173
261
174
-
3. Provide an `azd` environment name(e.g., "cpsapp").
262
+
3. **Provide an `azd` environment name** - Use the naming requirements above (e.g., "cpsapp01").
175
263
4. Select a subscription from your Azure account and choose a location that has quota for all the resources.
176
264
- This deployment will take *4-6 minutes* to provision the resources in your account and set up the solution with sample data.
177
265
- If you encounter an error or timeout during deployment, changing the location may help, as there could be availability constraints for the resources.
@@ -308,9 +396,118 @@ To help you get started, here's the [Sample Workflow](./SampleWorkflow.md) you c
308
396
- Copy the necessary environment variable values and paste them into your local `.env` file.
309
397
310
398
399
+
## 🎯 Deployment Success Validation
400
+
401
+
After deployment completes, use this checklist to verify everything is working correctly:
402
+
403
+
### **✅ Deployment Validation Checklist**
404
+
405
+
**1. Basic Deployment Verification**
406
+
- [ ] `azd up` completed successfully without errors
407
+
- [ ] All Azure resources are created in the resource group
408
+
- [ ] Both Web and API container apps are running
409
+
410
+
**2. Container Apps Health Check**
411
+
```powershell
412
+
# Test Web App (replace <your-web-app-url> with actual URL from deployment output)
413
+
curl -I https://<your-web-app-url>/
414
+
415
+
# Test API App (replace <your-api-app-url> with actual URL)
416
+
curl -I https://<your-api-app-url>/health
417
+
```
418
+
**Expected Result:** Both should return HTTP 200 status
419
+
420
+
**3. Authentication Configuration**
421
+
- [ ] App authentication is configured (see [App Authentication Guide](./ConfigureAppAuthentication.md))
422
+
- [ ] You can access the web application without errors
- Validation rule application and quality assurance
505
+
506
+
3. **Custom Document Processing:**
507
+
- Create and test your own document schemas
508
+
- Optimize extraction quality through iterative refinement
509
+
- Scale to production volumes with best practices
510
+
511
+
>**📖 [Complete Golden Path Workflows Guide](./GoldenPathWorkflows.md)** - Detailed step-by-step instructions, expected outcomes, and best practices.
512
+
513
+
>**💡 Pro Tip:** The solution includes confidence scoring and human-in-the-loop validation. Use the confidence thresholds to determine which documents need manual review. The golden path workflows will teach you how to interpret and act on these scores effectively.
0 commit comments