CoolFace
Apppublic

danivpv/linkedincareeradvice

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
App README

LinkedIn Career Advisor ๐Ÿš€

Python Gradio OpenAI License

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.

LinkedIn Career Advisor Demo

โœจ 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

  1. 1.Clone the repository:
bash
git clone https://github.com/danivpv/linkedinadvice.git
cd linkedinadvice
  1. 1.Install dependencies using uv (recommended):
bash
uv sync --all-extras
  1. 1.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:

bash
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

  1. 1.Create a new Space on Hugging Face Spaces
  2. 2.Choose Gradio as the SDK
  3. 3.Push this repository to the created Space
  4. 4.Add your OPENAI_API_KEY as a secret in the Space settings

๐Ÿ’ป Development

Dependencies

  • โ€”gradio: For the web interface
  • โ€”langchain: For LLM integration and career analysis pipeline
  • โ€”openai: For accessing GPT models
  • โ€”python-dotenv: For environment variable management

Adding New Features

To extend the application:

  1. 1.Modify the analysis logic in linkedinadvice/career_analysis.py
  2. 2.Update UI components in app/main.py
  3. 3.Add new constants in app/constants.py if needed

๐Ÿ“Š Usage Example

  1. 1.Input your professional experience:
  2. 2.Add current and previous roles
  3. 3.Specify years of experience
  4. 4.List notable achievements
  1. 1.Add educational background:
  2. 2.Enter degrees, institutions, and dates
  3. 3.Highlight academic achievements
  1. 1.Define your goals and preferences:
  2. 2.Set career goals
  3. 3.Add additional insights
  4. 4.Adjust time horizon and factor weights
  1. 1.Analyze and review results:
  2. 2.Get personalized career path recommendations
  3. 3.See detailed scoring across dimensions
  4. 4.Export or share your results

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. 1.Fork the repository
  2. 2.Create your feature branch (git checkout -b feature/amazing-feature)
  3. 3.Commit your changes (git commit -m 'Add some amazing feature')
  4. 4.Push to the branch (git push origin feature/amazing-feature)
  5. 5.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