11 September 2026
Applying LLM APIs to a Real Conversational Task, Not Just a Prompt Playground

There's a big difference between "I called an LLM API and printed the response" and building something where the LLM is doing real, structured work inside an actual conversational or content-generation task. This Generative AI notebook project is the latter — a focused exploration of applying LLM APIs practically rather than just demonstrating that the API key works.
The distinction that matters
A huge share of "GenAI projects" online stop at prompt-and-print. The more useful exercise — and the one this project is built around — is treating the LLM as one component in a task pipeline: structuring the prompt around real input, constraining the output format so it's usable programmatically downstream, and thinking about failure cases (what happens when the model's response doesn't match the expected shape).
Why Jupyter Notebook for this one
Not every GenAI project needs a frontend and a deployed API. For iterating on prompt design, output structuring, and testing edge cases quickly, a notebook is genuinely the right tool — it lets you see intermediate outputs, adjust a prompt, and re-run in seconds, which is exactly the iteration loop prompt engineering actually needs.
What I took from building this
Working directly with LLM APIs on a practical task — rather than through a higher-level framework — is what makes the failure modes visible: inconsistent output formatting, occasional refusals, subtle hallucination on edge cases. Those are lessons that get abstracted away the moment you reach for a framework like LangChain, which is useful in production but hides exactly the details worth understanding first.
Two ways to work with an LLM API
| Approach | Trade-off |
|---|---|
| Direct API calls | Full visibility into prompt structure and output parsing |
| A framework (e.g. LangChain) | Faster to build, but hides the failure modes |
Working with LLM APIs directly, before reaching for a framework, is what makes the failure modes visible.
Source on GitHub.
FAQ
Common Questions
It's built around LLM API calls generally — the focus is on task structure and prompt design, which transfers across providers.