Library / RAG & Knowledge Bases
RAG & Knowledge Bases
Answer WhatsApp Customers with OpenAI and MongoDB Search
When a WhatsApp message arrives, an OpenAI agent searches a MongoDB Atlas knowledge base built from Google Docs and replies to the customer.
What it does
Search Index Example { "mappings": { "dynamic": false, "fields": { "_id": { "type": "string" }, "text": { "type": "string" }, "embedding": { "type": "knnVector", "dimensions": 1536, "similarity": "cosine" }, "source": { "type": "string" }, "doc_id": { "type": "string" } } } }
The steps
- Knowledge Base Agent
- OpenAI Chat Model
- Embeddings OpenAI
- When clicking "Execute Workflow"
- Simple Memory
- MongoDB Vector Search
- Document Section Loader
- Document Chunker
- MongoDB Vector Store Inserter
- OpenAI Embeddings Generator
- Google Docs Importer
- WhatsApp Trigger
- OpenAI
- OpenAI1
32 steps in total.
Similar automations
RAG & Knowledge BasesPlan Trips with Gemini and MongoDB Atlas11 stepsRAG & Knowledge BasesTelegram Knowledge Assistant with GPT-4o-mini RAG and MongoDB23 stepsRAG & Knowledge BasesChat with a Knowledge Base Using OpenAI and MongoDB12 stepsRAG & Knowledge BasesTravel Assistant Agent with Gemini and MongoDB Vector Search24 steps