Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.31.0
metadata
title: LinkedIn Career Advisor
emoji: π
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.22.0
app_file: app/main.py
pinned: true
LinkedIn Career Advisor π
A professional career pathway analysis tool that leverages AI to provide tailored career path recommendations based on your professional background, education, and goals. No telemetry.
β¨ Features
- Comprehensive Career Analysis: Get detailed insights on potential career paths tailored to your unique professional background
- Multi-dimensional Evaluation: Each path is scored on financial potential, human impact, and opportunity creation
- Customizable Preferences: Adjust weights for different factors based on your personal priorities
- Time Horizon Options: Choose between short-term (3 years), mid-term (10 years), or long-term (10+ years) career planning
- Easy Sharing: Export your analysis to LinkedIn or copy to clipboard with a single click
- Intuitive Interface: User-friendly Gradio UI for seamless interaction
π§ Installation
Prerequisites
- Python 3.12 or higher
- OpenAI API key
Setup
- Clone the repository:
git clone https://github.com/danivpv/linkedinadvice.git
cd linkedinadvice
- Install dependencies using uv (recommended):
uv sync --all-extras
- Create a
.env
file in the root directory with your OpenAI API key:
OPENAI_API_KEY=your-api-key-here
π Running Locally
Start the application with:
uv run poe start # alternatively, uv run gradio app/main.py
The Gradio interface will be available at http://localhost:7860
in your browser.
π¦ Project Structure
linkedin-career-advisor/
βββ app/
β βββ main.py # Application entry point and Gradio UI
β βββ constants.py # Application constants and example data
β βββ utils.py # Utility functions for clipboard and sharing
β
βββ linkedinadvice/
β βββ __init__.py
β βββ career_analysis.py # Career analysis using LangChain and LLM
β βββ monitoring.py # API usage monitoring and logging
β
βββ requirements.txt # Project dependencies
βββ .env # Environment variables (not tracked by git)
βββ README.md # Project documentation
π Deploying to Hugging Face Spaces
- Create a new Space on Hugging Face Spaces
- Choose Gradio as the SDK
- Push this repository to the created Space
- Add your
OPENAI_API_KEY
as a secret in the Space settings
π» Development
Dependencies
gradio
: For the web interfacelangchain
: For LLM integration and career analysis pipelineopenai
: For accessing GPT modelspython-dotenv
: For environment variable management
Adding New Features
To extend the application:
- Modify the analysis logic in
linkedinadvice/career_analysis.py
- Update UI components in
app/main.py
- Add new constants in
app/constants.py
if needed
π Usage Example
Input your professional experience:
- Add current and previous roles
- Specify years of experience
- List notable achievements
Add educational background:
- Enter degrees, institutions, and dates
- Highlight academic achievements
Define your goals and preferences:
- Set career goals
- Add additional insights
- Adjust time horizon and factor weights
Analyze and review results:
- Get personalized career path recommendations
- See detailed scoring across dimensions
- Export or share your results
π€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgements
- OpenAI for providing the underlying language models
- Gradio for the easy-to-use UI framework framework
Built with β€οΈ for career professionals worldwide