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: 0_Azure/3_AzureAI/6_DocumentIntelligences/demos/0_QnADocBased.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Q&A Bot Using Azure - Document Based
1
+
# Azure Q&A Bot Document Based - Overview
2
2
3
3
Costa Rica
4
4
@@ -9,16 +9,15 @@ Last updated: 2024-11-19
9
9
10
10
------------------------------------------
11
11
12
-
## Example of use case with Documment Intelligence
13
12
14
13
> [!NOTE]
15
-
> Azure Form Recognizer helps to extract more data from documents but might increase the price. It is optional and can be used based on specific needs.
14
+
> Azure Document Intelligence can assist in extracting more data from documents. Given the time-consuming and complex nature of parsing information from different formats, its use is advisable.
16
15
17
16
```mermaid
18
17
graph TD
19
18
A[User Query] -->|1. User asks a question via the bot| B[Azure Bot Service]
20
19
B -->|2. Bot sends query to| C[Azure Function]
21
-
C -->|3. Azure Function uses| D[Azure Form Recognizer - Optional]
20
+
C -->|3. Azure Function uses| D[Azure Doc Intelligence ]
22
21
D -->|Extracts relevant data from documents| C
23
22
C -->|4. Azure Function queries| E[Azure AI Search]
24
23
E -->|Indexes processed documents| F[Azure Blob Storage]
@@ -44,12 +43,12 @@ graph TD
44
43
I -->|Track performance and health| C
45
44
```
46
45
47
-
###Solution Architecture
46
+
## Solution Architecture
48
47
49
48
1. Document Storage
50
49
-**Azure Blob Storage**: Store your documents in Azure Blob Storage. This service is scalable and cost-effective for storing large amounts of unstructured data. Ensure that all data stored in Azure Blob Storage is encrypted at rest and in transit.
51
50
3. Document Processing:
52
-
-**Azure Form Recognizer** (Optional): Use Azure Form Recognizer to extract structured data from your documents. This service can handle various document types, including invoices, receipts, and more, converting them into usable data.
51
+
-**Azure Document Intelligence** (Optional): Use Azure Document Intelligence to extract structured data from your documents. This service can handle various document types, including invoices, receipts, and more, converting them into usable data.
53
52
-**Azure AI Search**: Index the processed documents using Azure AI Search (formerly known as Azure Cognitive Search) to make them searchable.
54
53
4. Natural Language Processing:
55
54
-**Azure OpenAI Service**: Use the Azure OpenAI Service to leverage models like GPT-4 for understanding and generating human-like text. This can be used to interpret user queries and generate responses based on the indexed documents.
@@ -64,15 +63,15 @@ graph TD
64
63
- Azure Blob Storage and Azure AI Search are designed to scale automatically to handle large volumes of data.
65
64
- Azure Functions can scale out to handle more requests as needed.
66
65
67
-
### Example Workflow
66
+
##E.g Workflow
68
67
1.**User Query**: The user asks a question via the bot.
69
68
2.**Query Processing**: The bot sends the query to an Azure Function.
70
-
3.**Document Intelligence**: The Azure Function uses Form Recognizer to extract relevant data from the documents.
69
+
3.**Document Intelligence**: The Azure Function uses Document Intelligence to extract relevant data from the documents.
71
70
4.**Search**: The Azure Function queries the AI Search index.
72
71
5.**Response Generation**: The Azure Function uses the OpenAI model to generate a response based on the search results and extracted data.
73
72
6.**Reply**: The bot sends the response back to the user.
0 commit comments