Skip to content

Commit

Permalink
Update MultiModal README.md for workflow (opea-project#905)
Browse files Browse the repository at this point in the history
Signed-off-by: Tsai, Louie <[email protected]>
  • Loading branch information
louie-tsai authored Oct 15, 2024
1 parent f2f6c09 commit 40800b0
Showing 1 changed file with 19 additions and 32 deletions.
51 changes: 19 additions & 32 deletions MultimodalQnA/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ MultimodalQnA is implemented on top of [GenAIComps](https://github.com/opea-proj
---
config:
flowchart:
nodeSpacing: 100
nodeSpacing: 400
rankSpacing: 100
curve: linear
theme: base
themeVariables:
fontSize: 42px
fontSize: 50px
---
flowchart LR
%% Colors %%
Expand All @@ -35,57 +34,45 @@ flowchart LR
RET([Retrieval <br>]):::blue
LVM([LVM <br>]):::blue
end
subgraph User Interface
direction TB
subgraph UserInterface[" User Interface "]
direction LR
a([User Input Query]):::orchid
Ingest([Ingest data]):::orchid
UI([UI server<br>]):::orchid
end
subgraph MultimodalQnA GateWay
direction LR
invisible1[ ]:::invisible
GW([MultimodalQnA GateWay<br>]):::orange
end
subgraph .
X([OPEA Microservice]):::blue
Y{{Open Source Service}}
Z([OPEA Gateway]):::orange
Z1([UI]):::orchid
end
TEI_EM{{Embedding service <br>}}
VDB{{Vector DB<br><br>}}
R_RET{{Retriever service <br>}}
DP([Data Preparation<br>]):::blue
LVM_gen{{LVM Service <br>}}
GW([MultimodalQnA GateWay<br>]):::orange
%% 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| MultimodalQnA-MegaService
EM ==>|4| RET
RET ==>|5| LVM
a[User Input Query] --> UI
UI --> GW
GW <==> MultimodalQnA-MegaService
EM ==> RET
RET ==> LVM
%% Embedding service flow
direction TB
EM <-.->|3'| TEI_EM
RET <-.->|4'| R_RET
LVM <-.->|5'| LVM_gen
direction LR
EM <-.-> TEI_EM
RET <-.-> R_RET
LVM <-.-> LVM_gen
direction TB
%% Vector DB interaction
R_RET <-.->|d|VDB
DP <-.->|e|VDB
R_RET <-.->VDB
DP <-.->VDB
Expand Down

0 comments on commit 40800b0

Please sign in to comment.