Career Guidance Chatbot is a Generative AI-powered Streamlit web app developed during the GenAI Foundation Program. It helps users explore personalized, future-ready career options based on their skills, interests, and education background using Google’s Gemini 2.0 Flash API. Ideal for students, professionals, or anyone exploring new career paths.
- AI-Powered Career Advice – Tailored suggestions generated by Gemini based on user input.
- Bold Titles with Rich Descriptions – Clear, insightful summaries for each career.
- Clickable Resource Links – Explore careers further with trusted sources.
- Session History – Review your past queries and AI responses.
- Secure API Key Handling – Supports both
.env
(local) andsecrets.toml
(Streamlit Cloud or self-hosted). - Modern, Clean UI – Streamlit-based layout with responsive design.
- The user inputs their skills, interests, and educational background.
- The app constructs a well-formatted prompt and sends it to the Gemini API.
- Gemini returns 3 career suggestions, each with a title, explanation, and link.
- The user views suggestions in an intuitive and readable layout.
- Previous queries and results are saved in session history for review.
- Students: Discover career paths aligned with academic background.
- Professionals: Explore career shifts or upskilling opportunities.
- Career Counselors: Use as a supportive tool for client consultations.
- Clone the repository:
git clone https://github.com/jeevandeepsaini/CareerGuidanceChatBot.git cd CareerGuidanceChatBot
- Create and activate a virtual environment:
python -m venv .venv .venv\Scripts\activate # On Windows # or source .venv/bin/activate # On macOS/Linux
- Install dependencies:
pip install python-dotenv streamlit requests #or pip install -r requirements.txt
- Add your Gemini API key securely:
- For local development, create a
.env
file in the project root:GEMINI_API_KEY=your_gemini_key_here
- For Streamlit Cloud deployment, add your key via:
- App Settings → Secrets:
GEMINI_API_KEY = "your_gemini_key_here"
- Or by creating
.streamlit/secrets.toml
locally with:GEMINI_API_KEY = "your_gemini_key_here"
- App Settings → Secrets:
- For local development, create a
- Run the app:
streamlit run careerBot.py
- Open your browser to the provided
localhost
link to start using the chatbot
- Language: Python
- Framework: Streamlit
- API: Google Gemini 2.0 Flash (generateContent)
- Tools: PyCharm, virtualenv
- No user data is stored or transmitted beyond the Gemini request.
- Supports both .env and secrets.toml for secure API key management.
- Ideal for local or internal educational/counseling use.
This app uses Google's Gemini API, which is currently free with usage limits. The publicly deployed Streamlit app is provided strictly for demonstration purposes.
Please note:
- The API quota may be exceeded with high usage, after which the app may stop functioning temporarily.
- This app is not intended for continuous or personal use without setting up your own API key.
- If you're cloning or forking this project, make sure to add your own Gemini API key in the
.env
file orsecrets.toml
.
I appreciate your understanding and responsible usage of this demo!
This project is licensed under the MIT License – feel free to use and modify it.
This project integrates with the Gemini API (Google Generative Language API). To use this software, you must obtain your own API key and ensure compliance with Google’s API usage terms. API keys are not included in this repository for security reasons.