🔗 Live Demo
Built using LangChain, OpenAI GPT-4, FastAPI, and React, Footprints Bot is an AI-powered assistant that helps parents explore preschool programs, ask questions, and schedule visits — all through natural multi-turn conversation.
- 🤖 Conversational AI using LangChain Agents + OpenAI GPT
- 🔁 Multi-turn reasoning with context tracking
- 🧠 Intent classification for program, fee, visit, and safety queries
- 📍 Center recommendations via city and locality filtering
- 📚 FAQ routing through a structured knowledge base
- 🔐 API key protection via
.envfile - 🗃 JSON-based data store (extensible to MongoDB)
footprints-chat/
├── backend/
│ ├── bot.py # Core logic and prompt orchestration
│ ├── centers.json # Data for all Footprints centers
│ ├── knowledge_base.py # Structured FAQs
│ ├── .env # API key config
│ └── test.py # Bot testing script
├── frontend/
│ ├── public/
│ └── src/ # Basic UI (optional)
git clone https://github.com/priyanshusinghal12/Footprints-Bot.git
cd footprints-chat/backendpip install -r requirements.txtCreate a .env file in the backend folder:
OPENAI_API_KEY=your-openai-api-key-herepython bot.py👤 Hi! I want to know about daycare programs.
🤖 Sure! We offer:
- Pre-School: 9 AM – 12 PM
- Full Day Care: 9 AM – 6:30 PM
- After School: 3:30 PM – 6:30 PM
All programs run Mon–Fri.
- Frontend: Hosted on Vercel
- Backend API: Hosted on Render
- Optional Docker support for future deployment
Priyanshu Singhal
BSc Mathematics, University of Waterloo
📫 psinghal@uwaterloo.ca · 🌐 LinkedIn