Not sure what to ask? Start the call and try saying:
"Tell me about your work at B1 Properties""What AI projects have you built?""What's your tech stack?""How can I contact you?"
How this project was built
A real-time voice AI you can talk to, built from scratch as a portfolio flagship.
Here is the what, the how, and the stack, for visitors, learners, and interviewers.
What it is
A voice assistant you speak to right in the browser. It answers as Abdur Rehman Afzal
and grounds every reply in his real portfolio using retrieval (RAG), so it stays
factual instead of making things up.
How it works — the pipeline
Your voice streams over WebRTC through a cascaded, low-latency pipeline:
Silero VAD detects when you start and stop speaking, and lets you interrupt.
Deepgram turns your speech into text.
OpenAI gpt-4o-mini writes the reply, and can call a search tool.
Cartesia turns that reply into natural speech.
The audio streams back to your browser.
Grounded answers (RAG)
Rather than guessing, the model calls a search_portfolio tool. The
knowledge base is embedded once with sentence-transformers (all-MiniLM-L6-v2); each
question is matched by cosine similarity and the top results are fed back, keeping
answers accurate. It is real, on-demand retrieval plus agentic tool use.