Update app.py
Browse files
app.py
CHANGED
|
@@ -51,6 +51,29 @@ def build_structured_prompt(user_prompt, repo_data=None):
|
|
| 51 |
"Use emojis naturally to increase engagement",
|
| 52 |
"Make sure the post becomes viral after posting"
|
| 53 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
}
|
| 55 |
}
|
| 56 |
|
|
|
|
| 51 |
"Use emojis naturally to increase engagement",
|
| 52 |
"Make sure the post becomes viral after posting"
|
| 53 |
]
|
| 54 |
+
},
|
| 55 |
+
"sample_output": {
|
| 56 |
+
"title": "✨ From Chaos to Clarity: How I Built an AI Research Assistant That Simplifies Learning 🌌",
|
| 57 |
+
"body": [
|
| 58 |
+
"Ever felt overwhelmed by mountains of research papers and endless documentation? I definitely have, and that frustration sparked an idea.",
|
| 59 |
+
"I decided to build the AI Research Assistant API — a small experiment that turned into a powerful tool for students, developers, and researchers.",
|
| 60 |
+
"By combining FastAPI for blazing-fast APIs, LangGraph to map workflows, and OpenRouter’s GLM-4.5-air model for intelligent summarization, I created a system that transforms raw research into clear, actionable insights in seconds.",
|
| 61 |
+
"What’s more, integrating web search via Tavily allowed the assistant to fetch relevant data dynamically, making it smarter with each query.",
|
| 62 |
+
"But this journey wasn’t just about technology — it taught me resilience, problem-solving, and the importance of designing tools that genuinely help people.",
|
| 63 |
+
"Seeing others try the API and immediately understand complex research was the most rewarding part. It reminded me that even small projects can create big impacts when built thoughtfully.",
|
| 64 |
+
"If you’re curious about building something impactful, here’s my advice:",
|
| 65 |
+
"1️⃣ Identify a real problem you’ve faced.",
|
| 66 |
+
"2️⃣ Combine the tools and skills you’re learning to prototype quickly.",
|
| 67 |
+
"3️⃣ Share your solution and gather feedback — it’s the fastest way to improve.",
|
| 68 |
+
"Innovation is less about the size of the project and more about the clarity it brings to others."
|
| 69 |
+
],
|
| 70 |
+
"cta": "What’s a challenge you’ve faced in your research or projects? I’d love to hear your thoughts and experiences!",
|
| 71 |
+
"hashtags": [
|
| 72 |
+
"#AIResearch", "#FastAPI", "#LangGraph", "#OpenRouter", "#MachineLearning",
|
| 73 |
+
"#TechInnovation", "#DataScience", "#Innovation", "#LearnByBuilding",
|
| 74 |
+
"#APIDevelopment", "#BuildInPublic", "#ProblemSolving", "#ResearchEfficiency",
|
| 75 |
+
"#AICommunity", "#MakeItHappen"
|
| 76 |
+
]
|
| 77 |
}
|
| 78 |
}
|
| 79 |
|