RAG Knowledge Chatbot
Ask about the work without leaving the portfolio.
The problem.
A visitor may know the question they want to ask without knowing which case study to open. The profile terminal gives them a short path to a relevant answer.
Role I built the knowledge-entry format, retrieval service, prompt assembly and terminal conversation interface.
Approach I connected Ask AI to the portfolio’s retrieval and chat route. Visitors can ask about skills and projects in place. A scope check redirects unrelated questions back to the work.
Next.jsSupabasepgvectorOpenAIVercel AI SDKAsk about the portfolio

How it connects.
Semantic search / reviewed project notes / follow-up questions
- 01KNOWLEDGE BASE
- 02PGVECTOR SEARCH
- 03SOURCED CONTEXT
- 04AI RESPONSE
Implementation evidence.
A question in context
The profile terminal displays the visitor’s question and the reply together. The same panel handles questions outside the portfolio’s scope.
Where answers come from
Each search starts with reviewed project and experience notes. If the hosted index is unavailable, the assistant can search the same notes using a local copy of their embeddings.
Retrieved text passes through the public naming rules
The assistant searches a reviewed set of public notes. Each match points back to a named project or portfolio section.
Outcomes
- Editing and re-indexing an entry updates the material available to future answers.
- The assistant can acknowledge a gap when a visitor asks about an undocumented detail.