Work/Products/RisoBuddy
Multi-tenant RAG SaaSLLMStripe billing

RisoBuddy

Turn a website and FAQs into an embeddable knowledge assistant: one tenant, one bot, isolated retrieval.

ROLESole builder
TYPEMulti-tenant RAG SaaS
PLATFORMWeb · embeddable widget
STATUSLive
TRY IT · hands on

Play with a small version

A simplified, in-browser version of how RisoBuddy works. Nothing here talks to the real system.

ARCHITECTURE · how it flows
  1. Website, FAQs or files
  2. Ingest + chunk
  3. MiniLM embeddings
  4. Per-tenant Qdrant collection
  5. Retrieve
  6. LLM answer, streamed

An Express API on Postgres and Redis handles ingestion, retrieval and streaming. Each tenant gets its own Qdrant collection, and customer LLM keys are encrypted with AES-256-GCM.

01 · Overview

The problem

Support widgets don't know a company's own docs, and a vector index shared across customers can leak one company's knowledge into another's answers.

A multi-tenant RAG SaaS. Tenants ingest FAQs, documents or scraped sites into private vector collections, then embed a streaming chat widget. Plans, trials and Stripe billing are part of the product.

GOAL

Ship a tenant-safe RAG product that ingests, retrieves, chats and bills.

02 · What I built

The key decisions

01

Ingest FAQ, PDF, DOCX and TXT files, or scrape a whole site (Cheerio, with a Scrapling fallback for JS-heavy pages), into one Qdrant collection per tenant.

02

A public streaming chat endpoint (SSE) with a configurable bot name, prompt and LLM provider.

03

Free, Pro and Enterprise plans with a no-card trial, Stripe Checkout and customer portal, plus Facebook and Instagram integrations.

03 · Challenges

What was hard, and what I did

CHALLENGE

Knowledge leaking across customers

WHAT I DID

Logical tenancy plus a separate Qdrant collection per tenant, so retrieval can never cross tenants.

CHALLENGE

Secrets stored in the database

WHAT I DID

AES-256-GCM encryption for LLM keys, and hashed refresh and API keys.

CHALLENGE

Thin HTML scrapes

WHAT I DID

Cheerio first, with a Scrapling worker as the fallback for JavaScript-heavy pages.

CHALLENGE

Trial without a day-one charge

WHAT I DID

In-app trial first, then trial_end on Stripe Checkout so the card is saved without charging it on day one.

WHERE IT STANDS

Live at risobuddy.com. Usage, latency and accuracy numbers are not published yet.

04 · Results

The numbers

1 indexper tenant, no shared retrievalarchitecture
384-dall-MiniLM-L6-v2 embeddingsarchitecture spec
AES-256encryption for customer LLM keysarchitecture

Only numbers I can back up are shown here. Where a figure is self-reported or from a benchmark I haven't re-run, it says so.

06 · Stack

Built with

TECHNOLOGY
Next.jsExpressTypeScriptPrismaPostgreSQLRedisQdrantStripeGemini / OpenAI / OpenRouter
MY ROLE

Sole builder: ingestion, tenancy, streaming API, UI, Stripe, Meta webhooks and the production Docker setup.

Building something like RisoBuddy?

I'm happy to walk through the architecture and trade-offs on a call.

Book a 20-min call →