Back to Projects
LinkedIn Posts Generator Using Deepseek R1 x Llama
a tool that writes linkedin posts for you. pick a topic, a length and a language and it gives you a post that sounds like a real person wrote it.
langchain sends your choices plus a few example posts to deepseek r1 distill llama 70b through groq, so the output follows a specific writing style instead of generic linkedin speak. streamlit is the front end.
live on streamlit cloud.
Architecture
Preparing examples
Raw postsdata/*.json
LLM tags each postline count, language, topic tags
processed_posts.json
Writing a post
Streamlit UItopic, length, language
few_shot.pypicks example posts with the same topic, length and language
Few-shot promptpost_generator.py
Groqdeepseek-r1-distill-llama-70b
LinkedIn postin the examples’ style
