Blog
Home

Tagged “rag”

← All articles
Building an AI chat assistant for my site, part 8

13 September 2026

The chat widget goes live, and real use immediately surfaces a language rule the model ignored, a cross-partition retrieval sort bug that had been silently serving the worst-matching content since launch, a citation leak, and the stale-cache gotcha that makes the next part necessary.

Building an AI chat assistant for my site, part 7

13 September 2026

Securing the assistant Worker before it gets a public widget: per-IP rate limiting, wiring in a Turnstile check the site can't pass yet, a conversation-logging heuristic that turned out not to be a security boundary, and an older language-handling bug caught along the way.

Building an AI chat assistant for my site, part 6

13 September 2026

Backfilling the knowledge store for real: embedding all 93 blog articles, authoring personal and professional facts through an interview process (and catching a real factual error along the way), and refining the assistant's conversational manners for small talk, farewells, and off-topic questions.

Building an AI chat assistant for my site, part 5

12 September 2026

Building the assistant Worker itself: a public-facing least-privilege Cosmos role, querying a vector database with no SDK available, a generation model that turned out to already be deprecated, and a live test that correctly answered a Dutch question from English source content.