BenBot answers visitor questions from this site’s content. It embeds every page into Cloudflare Vectorize, retrieves passages for a question, and answers from those passages with citations back to the source pages.
The pipeline runs in GitHub Actions: a content change rebuilds the index, which is then queried by a Cloudflare Worker at /api/benbot. Rate limiting, Turnstile bot protection and cost caps are part of the worker, not an afterthought.
Links#
- Demo: /work/
