Skip to content
Benssy Dungaran
All work

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

AI Support ChatbotDemo data
Support ticket about shipment status sync failures: the customer's message, the AI assistant's answer with recommended steps and a source citation, an “I don't know” low-confidence fallback, and a retrieval panel with the top five matching document chunks and their similarity scores. The names and numbers in it are demo data.
  1. 1. Every answer cites its sources.
  2. 2. If the documents don't cover a question, the bot says “I don't know”.
  3. 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

AI Support Chatbot architecture diagramClient 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”ingestquestionstore · searchtop matcheslaterClient documentsSupport agentasks a questionOpenAI embeddingspgvector on PostgreSQLvector searchOpenAI modelanswers from theretrievedpassagesClient CRMfollow-onintegrationAnswer withsources“I don't know”when the documentsdon't cover it
Simplified view of the RAG pipeline. It ran on Vercel, where weekly demos used preview deployments.
  • Data
  • Interface
  • AI model
  • External or planned
  • Designed for or added later
Text version
  1. Client documents → OpenAI embeddings (ingest)
  2. Support agent → OpenAI embeddings (question)
  3. OpenAI embeddings → pgvector on PostgreSQL (store · search)
  4. pgvector on PostgreSQL → OpenAI model (top matches)
  5. OpenAI model → Client CRM (later), designed for or added later
  6. OpenAI model → Answer with sources
  7. 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
    Support ticket about shipment status sync failures: the customer's message, the AI assistant's answer with recommended steps and a source citation, an “I don't know” low-confidence fallback, and a retrieval panel with the top five matching document chunks and their similarity scores. The names and numbers in it are demo data.
  • Copilot conversationDemo data
    Support copilot view: a customer asks about the allowed temperature range for pharmaceutical shipments, the AI assistant answers step by step with a citation to the logistics SOP, the “I don't know” fallback is shown as not needed, and a panel shows the retrieval pipeline and the top five retrieved chunks with their scores. The names and numbers in it are demo data.

Go to

Home
Work
How I know it works
How this site is built
About
At a glance
Experience
Skills
Contact

Case studies

SprintiQ v2AI Agile Project Management Platform
SprintiQAI Story Generation (v1)
AI Support ChatbotRAG chatbot for a logistics client
AI Document Processing SystemLangGraph agent for documents
AI Business Automation PlatformOpenAI-powered process automation
ADStorm DashboardAdvertising platform frontend

Actions

Ask about BenssyAI assistant
Try the SprintiQ demoUser stories, Zod-validated
See the assistant's eval resultsEvery question, pass or fail
Copy email addressbenssydungaran347@gmail.com
Download resumePDF
Send an email
Call+63 938 833 2076
LinkedInnew tab
GitHubnew tab