I built a useless Gemini chatbot, then added a "teaching layer" of lessons — now it works

Realistic-Middle7168 · reddit · 2026-09-05

A developer built a Gemini support chatbot for a business with Supabase-stored conversations. It sounded great on paper but answered generically and the client hated it. A comment changed everything: every time it errs, append a short lesson to a markdown file the bot reads before answering. Workflow: bot answers → human reviews/approves → improvement saved as a lesson in Supabase → bot reads lessons first next time. The bot went from embarrassingly bad to genuinely useful. Next questions: inject past conversations to learn patterns, tag responses by category — without over-engineering.

Original post →

More from coding & agent

coding & agent channel →