This repository is a persona-based AI chatbot submission for the assignment. The app has 3 different personas with which the user interacts. They are Anshuman Singh, Abhimanyu Saxena, and Kshitij Mishra. Each of them has their own system prompt, their own tone of answering and their own suggestions. They have separate conversation flow.
The project has two folders:
backendcontains the FastAPI backend and the /api/chat routefrontendcontains the React + Vite frontend
- Three persona images at the top of the page
- Active persona highlight
- Chat reset when the persona changes
- Suggestive questions for each persona
- Typing indicator while the response is loading and graceful error handling
- Mobile and desktop responsive layout
cd backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload
cd frontend
npm install
cp .env.example .env
npm run dev
- Deployed frontend URL: https://gen-ai-chatbot-psi.vercel.app/
- Deployed backend URL: https://genai-chatbot-mczn.onrender.com/