AI Bus Booking Assistant
A chatbot for a bus ticketing platform: search buses in plain language, hold seats, check bookings and change travel dates.
- Python
- FastAPI
- ChromaDB
- RAG
- Redis
- Laravel
- Tailwind CSS
Freelance project for a bus ticketing platform. Not launched yet.
Booking a bus ticket usually means filling in forms or calling support. This assistant lets customers do it in a chat instead, using the ticketing platform's real data.
What customers can do
- Search for buses in plain language, for example by route and date.
- Hold seats in real time while they decide.
- Check the status of an existing booking.
- Ask to change their travel date.
- Get answers to common questions and schedule enquiries.
How it's built
- A Python FastAPI service that connects to the existing Laravel ticketing platform.
- Retrieval-augmented generation (RAG): FAQs and schedules are stored in ChromaDB, and the most relevant entries are found by semantic search and used to answer.
- Real-time sync without downtime: when a record changes in Laravel, a queue job updates only that record in the vector store, so answers stay current without re-indexing everything.