OrgPad logo

Pruthviraj Gawande

Created by Pruthviraj Gawande

Rag chain and how chatbot works

#introduction, #newcomers, #onboarding

Pruthviraj Gawande

Welcome to System Architecture !

This is aΒ  System Architecture Flow for Voice-AI Telegram Assistan

1. User Input


2. Input Processor

🧠 Speech-to-Text Module

3. Context Manager


βœ… Text Normalization/Pre-processing

What is RAG in This Context?

RAG (Retrieval-Augmented Generation) is an approach where the system retrieves relevant past information before generating a new response. In your case:

3. Context Manager (with RAG logic)

Now U Understand How the rag works

sheep-thumbs-up

<o>

<o>

levΓ©-ucho

Now Lets see the Prompt works

pravΓ©-ucho

orange-dot

orange-dot

orange-dot

orange-dot

orange-dot

But that's not all!

4. Prompt Constructor

5. LLM Response Generator

πŸ€– Groq LLM API

Now leave the presentation

Desktop: press Escape or hit the Exit button in the presentation menu (bottom center)

Mobile: Hit the cross icon

And explore editing

6. Output Handler