From 5ddf6f5b68c9313c71a0137c5b2cb9ad16f5610b Mon Sep 17 00:00:00 2001 From: Louie Tsai Date: Wed, 11 Sep 2024 20:21:50 -0700 Subject: [PATCH] Update README.md --- ChatQnA/README.md | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/ChatQnA/README.md b/ChatQnA/README.md index 978021028b..ab688077b6 100644 --- a/ChatQnA/README.md +++ b/ChatQnA/README.md @@ -17,7 +17,6 @@ config: nodeSpacing: 100 rankSpacing: 100 curve: linear - theme: base themeVariables: fontSize: 60px --- @@ -30,14 +29,14 @@ flowchart LR style ChatQnA-MegaService stroke:#000000 %% Subgraphs %% - subgraph ChatQnA-MegaService["ChatQnA-MegaService"] + subgraph ChatQnA-MegaService["
ChatQnA MegaService
"] direction LR - EM([Embedding
]):::blue - RET([Retrieval
]):::blue - RER([Rerank
]):::blue - LLM([LLM
]):::blue + EM([Embedding]):::blue + RET([Retrieval ]):::blue + RER([Rerank ]):::blue + LLM([LLM ]):::blue end - subgraph UserInterface["User Interface"] + subgraph UserInterface["
User Interface
"] direction LR a([User Input Query]):::orchid Ingest([Ingest data]):::orchid @@ -64,31 +63,31 @@ flowchart LR %% Data Preparation flow %% Ingest data flow direction LR - Ingest[Ingest data] -->|a| UI - UI -->|b| DP - DP <-.->|c| TEI_EM + Ingest[Ingest data] --> UI + UI --> DP + DP <-.-> TEI_EM %% Questions interaction direction LR - a[User Input Query] -->|1| UI - UI -->|2| GW - GW <==>|3| ChatQnA-MegaService - EM ==>|4| RET - RET ==>|5| RER - RER ==>|6| LLM + a[User Input Query] --> UI + UI --> GW + GW <==> ChatQnA-MegaService + EM ==> RET + RET ==> RER + RER ==> LLM %% Embedding service flow - direction TB - EM <-.->|3'| TEI_EM - RET <-.->|4'| R_RET - RER <-.->|5'| TEI_RER - LLM <-.->|6'| LLM_gen + direction LR + EM <-.-> TEI_EM + RET <-.-> R_RET + RER <-.-> TEI_RER + LLM <-.-> LLM_gen direction TB %% Vector DB interaction - R_RET <-.->|d|VDB - DP <-.->|d|VDB + R_RET <-.->VDB + DP <-.->VDB