Skip to content
diversion-hackaut

diversion-hackaut

Multitenant SaaS with Human In The Loop

Created on 28th February 2026

•

diversion-hackaut

diversion-hackaut

Multitenant SaaS with Human In The Loop

The problem diversion-hackaut solves

we were planning a trip to Zero Point, Sikkim. We opened ChatGPT and asked: "How do I get the permits to visit Zero Point?" It gave us a beautifully written,
confident answer — completely generic. It told us to "contact local authorities" and "check the official tourism website." We checked the official site. It hadn't been
updated since 2019, had broken links, and zero conversational ability.

We were stuck between two broken extremes: AI that's smart but blind to local truth, and official sources that are accurate but dead on arrival.

That's when it clicked. Every domain — travel, legal, medical, HR, education — has the same crisis. Organizations have the knowledge, but it's locked in documents, in
people's heads, in outdated PDFs. And general AI hallucinates when it ventures into that territory without grounding.

ReviewIQ is the bridge. It lets any organization — a Sikkim tourism board, a law firm, a hospital, a university — deploy their own AI assistant that:

  • Speaks conversationally like ChatGPT
  • Draws from their verified knowledge base (uploaded docs, manuals, policies)
  • Searches the live web when needed
  • Has every AI response reviewed by a human expert before it reaches the user

This Human-in-the-Loop design means the answer about Zero Point permits would come from actual permit officers validating an AI draft — not a hallucination dressed in
confidence.

Multi-disciplinary scalability:
The same architecture works for a medical clinic (patients ask symptoms → doctor reviews AI draft → verified answer), a law firm (client asks about a case → paralegal
reviews → response), a university admissions desk, a government grievance portal, or an enterprise internal knowledge hub. The abstraction is universal: domain knowledge +
AI speed + human trust.

Challenges we ran into

Building the RAG + Web Pipeline
Getting RAG to work reliably was harder than expected. We started by storing embeddings as JSON strings in a text column and doing in-memory cosine similarity — it worked but was slow and fragile. We migrated to pgvector which required raw SQL via $executeRawUnsafe since Prisma can't handle vector writes natively. On top of that, a subtle infinite loop in our text chunker kept crashing the server with RangeError: Invalid array length — the chunk start pointer never advanced correctly past the overlap window.

Implementing the Human-in-the-Loop Review Layer
Designing the HITL flow meant the AI draft had to be fast enough that reviewers weren't waiting, but good enough that they weren't rewriting everything. Balancing model speed, output quality, and the review UI state — making sure edits, approvals, and rejections all propagated correctly across the system — took a lot of iteration to get right.

RabbitMQ Integration with Graceful Fallback
Wiring up RabbitMQ for the notification and event pipeline was straightforward in isolation, but making it resilient in a multi-tenant setup was not. We also needed the system to keep working even when RabbitMQ wasn't available, so we built a publisher that silently falls back to direct DB writes when the AMQP connection is down.

Tracks Applied (3)

Gemini API

How This Project Fits the Track We built a platform where AI assists — but never decides alone. Every response generate...Read More
Major League Hacking

Major League Hacking

ElevenLabs

We added voice to ReviewIQ using ElevenLabs — two directions, one API key. Speak your question, and ElevenLabs transcri...Read More
Major League Hacking

Major League Hacking

Auth0

Auth0 handles login. We handle the rest. We didn't write a single line of auth logic. Auth0 manages login, logout, and ...Read More
Major League Hacking

Major League Hacking

Discussion

Builders also viewed

See more projects on Devfolio