HR Chacha is an AI-powered hiring assistant chatbot built using Streamlit, LLaMA 3.3 70B, MongoDB and deployed with AWS ECR + EC2. It simulates an intelligent recruiter that collects candidate details, asks technical questions based on their skills, and formats their data into a clean JSON format for HR/admins to evaluate.
Live link: (AWS Live Deployment Paused) Streamlit -> https://hrchacha-bmerkgxmqzeiwvlkvjccwt.streamlit.app//
HR Chacha is a conversational AI assistant built for recruitment automation. It:
- Greets candidates professionally
- Collects basic candidate info (name, email, experience, location, tech stack)
- Dynamically generates tech-specific questions (e.g., Python, Django)
- Accepts candidate answers, stores data in MongoDB
- Outputs final structured data for HR teams to assess
git clone https://github.com/Shristirajpoot/HRChacha.git
cd HRChachapython -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtCreate a .env file:
MONGO_URI=mongodb+srv://<user>:<pass>@cluster.mongodb.net/
TOGETHER_API_KEY=your_together_api_key_herestreamlit run app.py- Open your browser to
http://localhost:8501 - Start chatting! HR Chacha will ask for your name, email, experience, and skills
- Based on your tech stack, HR Chacha will generate 3-5 relevant questions
- Once all answers are received, your structured JSON will be shown and saved to MongoDB
- Frontend: Streamlit
- Backend: Python
- LLM API: Together AI (LLaMA 3.3 70B Instruct Turbo)
- Database: MongoDB Atlas
- Deploymet: Github Workflow, Runners, Docker, AWS ECR, AWS EC2
- Prompt Management: Custom, static system prompt with extract logic
streamlitpymongopython-dotenvtogether(for API access to LLaMA)
- Uses chat history and a persistent
systemrole - Messages streamed with cursor-style output
- Structured prompt instructs LLM to collect & serialize user data
Prompting strategy follows best practices:
- Starts with a clear role definition
- Instructionally structured in numbered format
- Uses trigger phrase
USER_DATAto tag final JSON output - Prompts candidate to answer tech questions with number and answer pairing
- Handles irrelevant input with fallback behavior
See the full prompt in
hrchacha/prompts
- Docker: for containerized development and deployment
- GitHub Actions: to automate test and deployment workflows
- AWS EC2 / ECR: for cloud hosting + storing image
graph TD;
Dev-->GitHub;
GitHub-->CI/CD;
CI/CD-->Docker;
Docker-->AWS;
AWS-->Production;
- π€ Shristi Rajpoot Pre-Final Year IT | ML + Fullstack | Building real-world solutions


