Starter Templates

Help Widget

In-app help

A documentation help widget that floats over your docs or app. Users ask in context and get streamed, cited answers in a slide-up panel — no tab-switching, no search dead-ends. Shown here over a sample docs site.

Download ZIP

Live previewinteractive mock — no backend

localhost:3000Next.js
HHelp Widget

In-app help

Answers without leaving the page.

The assistant floats in the corner — click it to chat without leaving the page.

Help Widget

Try one — live mock, no backend.

Stack

Frontend

Next.js

Architecture

Standard RAG

Framework

raw python

Vector DB

qdrant

Corpus

medium

Complexity

Moderate

How it works

Browser
Next.js /api/chat (SSE)
FastAPI /query
Standard RAG

The frontend talks only to the backend; your API keys + pipeline URL stay server-side.

Get started

Option A · Docker Compose (one command)
cp .env.example .env        # add your API key(s)
docker compose up --build
Option B · Backend (manual)
cd backend
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env        # add your API key(s)
python pipeline.py ingest ./corpus
uvicorn serve:app --reload  # http://localhost:8000
Option B · Frontend (Next.js)
cd frontend
npm install
cp .env.local.example .env.local
npm run dev                 # http://localhost:3000

The downloaded README.md has the full guide — vector DB setup, API keys, and deployment to Render/Railway + Vercel.

Project structure28 backend · 15 frontend · 47 files total

backend/
.github/
workflows/
deploy.yml
eval/
__init__.py
README.md
run_eval.sh
synthetic_qa.py
test_answer_quality.py
test_retrieval.py
generation/
__init__.py
generator.py
prompt.py
ingestion/
__init__.py
chunker.py
embedder.py
loader.py
observability/
__init__.py
tracing.py
retrieval/
__init__.py
reranker.py
retriever.py
.env.example
config.yaml
docker-compose.yml
Dockerfile
pipeline.py
README.md
render.yaml
requirements.txt
serve.py
frontend/
app/
api/
chat/
route.ts
globals.css
layout.tsx
page.tsx
components/
Chat.tsx
FloatingChat.tsx
ThemeToggle.tsx
.env.local.example
.gitignore
Dockerfile
next.config.mjs
package.json
postcss.config.js
tailwind.config.ts
tsconfig.json
.env.example
.gitignore
docker-compose.yml
README.md

Ready to build?

Download the full monorepo and follow the README.

Download ZIP