jinw00ch01 Portfolio

BlackBox: RAG Chatbot for Road Traffic Regulations

A RAG chatbot that answers questions about road traffic regulations with sources found in the regulation documents, built from Bedrock Knowledge Base search, a chat screen, and a serverless API on Lambda.

Area
AI Β· LLM services
Type
Team project
Period
2025.11 – 2025.12
Hard skills
PythonFastAPIAWS Bedrock Knowledge BaseAWS Lambdaboto3ReactViteTailwind CSS
Soft skills
CollaborationRapid prototyping
Competencies
RAGShowing retrieved sourcesChat UIMoving an API server to serverless

Situation

Road traffic regulations are long and their wording is hard to follow, so a general-purpose chatbot could answer without any basis or give a wrong answer.

Task

The goal was a chatbot that shows the sources it found in the regulation documents with every answer, and the backend and chat screen had to be finished in a short time.

Action

  • Set up the regulation documents as a Bedrock Knowledge Base
  • Implemented a chat API that takes a question, searches the Knowledge Base, and returns the LLM answer with the search results
  • Built the chat screen with React and Tailwind CSS and connected it to the API
  • Moved the FastAPI server to an AWS Lambda function so the API runs serverless

Result

  • The chatbot answers questions and shows the sources it retrieved

What I gained

I learned how to set up RAG on a managed Knowledge Base and how to move a FastAPI server onto Lambda to run it serverless.