Multi-Tenant RAG Dashboard for Rapid Client Onboarding with Custom Knowledge Bases
Engineered a production-deployed MVP that lets businesses create OpenAI Assistants, ingest documents from uploads or Google Drive, and chat with a knowledge-aware agent from a single dashboard—built for repeatable rollout across multiple client datasets.
Problem Statement
The client wanted to commercialize a repeatable RAG offering: one codebase that could onboard multiple companies, securely ingest their internal files (PDF/DOCX/TXT/JSON and Google Drive content), and provide a professional chat experience. Key risks included data privacy expectations, ingestion at scale (large Drive folders), OpenAI vector store quirks in beta, and controlling usage costs/spam before payments and full auth were ready.
Our Approach
Architected a dashboard-first MVP that wraps the OpenAI Assistants workflow into a self-serve admin portal. The system enables creating assistants with configurable model/tooling (including Code Interpreter), uploading and indexing documents into an OpenAI Vector Store, and chatting through a web UI. Added Google Drive ingestion (OAuth-based approach planned via Google Cloud app ownership) and deployed the app to a VPS behind a custom subdomain with HTTPS to satisfy Google OAuth and secure transport requirements.
Document-Aware Assistants (RAG) with Vector Store + File Search
Challenges We Solved
Google Drive integration blocked by missing HTTPS
OAuth-based Google Drive connectivity failed when the dashboard was served over plain HTTP, preventing secure redirects and API permission flows.
Deployed HTTPS on the VPS and secured the subdomain to meet OAuth/security requirements. Implemented certificate automation via Let's Encrypt to eliminate annual renewals and keep the environment production-ready.
OpenAI Vector Store beta ingestion failure on specific JSON export
A particular file (\"Results (1).json\") caused ingestion/search instability; behavior reproduced even inside OpenAI Playground, indicating a platform-side issue.
Triaged by isolating the problematic file, validating behavior in OpenAI Playground, and reporting the issue to OpenAI. Implemented workaround strategies: improving File Search error tolerance, advising alternative formats/exports, and confirming other JSON files indexed correctly.
Assistant response failure due to misconfigured response format
Assistants appeared \"broken\" after enabling JSON response format, causing unexpected behavior during chat and retrieval testing.
Identified the root cause (advanced setting set to JSON instead of AUTO) and provided a corrective workflow: recreate/update assistant with response format set to AUTO; reserved JSON mode for future API-oriented assistant outputs.
Post-deploy regression in Drive/upload flow
After pushing an updated build, Google Drive integration and uploads stopped working due to a deployment mistake.
Hotfixed the deployment quickly and restored functionality, demonstrating production support readiness even after contract close.
Project Timeline
Discovery
Clarified SaaS-style requirements: multi-company reuse, document ingestion (PDF/DOCX/TXT/JSON), OpenAI Assistants with embeddings + vector database, and a professional dashboard experience. Aligned constraints around privacy expectations, security (TLS), and beta testing without payments.
Build
Built a full web dashboard to create/manage assistants, upload and index documents, enable tool selection (e.g., Code Interpreter), and provide a chat interface. Implemented Google Drive ingestion workflow planning (Google Cloud app ownership + user consent) and iterated based on client testing, including fixes for response-format misconfiguration and vector store edge cases.
Launch
Provisioned Namecheap VPS, configured DNS/subdomain (dashboard.celestix.ai), deployed the app, and secured it with HTTPS using Let's Encrypt. Added basic access gating (password) and delivered source code + runbook (README) for handover; continued short post-launch bugfix support.
Ready to Build Something Similar?
Let's discuss how we can help transform your business with AI.
Start Your Project