Skip to content

Commit fbde15b

Browse files
authored
Update DocSum README.md for its workflow (#904)
Signed-off-by: Tsai, Louie <louie.tsai@intel.com>
1 parent ae10712 commit fbde15b

File tree

1 file changed

+41
-13
lines changed

1 file changed

+41
-13
lines changed

DocSum/README.md

Lines changed: 41 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -102,25 +102,53 @@ Refer to the [DocSum helm chart](https://github.com/opea-project/GenAIInfra/tree
102102

103103
### Workflow of the deployed Document Summarization Service
104104

105-
The workflow of the Document Summarization Service, from user's input query to the application's output response, is as follows:
105+
The DocSum 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.
106106

107107
```mermaid
108+
---
109+
config:
110+
flowchart:
111+
nodeSpacing: 400
112+
rankSpacing: 100
113+
curve: linear
114+
themeVariables:
115+
fontSize: 50px
116+
---
108117
flowchart LR
109-
subgraph DocSum
118+
%% Colors %%
119+
classDef blue fill:#ADD8E6,stroke:#ADD8E6,stroke-width:2px,fill-opacity:0.5
120+
classDef orange fill:#FBAA60,stroke:#ADD8E6,stroke-width:2px,fill-opacity:0.5
121+
classDef orchid fill:#C26DBC,stroke:#ADD8E6,stroke-width:2px,fill-opacity:0.5
122+
classDef invisible fill:transparent,stroke:transparent;
123+
style DocSum-MegaService stroke:#000000
124+
125+
%% Subgraphs %%
126+
subgraph DocSum-MegaService["DocSum MegaService "]
110127
direction LR
111-
A[User] <--> |Input query| B[DocSum Gateway]
112-
B <--> |Post| Megaservice
113-
subgraph Megaservice["Megaservice"]
114-
direction TB
115-
C([ Microservice : llm-docsum-tgi <br>9000]) -. Post .-> D{{TGI Service<br>8008}}
116-
end
117-
Megaservice --> |Output| E[Response]
128+
LLM([LLM MicroService]):::blue
118129
end
119-
subgraph Legend
120-
X([Micsrservice])
121-
Y{{Service from industry peers}}
122-
Z[Gateway]
130+
subgraph UserInterface[" User Interface "]
131+
direction LR
132+
a([User Input Query]):::orchid
133+
UI([UI server<br>]):::orchid
123134
end
135+
136+
137+
LLM_gen{{LLM Service <br>}}
138+
GW([DocSum GateWay<br>]):::orange
139+
140+
141+
%% Questions interaction
142+
direction LR
143+
a[User Input Query] --> UI
144+
UI --> GW
145+
GW <==> DocSum-MegaService
146+
147+
148+
%% Embedding service flow
149+
direction LR
150+
LLM <-.-> LLM_gen
151+
124152
```
125153

126154
## Consume Document Summarization Service

0 commit comments

Comments
 (0)