Skip to content

Commit 6b9a27d

Browse files
authored
DBQnA: Include workflow in README (#956)
Signed-off-by: Yeoh, Hoong Tee <hoong.tee.yeoh@intel.com>
1 parent 5720cd4 commit 6b9a27d

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

DBQnA/README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,48 @@ Experience a revolutionary way to interact with your database using our DBQnA ap
44

55
---
66

7+
```mermaid
8+
flowchart LR
9+
%% Colors %%
10+
classDef blue fill:#ADD8E6,stroke:#ADD8E6,stroke-width:2px,fill-opacity:0.7
11+
classDef orange fill:#FBAA60,stroke:#ADD8E6,stroke-width:2px,fill-opacity:0.7
12+
classDef orchid fill:#DA70D6,stroke:#1E90FF,stroke-width:2px,fill-opacity:0.7
13+
classDef invisible fill:transparent,stroke:transparent;
14+
style Text2SQL-MegaService stroke:#000000
15+
16+
%% Subgraphs %%
17+
subgraph Text2SQL-MegaService["Text-to-SQL MegaService "]
18+
direction LR
19+
LLM([LLM MicroService]):::invisible
20+
end
21+
subgraph UserInterface[" User Interface "]
22+
direction LR
23+
a([User Input Query]):::orchid
24+
UI([UI server<br>]):::orchid
25+
end
26+
27+
LLM_gen{{LLM Service <br>}}
28+
POSTGRES_DB{{POSGRES DATABASE <br>}}
29+
GW([Text-to-SQL GateWay<br>]):::orange
30+
31+
32+
%% Questions interaction
33+
direction LR
34+
a[User Input Query] --> UI
35+
UI --> GW
36+
GW <==> Text2SQL-MegaService
37+
38+
39+
%% Text-to-SQL service flow
40+
direction TB
41+
LLM <-.-> POSTGRES_DB
42+
direction LR
43+
LLM <-.-> LLM_gen
44+
45+
```
46+
47+
---
48+
749
## 🛠️ Key Features
850

951
### 💬 SQL Query Generation

0 commit comments

Comments
 (0)