Danilo Stoletović

Grounding a public AI assistant

An assistant that can answer questions about a portfolio without giving the website access to credentials.

Problem

Visitors needed a way to ask about projects and services without digging through several pages.

Requirements & constraints

Answers needed approved public context. The static website had to remain usable when the assistant was unavailable.

My role

Built the assistant, public knowledge integration, and conversation interface.

Technical decisions

Keep the knowledge and model integration in a Cloudflare Worker. Separate request validation and rate controls from answer generation.

Implementation

The browser sends a bounded conversation to the Worker, which supplies the public context and streams the model response.

Results

The public repository documents browser integration, edge deployment, and an accessible conversation interface.

Lessons learned

Keep the knowledge base reviewable and treat ordinary contact and navigation as independent paths.