With only a few pages of content, the quality of each chunk matters more than the model. Each section of the site becomes one chunk with a short heading for context.

Small corpus, careful chunks

Embeddings live in Supabase with pgvector; a single similarity query returns the top matches, which go into the prompt alongside the question.

Rate limiting and short answers keep it cheap - it's a portfolio feature, not a product.