[verdict][prompt curatoriat][sursă: magicchat.ai][traducere: la coadă]
Pot să vibecodez MagicChat?
// se construiește într-un weekend, dar rămân goluri reale
A retrieval chatbot over your own docs is one of the most one-shottable products there is: crawl the site, chunk and embed it, answer from the top matches with an LLM, drop in a widget. What you don't get for free is the boring operational layer, scheduled re-crawls, analytics, lead capture and human handoff, multi-source connectors, and a hosted widget that stays up. Buildable in a weekend, real gaps after that.
încredere: medie
ce e: Train an AI support chatbot on your own content and embed it on your site
Indice de constructibilitate · joc editorial
- Preț 58 $/lună greutate: plus 3
- Timp un weekend greutate: plus 2
- Categorie suport clienți nu cântărește
- Moat integrări · calitatea execuției · scara infrastructurii greutate: minus 4
- Încredere medie greutate: zero
- Ce pierzi 6 elemente greutate: minus 3
- Site magicchat.ai (si apre in una nuova scheda) nu cântărește
Moat-ul cântărește mai mult decât prețul: refăcut, e un proiect, nu o seară.
Gioco editoriale: il verdetto dice se un agente può, l’indice se conviene.
Ce construiești
Crawl a site or docs, chunk and embed the pages into a vector store, retrieve the top matches for a visitor question, and answer with an LLM through an embeddable chat widget.
ce îți trebuie
- OpenAI/Anthropic API key
- an embeddings model
- a vector store (pgvector or sqlite-vec)
- a public HTTPS deployment for the widget
AI 'chat with your docs' support bot; the RAG core is a weekend build, the refresh/analytics/hosting layer is the moat.
Promptul
Un weekend cu un agent de coding. Golurile care rămân sunt mai jos, la „ce pierzi”.
Build me an AI support chatbot that trains on my own website and docs, to replace
MagicChat, in an empty repo.
Stack (no alternatives): Next.js 15 (App Router) + TypeScript, Postgres with the
pgvector extension via Drizzle ORM, and Docker Compose so `docker compose up` runs
Postgres and the app together. Use the OpenAI or Anthropic API for both embeddings
and answers (keys in .env).
Core loop:
- `npm run ingest -- <sitemap-or-url>`: crawl the pages, strip to clean text, chunk
(~800 tokens with overlap), embed each chunk, and store text + vector + source URL
in Postgres.
- A /api/chat route: embed the incoming question, pull the top-k chunks by cosine
similarity, and ask the LLM to answer ONLY from that context, returning the source
URLs it used. Stream the answer.
- A single embeddable widget: one <script> tag mounts a floating chat bubble on any
site, talking to /api/chat with CORS locked to configured origins.
Details:
- One config file: bot name, greeting, allowed origins, model, top-k.
- Store everything locally in Postgres; `npm run reindex` re-crawls and replaces.
- Secrets in .env, ship .env.example, never commit keys.
- Handle empty, loading, and "I don't know from the docs" states honestly; never
invent answers outside the retrieved context.
- Out of scope: multi-channel (email/WhatsApp/Slack), team seats, an analytics
dashboard, human handoff, scheduled auto-refresh (leave a documented cron hook),
and any hosted control plane.
- README: setup, the ingest command, embedding the widget, and where data lives. Prompt curatoriat: scris și revizuit manual pentru această aplicație. În engleză intenționat — e limba în care agenții de coding se descurcă cel mai bine.
Ce pierzi
- scheduled auto re-crawl and content refresh
- analytics and conversation-history dashboards
- lead capture and human handoff
- multi-source connectors and integrations
- hosted uptime for the widget
- team seats and enterprise compliance (HIPAA/DPA/BAA)
De ce se plătește în continuare
People pay so they never touch the plumbing: the crawler that re-indexes when docs change, the dashboard that shows what customers asked, the connectors to their help desk, and a widget that stays up without them running a server. The RAG is easy; keeping it fresh, measured and online is the recurring work.
moat: Integrări Calitatea execuției Scara infrastructurii ce e un moat
connectors, refresh pipeline and hosted uptime
Alternative gratuite
N-ai chef să ți-o construiești? Astea există deja, sunt gratuite sau open source, și le-am verificat una câte una.
Cine l-a construit deja
Să pornești de aici e tot vibecoding: promptul e pentru când o vrei exact în felul tău.
- Onyx (formerly Danswer) (se deschide într-o filă nouă) — Open-source AI assistant that answers questions over your own documents
- Flowise (se deschide într-o filă nouă) — Open-source builder for RAG chatbots you can embed
Ești de acord?
Balanța voturilor
Ancora nessun voto: il tuo è il primo.
Nessun voto ancora — il primo pesa.