Generate professional LinkedIn content powered by Groq LLM, LangChain, and Few-Shot Prompting.
LinkedIn Content Generator is an AI-powered application that generates engaging LinkedIn content by learning from existing posts using Few-Shot Prompting.
Simply choose a Topic, Language, and Content Length, and the application generates content that follows a similar writing style.
- 🤖 AI-powered content generation using Groq LLM
- 🧠 Few-Shot Prompt Engineering
- 🌍 English & Hinglish support
- 📌 Topic-based content generation
- 📏 Multiple content lengths
- 📥 Download generated content
- 🎨 Clean Streamlit interface
| Technology | Purpose |
|---|---|
| Python | Core Programming |
| Streamlit | Web Application |
| LangChain | Prompt Orchestration |
| Groq API | Large Language Model |
| Few-Shot Prompting | Writing Style Learning |
| JSON | Dataset Storage |
Clone the repository
git clone https://github.com/<your-username>/linkedin-content-generator.gitMove into the project directory
cd linkedin-content-generatorCreate a virtual environment
python -m venv myenvActivate the environment
myenv\Scripts\activateInstall dependencies
pip install -r requirements.txtCreate a .env file
GROQ_API_KEY=YOUR_GROQ_API_KEYRun the application
streamlit run main.pylinkedin-content-generator
│
├── assets/
├── data/
├── few_shot.py
├── llm_helper.py
├── main.py
├── post_generator.py
├── preprocess.py
├── requirements.txt
└── README.md
- Copy to Clipboard
- Content Tone Selection
- Multi-LLM Support
- Content History
- One-click LinkedIn Publishing
Ankur Dey
If you found this project useful, consider giving it a ⭐ on GitHub!

