Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/DeploymentGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ Once you've opened the project in [Codespaces](#github-codespaces), [Dev Contain
4. **Deleting Resources After a Failed Deployment**

- Follow steps in [Delete Resource Group](./DeleteResourceGroup.md) if your deployment fails and/or you need to clean up the resources.

## Running the application

To help you get started, here's the [Sample Workflow](./SampleWorkflow.md) you can follow to try it out.

## Environment configuration for local development & debugging
**Creating env file**
Expand Down
43 changes: 43 additions & 0 deletions docs/SampleWorkflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

# Sample Workflow

To help you get started, here’s a **sample process** you can follow in the app.

## **Process**

> Note: Download sample data files for **Invoices** and **Property Claims** from [here](../src/ContentProcessorAPI/samples).

### **API Documentation**

- Click on **API Documentation** to view and explore the available API endpoints and their details.

### **Upload**

> Note: Average response time is 01 minute.

_Sample Operations:_

- Select the **Schema** under the Processing Queue pane.
- Click on the **Import Content** button.
- Choose a file from the downloaded list for data extraction corresponding to the **Schema** selected.
- Click the **Upload** button.

### **Review and Process**

_Sample Operation:_

- Once the file status is marked as completed, click on the file.
- Once the batch processing is done, the file is ready to review and the extracted data is displayed in the **Output Review** pane and corresponding file is visible in the **Source Document** pane.
- Edit any incorrect data in the JSON which is shown in the **Output Review** pane under **Extracted Results** tab.
- Add notes under the **Comments** and save the changes by clicking on the **Save** button.
- You can view the process steps in the **Output Review** pane under the **Process Steps** tab and expand the extract, Map, and evaluate sections to see the outputs from each process step.

![Application](images/sampleworkflow1.png)

### **Delete**

_Sample operation:_

- Click the **three-dot menu** at the end of the row to expand options, then select **Delete** to remove the item.

This structured approach ensures that users can efficiently extract key information, and organize structured outputs for easy search and analysis.
Binary file added docs/images/sampleworkflow1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ metadata name = 'Content Processing Solution Accelerator'
metadata description = 'Bicep template to deploy the Content Processing Solution Accelerator with AVM compliance.'

// ========== Parameters ========== //
@description('Required. Name of the solution to deploy.')
@minLength(3)
@maxLength(20)
@description('Required. Name of the solution to deploy. This should be 3-20 characters long.')
param solutionName string = 'cps'
@description('Optional. Location for all Resources.')
param location string = resourceGroup().location
Expand Down
11 changes: 7 additions & 4 deletions infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"_generator": {
"name": "bicep",
"version": "0.37.4.10188",
"templateHash": "14310770063360835011"
"templateHash": "11985360537269850534"
},
"name": "Content Processing Solution Accelerator",
"description": "Bicep template to deploy the Content Processing Solution Accelerator with AVM compliance."
Expand All @@ -15,8 +15,10 @@
"solutionName": {
"type": "string",
"defaultValue": "cps",
"minLength": 3,
"maxLength": 20,
"metadata": {
"description": "Required. Name of the solution to deploy."
"description": "Required. Name of the solution to deploy. This should be 3-20 characters long:"
Comment thread
Roopan-Microsoft marked this conversation as resolved.
}
},
"location": {
Expand Down Expand Up @@ -32964,8 +32966,8 @@
"avmContainerApp",
"avmContainerApp_API",
"avmManagedIdentity",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageQueue)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').storageBlob)]",
"virtualNetwork"
]
},
Expand Down Expand Up @@ -38706,10 +38708,10 @@
"dependsOn": [
"avmContainerApp",
"avmManagedIdentity",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').openAI)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').aiServices)]",
"logAnalyticsWorkspace",
"virtualNetwork"
]
Expand Down Expand Up @@ -41049,6 +41051,7 @@
"avmManagedIdentity",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').contentUnderstanding)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
"[format('avmPrivateDnsZones[{0}]', variables('dnsZoneIndex').cognitiveServices)]",
Comment thread
Roopan-Microsoft marked this conversation as resolved.
"virtualNetwork"
]
},
Expand Down