Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
louie-tsai authored Sep 12, 2024
1 parent 246b903 commit 5ddf6f5
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions ChatQnA/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ config:
nodeSpacing: 100
rankSpacing: 100
curve: linear
theme: base
themeVariables:
fontSize: 60px
---
Expand All @@ -30,14 +29,14 @@ flowchart LR
style ChatQnA-MegaService stroke:#000000
%% Subgraphs %%
subgraph ChatQnA-MegaService["ChatQnA-MegaService"]
subgraph ChatQnA-MegaService["<div style="margin:1ex 52ex 0 0;"> ChatQnA MegaService <br></div>"]
direction LR
EM([Embedding <br>]):::blue
RET([Retrieval <br>]):::blue
RER([Rerank <br>]):::blue
LLM([LLM <br>]):::blue
EM([Embedding]):::blue
RET([Retrieval ]):::blue
RER([Rerank ]):::blue
LLM([LLM ]):::blue
end
subgraph UserInterface["User Interface"]
subgraph UserInterface["<div style="margin:1ex 52ex 0 0;"> User Interface </div>"]
direction LR
a([User Input Query]):::orchid
Ingest([Ingest data]):::orchid
Expand All @@ -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
Expand Down

0 comments on commit 5ddf6f5

Please sign in to comment.