Spaces:
Sleeping
Sleeping
Antonis Bast commited on
Commit Β·
89488b8
1
Parent(s): 2153ad2
Restore detailed README for GitHub
Browse files- README.md +92 -25
- README_HF.md +37 -0
README.md
CHANGED
|
@@ -1,37 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
-
title: AI Career Chatbot - Antonis Bastoulis
|
| 3 |
-
emoji: π€
|
| 4 |
-
colorFrom: blue
|
| 5 |
-
colorTo: purple
|
| 6 |
-
sdk: gradio
|
| 7 |
-
sdk_version: 5.49.1
|
| 8 |
-
app_file: app.py
|
| 9 |
-
pinned: false
|
| 10 |
-
---
|
| 11 |
|
| 12 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
|
| 19 |
-
-
|
| 20 |
-
-
|
| 21 |
-
-
|
| 22 |
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
- Maintains professional boundaries
|
| 32 |
-
- Records contacts via Google Sheets
|
| 33 |
|
| 34 |
---
|
| 35 |
|
| 36 |
-
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# π€ AI Career Chatbot - Antonis Bastoulis
|
| 2 |
+
|
| 3 |
+
An AI-powered chatbot that represents my professional profile and answers questions about my career, skills, and experience.
|
| 4 |
+
|
| 5 |
+
## π Try It Live
|
| 6 |
+
|
| 7 |
+
**β‘οΈ [Chat with my AI assistant](https://huggingface.co/spaces/antonisbast/career-chatbot) β¬
οΈ**
|
| 8 |
+
|
| 9 |
+
## π‘ What It Does
|
| 10 |
+
|
| 11 |
+
This chatbot acts as my professional representative, trained on my LinkedIn profile and CV. It can answer questions about:
|
| 12 |
+
|
| 13 |
+
- πΌ Work experience and career history
|
| 14 |
+
- π οΈ Technical skills and expertise in Naval Architecture, Marine Engineering, and AI/ML
|
| 15 |
+
- π Projects and achievements
|
| 16 |
+
- π Education and certifications
|
| 17 |
+
- π― Professional interests and goals
|
| 18 |
+
|
| 19 |
+
### Smart Features
|
| 20 |
+
|
| 21 |
+
- **Professional Boundaries**: Automatically redirects inappropriate questions (personal life, salary, etc.)
|
| 22 |
+
- **Contact Collection**: Records visitor contact details directly to Google Sheets
|
| 23 |
+
- **Question Tracking**: Logs questions it couldn't answer for continuous improvement
|
| 24 |
+
- **Natural Conversation**: Speaks in first person while being transparent about being an AI
|
| 25 |
+
|
| 26 |
+
## π οΈ Built With
|
| 27 |
+
|
| 28 |
+
- **AI Model**: OpenAI GPT-4o-mini
|
| 29 |
+
- **UI Framework**: Gradio
|
| 30 |
+
- **PDF Processing**: PyPDF (LinkedIn profile + CV)
|
| 31 |
+
- **Data Storage**: Google Sheets API
|
| 32 |
+
- **Deployment**: Hugging Face Spaces
|
| 33 |
+
|
| 34 |
+
## π How It Works
|
| 35 |
+
|
| 36 |
+
1. Extracts information from PDF exports of my LinkedIn profile and CV
|
| 37 |
+
2. Uses GPT-4o-mini with a custom system prompt to represent me professionally
|
| 38 |
+
3. Employs function calling to record contacts and unanswered questions
|
| 39 |
+
4. Maintains professional boundaries while being helpful and informative
|
| 40 |
+
|
| 41 |
+
## π Privacy & Security
|
| 42 |
+
|
| 43 |
+
- No conversation history is permanently stored
|
| 44 |
+
- Contact information only used for professional follow-up
|
| 45 |
+
- Clear boundaries on what information is shared
|
| 46 |
+
- Secure API communication
|
| 47 |
+
|
| 48 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
+
## π¨βπ» For Developers
|
| 51 |
+
|
| 52 |
+
Want to create your own AI career chatbot? Here's what you need:
|
| 53 |
+
|
| 54 |
+
### Quick Setup
|
| 55 |
|
| 56 |
+
1. **Clone the repository**
|
| 57 |
+
```bash
|
| 58 |
+
git clone https://github.com/antonisbast/career-chatbot.git
|
| 59 |
+
cd career-chatbot
|
| 60 |
+
```
|
| 61 |
|
| 62 |
+
2. **Install dependencies**
|
| 63 |
+
```bash
|
| 64 |
+
pip install openai gradio pypdf python-dotenv gspread oauth2client
|
| 65 |
+
```
|
| 66 |
|
| 67 |
+
3. **Prepare your documents**
|
| 68 |
+
- Export your LinkedIn profile as PDF
|
| 69 |
+
- Have your CV ready as PDF
|
| 70 |
+
- Create a brief summary text file
|
| 71 |
|
| 72 |
+
4. **Set up APIs**
|
| 73 |
+
- Get an OpenAI API key
|
| 74 |
+
- Set up Google Sheets API (for contact recording)
|
| 75 |
+
- Configure environment variables
|
| 76 |
|
| 77 |
+
5. **Run locally**
|
| 78 |
+
```bash
|
| 79 |
+
python app.py
|
| 80 |
+
```
|
| 81 |
|
| 82 |
+
### Key Files
|
| 83 |
+
- `app.py` - Main application with Gradio UI
|
| 84 |
+
- `me/linkedin.pdf` - LinkedIn profile export
|
| 85 |
+
- `me/CV.pdf` - Resume/CV
|
| 86 |
+
- `me/summary.txt` - Professional summary
|
| 87 |
|
| 88 |
+
### Customization
|
| 89 |
+
The system prompt in the `Me` class controls the chatbot's behavior, boundaries, and personality. Modify it to fit your professional profile.
|
|
|
|
|
|
|
| 90 |
|
| 91 |
---
|
| 92 |
|
| 93 |
+
## π« Connect With Me
|
| 94 |
+
|
| 95 |
+
- π [LinkedIn](https://www.linkedin.com/in/antonisbast/)
|
| 96 |
+
- π» [GitHub](https://github.com/antonisbast)
|
| 97 |
+
- π§ [Email](mailto:antonisbast@gmail.com)
|
| 98 |
+
- π [Hugging Face](https://huggingface.co/antonisbast)
|
| 99 |
+
|
| 100 |
+
---
|
| 101 |
+
|
| 102 |
+
**β If you found this project interesting, consider giving it a star!**
|
| 103 |
+
|
| 104 |
+
*Last Updated: November 2025*
|
README_HF.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: AI Career Chatbot - Antonis Bastoulis
|
| 3 |
+
emoji: π€
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.49.1
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# π€ AI Career Assistant - Antonis Bastoulis
|
| 13 |
+
|
| 14 |
+
Hi! I'm an AI assistant trained on Antonis's professional profile. Chat with me to learn about his experience in **Naval Architecture, Marine Engineering, and AI/ML**.
|
| 15 |
+
|
| 16 |
+
## π¬ What You Can Ask Me
|
| 17 |
+
|
| 18 |
+
- Work experience and projects
|
| 19 |
+
- Technical skills (Python, AI/ML, Naval Architecture)
|
| 20 |
+
- Education and certifications
|
| 21 |
+
- Career interests and goals
|
| 22 |
+
|
| 23 |
+
## π Want to Connect?
|
| 24 |
+
|
| 25 |
+
Just tell me your email in the chat and I'll make sure Antonis gets in touch with you!
|
| 26 |
+
|
| 27 |
+
## π οΈ About This Bot
|
| 28 |
+
|
| 29 |
+
- Powered by **OpenAI GPT-4o-mini**
|
| 30 |
+
- Trained on LinkedIn profile + CV
|
| 31 |
+
- Maintains professional boundaries
|
| 32 |
+
- Records contacts via Google Sheets
|
| 33 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
**Connect with Antonis:**
|
| 37 |
+
[LinkedIn](https://www.linkedin.com/in/antonisbast/) β’ [GitHub](https://github.com/antonisbast) β’ [Email](mailto:antonisbast@gmail.com)
|