Skip to content

Commit 04bbbfe

Browse files
authored
format
1 parent b140f5e commit 04bbbfe

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

0_Azure/3_AzureAI/6_DocumentIntelligences/demos/0_QnADocBased.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Q&A Bot Using Azure - Document Based
1+
# Azure Q&A Bot Document Based - Overview
22

33
Costa Rica
44

@@ -9,16 +9,15 @@ Last updated: 2024-11-19
99

1010
------------------------------------------
1111

12-
## Example of use case with Documment Intelligence
1312

1413
> [!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.
1615
1716
```mermaid
1817
graph TD
1918
A[User Query] -->|1. User asks a question via the bot| B[Azure Bot Service]
2019
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 ]
2221
D -->|Extracts relevant data from documents| C
2322
C -->|4. Azure Function queries| E[Azure AI Search]
2423
E -->|Indexes processed documents| F[Azure Blob Storage]
@@ -44,12 +43,12 @@ graph TD
4443
I -->|Track performance and health| C
4544
```
4645

47-
### Solution Architecture
46+
## Solution Architecture
4847

4948
1. Document Storage
5049
- **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.
5150
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.
5352
- **Azure AI Search**: Index the processed documents using Azure AI Search (formerly known as Azure Cognitive Search) to make them searchable.
5453
4. Natural Language Processing:
5554
- **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
6463
- Azure Blob Storage and Azure AI Search are designed to scale automatically to handle large volumes of data.
6564
- Azure Functions can scale out to handle more requests as needed.
6665

67-
### Example Workflow
66+
## E.g Workflow
6867
1. **User Query**: The user asks a question via the bot.
6968
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.
7170
4. **Search**: The Azure Function queries the AI Search index.
7271
5. **Response Generation**: The Azure Function uses the OpenAI model to generate a response based on the search results and extracted data.
7372
6. **Reply**: The bot sends the response back to the user.
7473

7574
<div align="center">
7675
<h3 style="color: #4CAF50;">Total Visitors</h3>
7776
<img src="https://profile-counter.glitch.me/brown9804/count.svg" alt="Visitor Count" style="border: 2px solid #4CAF50; border-radius: 5px; padding: 5px;"/>
78-
</div>
77+
</div>

0 commit comments

Comments
 (0)