Skip to content

Commit 1929dfd

Browse files
authored
Update VideoQnA README.md for workflow (#906)
Signed-off-by: Tsai, Louie <louie.tsai@intel.com>
1 parent c7e3364 commit 1929dfd

File tree

1 file changed

+25
-35
lines changed

1 file changed

+25
-35
lines changed

VideoQnA/README.md

Lines changed: 25 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ VideoQnA is implemented on top of [GenAIComps](https://github.com/opea-project/G
88
---
99
config:
1010
flowchart:
11-
nodeSpacing: 100
11+
nodeSpacing: 400
1212
rankSpacing: 100
1313
curve: linear
14-
theme: base
1514
themeVariables:
16-
fontSize: 42px
15+
fontSize: 50px
1716
---
1817
flowchart LR
1918
%% Colors %%
@@ -25,64 +24,55 @@ flowchart LR
2524
%% Subgraphs %%
2625
subgraph VideoQnA-MegaService["VideoQnA-MegaService"]
2726
direction LR
28-
EM([Embedding <br>]):::blue
29-
RET([Retrieval <br>]):::blue
30-
RER([Rerank <br>]):::blue
31-
LLM([LLM <br>]):::blue
27+
EM([Embedding MicroService]):::blue
28+
RET([Retrieval MicroService]):::blue
29+
RER([Rerank MicroService]):::blue
30+
LVM([LVM MicroService]):::blue
3231
end
3332
subgraph User Interface
34-
direction TB
33+
direction LR
3534
a([User Input Query]):::orchid
3635
UI([UI server<br>]):::orchid
3736
Ingest([Ingest<br>]):::orchid
3837
end
39-
subgraph VideoQnA GateWay
40-
direction LR
41-
invisible1[ ]:::invisible
42-
GW([VideoQnA GateWay<br>]):::orange
43-
end
44-
subgraph .
45-
X([OPEA Micsrservice]):::blue
46-
Y{{Open Source Service}}
47-
Z([OPEA Gateway]):::orange
48-
Z1([UI]):::orchid
49-
end
5038
5139
LOCAL_RER{{Reranking service<br>}}
5240
CLIP_EM{{Embedding service <br>}}
5341
VDB{{Vector DB<br><br>}}
5442
V_RET{{Retriever service <br>}}
5543
Ingest{{Ingest data <br>}}
5644
DP([Data Preparation<br>]):::blue
57-
LVM_gen{{LLM Service <br>}}
45+
LVM_gen{{LVM Service <br>}}
46+
GW([VideoQnA GateWay<br>]):::orange
5847
5948
%% Data Preparation flow
6049
%% Ingest data flow
6150
direction LR
62-
Ingest[Ingest data] -->|a| DP
63-
DP <-.->|b| CLIP_EM
51+
Ingest[Ingest data] --> UI
52+
UI --> DP
53+
DP <-.-> CLIP_EM
6454
6555
%% Questions interaction
6656
direction LR
67-
a[User Input Query] -->|1| UI
68-
UI -->|2| GW
69-
GW <==>|3| VideoQnA-MegaService
70-
EM ==>|4| RET
71-
RET ==>|5| RER
72-
RER ==>|6| LLM
57+
a[User Input Query] --> UI
58+
UI --> GW
59+
GW <==> VideoQnA-MegaService
60+
EM ==> RET
61+
RET ==> RER
62+
RER ==> LVM
7363
7464
7565
%% Embedding service flow
76-
direction TB
77-
EM <-.->|3'| CLIP_EM
78-
RET <-.->|4'| V_RET
79-
RER <-.->|5'| LOCAL_RER
80-
LLM <-.->|6'| LVM_gen
66+
direction LR
67+
EM <-.-> CLIP_EM
68+
RET <-.-> V_RET
69+
RER <-.-> LOCAL_RER
70+
LVM <-.-> LVM_gen
8171
8272
direction TB
8373
%% Vector DB interaction
84-
V_RET <-.->|d|VDB
85-
DP <-.->|d|VDB
74+
V_RET <-.->VDB
75+
DP <-.->VDB
8676
```
8777

8878
- This project implements a Retrieval-Augmented Generation (RAG) workflow using LangChain, Intel VDMS VectorDB, and Text Generation Inference, optimized for Intel Xeon Scalable Processors.

0 commit comments

Comments
 (0)