Skip to content
AR

INITIALIZING WORKSPACE

Two years in and still refreshing localhost

0%
AR
White-label AI platform

CPM India AI Chatbot

A white-label AI chatbot platform that clients can run on their own servers.

Client
CPM India Sales and Marketing
Through
Techindika
Role
Full-stack developer
Focus
Frontend, in a team
Timeline
Jul 2025 to Aug 2025
Code
PRJ-02 · 2025
Visit live product
CPM India AI chatbot admin dashboard

The problem

CPM India needed a chatbot they could resell to FMCG and BFSI clients under the client's brand. Existing products locked them into one LLM vendor, ran cloud-only, and could not keep one client's data away from another's.

None of the tools could answer from live database or API data without custom middleware written per client.

The build

We built a platform that deploys on-prem or in the cloud. Every workspace has its own knowledge base, agent persona and widget settings, and nothing leaks between them.

The RAG pipeline ingests documents, spreadsheets, SQL queries, REST endpoints and web pages into Azure Cognitive Search. Responses stream from Azure OpenAI, with Ollama as the on-prem option for clients who cannot send data out.

The public widget lives in an iframe so the client's CSS and scripts cannot break it. Authentication uses a public key exchanged for a short-lived token, with refresh handled before expiry so a session never dies mid-conversation.

CPM India AI Chatbot: Chat interface
Chat interface
CPM India AI Chatbot: Admin dashboard
Admin dashboard
CPM India AI Chatbot: Workspaces
Workspaces
CPM India AI Chatbot: Document bank
Document bank
CPM India AI Chatbot: Widget management
Widget management

Scope

Platform
  • Workspace isolation per tenant
  • License-key reseller model
  • Custom agent roles and personas
  • Docker and Kubernetes deployment
Retrieval
  • RAG over documents, Excel, SQL and REST
  • Scheduled data refresh
  • Streaming responses
  • Unanswered query tracking
Security
  • Two-factor authentication
  • Role-based access control
  • Token bucket rate limiting
  • Iframe-isolated embeddable widget

Stack

  • Next.js
  • React
  • TypeScript
  • Azure OpenAI
  • Claude API
  • Ollama
  • Playwright
  • MongoDB
  • PostgreSQL