A Streamlit-based application that scrapes job postings from career pages and automatically generates personalized cold emails using Llama 3 via Groq. This tool matches job requirements with your portfolio to craft compelling outreach messages.
Why should you care about this project?
👉 Automates Outreach: Generates professional cold emails from job URLs in seconds.
👉 Personalized Content: Matches job skills with specific portfolio links.
👉 Boosts Efficiency: Reduces time spent on initial outreach by a significant margin.
- Job Scraping: Extracts job details from any career or job listing webpage.
- Skill Matching: Uses semantic understanding to match job requirements with your portfolio projects.
- Fast Inference: Powered by Groq's LPU inference engine for near-instant generation.
- Clean UI: Simple Streamlit interface for easy interaction.
- LLM Integration: Leverages Llama 3 (
llama3-8b-8192) via Groq API.
graph LR
A["User Input (Job URL)"] --> B["Web Scraper (WebBaseLoader)"]
B --> C["Clean Text"]
C --> D["Llama-3 (Job Extraction)"]
D --> E["Portfolio Match"]
E --> F["Llama-3 (Email Gen)"]
F --> G["Streamlit UI"]
User Input → Web Scraper → Clean Text → Job Extraction → Portfolio Match → Email Generation → Streamlit UI
- Frontend: Streamlit
- LLM Integration: LangChain
- Model: Llama-3.3-70b-versatile (via Groq)
- Data Handling: Pandas (CSV Portfolio)
cold-email-generator/
├── app/
│ ├── main.py # Application entry point (Streamlit UI)
│ ├── chains.py # LLM chains for extraction and email generation
│ ├── portfolio.py # Portfolio loading and querying logic
│ ├── utils.py # Utility functions (text cleaning)
│ └── resource/
│ └── my_portfolio.csv # Portfolio data
├── .env.example # Example environment variables
├── requirements.txt # Python dependencies
└── README.md # Project documentation-
Clone the repository
git clone https://github.com/Sam-Adarsh/Cold-Email-Generator.git cd Cold-Email-Generator -
Create a virtual environment (optional but recommended)
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install Dependencies
pip install -r requirements.txt
-
Set up Environment Variables Create a
.envfile in the root directory (use.env.exampleas a template) and add your Groq API key:GROQ_API_KEY=your_groq_api_key_here
-
Run the App
streamlit run app/main.py
Adarsh S
M.Tech in Artificial Intelligence
Interested in Generative AI, LLM Applications, and Production AI Systems.