AI Support Chatbot
RAG chatbot for a logistics client
A support chatbot that answers from the client's own documents, cites its sources on every answer, and says “I don't know” instead of guessing.
Client work · Jul 2025 onwards
Screenshot

- 1. Every answer cites its sources.
- 2. If the documents don't cover a question, the bot says “I don't know”.
- 3. A RAG pipeline: OpenAI embeddings stored in pgvector on PostgreSQL.
A real screenshot. The names and numbers in it are demo data, not results. Select it to see it full size. More views are under All screenshots.
The problem
A regional logistics client wanted an AI assistant for its support team that answers from the company's own documents.
My role
I led it from discovery to delivery, as a freelancer.
Discovery and stakeholders
I worked directly with the client's operations manager, senior support agents and VP of Customer Experience to define the requirements.
- We built a 200-question evaluation set together and measured accuracy against it.
Approach
- A RAG pipeline: OpenAI embeddings stored in pgvector on PostgreSQL.
- Every answer cites its sources.
- If the documents don't cover a question, the bot says “I don't know”.
Architecture
- Data
- Interface
- AI model
- External or planned
- Designed for or added later
Text version
- Client documents → OpenAI embeddings (ingest)
- Support agent → OpenAI embeddings (question)
- OpenAI embeddings → pgvector on PostgreSQL (store · search)
- pgvector on PostgreSQL → OpenAI model (top matches)
- OpenAI model → Client CRM (later), designed for or added later
- OpenAI model → Answer with sources
- OpenAI model → “I don't know”
Trade-offs
- We weighed accuracy against cost with the client.
- The “I don't know” fallback leaves some questions unanswered, but agents can trust the answers they do get.
- Multi-language support moved to phase two.
Delivery
- Weekly demos on Vercel preview deployments.
- I managed scope trade-offs with the client along the way.
Results
70% → 85%
accuracy on the 200-question evaluation set
40%
lower average ticket resolution time
80%+
agent adoption within two weeks
- It led to follow-on work integrating the bot with the client's CRM.
All screenshots
Select one to see it full size. The names and numbers in them are demo data, not results.
- Support ticketDemo data

- Copilot conversationDemo data
