-
Notifications
You must be signed in to change notification settings - Fork 0
3. Data Flow Diagram
Muhammad Waleed Hassan edited this page Feb 10, 2025
·
1 revision
flowchart TD
A["User Input (Text or Voice)"] --> B{"Input Type?"}
B -- "Text" --> C["Process Text Endpoint"]
B -- "Voice" --> D["Process Voice Endpoint"]
D --> E["Google Cloud Speech-to-Text"]
E --> F["Transcribed Text"]
C --> F
F --> G["Embedding Generation"]
G --> H["BigQuery Context Retrieval"]
H --> I["Construct Prompt with Context"]
I --> J["Generative AI Model"]
J --> K["Generated Response"]
K --> L["Google Cloud Text-to-Speech"]
L --> M["Audio Response (base64)"]
M --> N["Return JSON Response"]