Skip to content

Commit bf28c7f

Browse files
authored
Update SearchQnA README.md for its workflow (#913)
Signed-off-by: Tsai, Louie <louie.tsai@intel.com>
1 parent 63bad29 commit bf28c7f

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

SearchQnA/README.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,71 @@ The workflow falls into the following architecture:
2020

2121
![architecture](./assets/img/searchqna.png)
2222

23+
The SearchQnA example is implemented using the component-level microservices defined in [GenAIComps](https://github.com/opea-project/GenAIComps). The flow chart below shows the information flow between different microservices for this example.
24+
25+
```mermaid
26+
---
27+
config:
28+
flowchart:
29+
nodeSpacing: 400
30+
rankSpacing: 100
31+
curve: linear
32+
themeVariables:
33+
fontSize: 50px
34+
---
35+
flowchart LR
36+
%% Colors %%
37+
classDef blue fill:#ADD8E6,stroke:#ADD8E6,stroke-width:2px,fill-opacity:0.5
38+
classDef orange fill:#FBAA60,stroke:#ADD8E6,stroke-width:2px,fill-opacity:0.5
39+
classDef orchid fill:#C26DBC,stroke:#ADD8E6,stroke-width:2px,fill-opacity:0.5
40+
classDef invisible fill:transparent,stroke:transparent;
41+
style SearchQnA-MegaService stroke:#000000
42+
43+
%% Subgraphs %%
44+
subgraph SearchQnA-MegaService["SearchQnA MegaService "]
45+
direction LR
46+
EM([Embedding MicroService]):::blue
47+
RET([Web Retrieval MicroService]):::blue
48+
RER([Rerank MicroService]):::blue
49+
LLM([LLM MicroService]):::blue
50+
end
51+
subgraph UserInterface[" User Interface "]
52+
direction LR
53+
a([User Input Query]):::orchid
54+
UI([UI server<br>]):::orchid
55+
end
56+
57+
58+
59+
TEI_RER{{Reranking service<br>}}
60+
TEI_EM{{Embedding service <br>}}
61+
VDB{{Vector DB<br><br>}}
62+
R_RET{{Web Retriever service <br>}}
63+
LLM_gen{{LLM Service <br>}}
64+
GW([SearchQnA GateWay<br>]):::orange
65+
66+
%% Questions interaction
67+
direction LR
68+
a[User Input Query] --> UI
69+
UI --> GW
70+
GW <==> SearchQnA-MegaService
71+
EM ==> RET
72+
RET ==> RER
73+
RER ==> LLM
74+
75+
%% Embedding service flow
76+
direction LR
77+
EM <-.-> TEI_EM
78+
RET <-.-> R_RET
79+
RER <-.-> TEI_RER
80+
LLM <-.-> LLM_gen
81+
82+
direction TB
83+
%% Vector DB interaction
84+
R_RET <-.-> VDB
85+
86+
```
87+
2388
## Deploy SearchQnA Service
2489

2590
The SearchQnA service can be effortlessly deployed on either Intel Gaudi2 or Intel Xeon Scalable Processors.

0 commit comments

Comments
 (0)