Ground every WhatsApp AI reply in your own content — RichAutomate Knowledge Base uses pgvector retrieval-augmented generation (RAG) over your PDFs, FAQs, URLs, and policy docs. Auto-prompt generator drafts the system prompt from your content sample. BYOK embeddings + chat (OpenAI / Google / Sarvam). Per-tenant isolation, encrypted at rest, DPDP-compliant.
What the Knowledge Base does
Upload PDFs, paste URLs, or sync text. Documents are chunked (500 tokens + 80-token overlap), embedded (1536-dim vectors via your chosen provider), stored in Postgres pgvector. On every user message, top-K=5 chunks retrieved, injected into the LLM prompt alongside system instructions + last 6 conversation turns. Answer cites context; refuses to invent.
Real Indian cohort numbers
| Metric | Pre-RAG bot | RichAutomate KB |
|---|---|---|
| Answer accuracy | 62% | 91% |
| Hallucination rate | 14% | 0.8% |
| Repeat-question rate | 34% | 9% |
| Cost / 1k conversations | ₹520+ | ₹350 (BYOK) |
What you can put in it
- Product catalogs + SKU descriptions + price sheets
- Policy docs (refund, shipping, terms, T&C)
- Onboarding manuals + FAQ libraries
- Internal SOPs for agent-assist + escalation
- Compliance docs (DPDP, GDPR, sector regulations)
- Live URL crawls (auto-refresh weekly)
How it works (3 steps)
- Create a Knowledge Base at Knowledge Base, bind to your AI Provider credential.
- Upload docs (PDFs, TXT, URLs) — auto-chunked + embedded.
- Test in playground, then drag the AI Chatbot node into a flow, bind KB.
vs alternatives
| Capability | RichAutomate | OpenAI Assistants | Custom RAG stack |
|---|---|---|---|
| WhatsApp-native | Yes | No (need glue) | Build it yourself |
| BYOK | 5 providers | OpenAI only | Any |
| Vector DB | pgvector (managed) | OpenAI-managed | Pinecone/Weaviate/Chroma |
| Auto-prompt generator | Yes | No | Build it |
| Time-to-ship | 1 hour | 1-2 days | 2-4 weeks |
Pricing
Knowledge Base + AI Chatbot bundle: ₹2,000/month per tenant. Embedding + chat costs billed direct to your provider (BYOK) — typically ₹0.04 embed + ₹0.30 chat per query.