Skip to content

Commit

Permalink
DBQnA: Include workflow in README (#956)
Browse files Browse the repository at this point in the history
Signed-off-by: Yeoh, Hoong Tee <hoong.tee.yeoh@intel.com>
  • Loading branch information
hteeyeoh authored Nov 14, 2024
1 parent 5720cd4 commit 6b9a27d
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions DBQnA/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,48 @@ Experience a revolutionary way to interact with your database using our DBQnA ap

---

```mermaid
flowchart LR
%% Colors %%
classDef blue fill:#ADD8E6,stroke:#ADD8E6,stroke-width:2px,fill-opacity:0.7
classDef orange fill:#FBAA60,stroke:#ADD8E6,stroke-width:2px,fill-opacity:0.7
classDef orchid fill:#DA70D6,stroke:#1E90FF,stroke-width:2px,fill-opacity:0.7
classDef invisible fill:transparent,stroke:transparent;
style Text2SQL-MegaService stroke:#000000
%% Subgraphs %%
subgraph Text2SQL-MegaService["Text-to-SQL MegaService "]
direction LR
LLM([LLM MicroService]):::invisible
end
subgraph UserInterface[" User Interface "]
direction LR
a([User Input Query]):::orchid
UI([UI server<br>]):::orchid
end
LLM_gen{{LLM Service <br>}}
POSTGRES_DB{{POSGRES DATABASE <br>}}
GW([Text-to-SQL GateWay<br>]):::orange
%% Questions interaction
direction LR
a[User Input Query] --> UI
UI --> GW
GW <==> Text2SQL-MegaService
%% Text-to-SQL service flow
direction TB
LLM <-.-> POSTGRES_DB
direction LR
LLM <-.-> LLM_gen
```

---

## 🛠️ Key Features

### 💬 SQL Query Generation
Expand Down

0 comments on commit 6b9a27d

Please sign in to comment.