The "Lost in the Middle" Problem in RAG and How to Work Around It

Posted on Thu 22 October 2026 in GenAI • Tagged with GenAI, RAG, LLM, context-window, retrieval, reranking

Why This Matters

You build a RAG pipeline. Retrieval works: the right chunk is definitely in the top results. You send everything to the LLM, and it still gives a wrong or incomplete answer, as if it never saw the one piece of text that contained the answer.

Very often …


Continue reading

Why Small, Boring AI Features Win Over Flashy Ones

Posted on Wed 21 October 2026 in GenAI • Tagged with GenAI, LLM, product-design, AI-features, opinion

Why I'm Writing This

Every AI product launch seems to chase the same thing: the most impressive possible demo. A fully autonomous agent that books your entire trip. A chatbot that "does anything." A magic button that rewrites your whole workflow. These make for great launch videos. But when I …


Continue reading

Why "AI Literacy" Might Be the Most Underrated Skill Right Now

Posted on Sun 04 October 2026 in GenAI • Tagged with GenAI, LLM, AI-literacy, career, opinion

Why I'm Writing This

A lot of career advice around GenAI right now focuses on learning to build with AI — prompt engineering, RAG, agents, fine-tuning. That's valuable, and it's most of what this blog covers too. But I've started noticing a quieter, less talked-about skill gap that might matter even …


Continue reading

Why "Context Engineering" Is Replacing "Prompt Engineering" as the Buzzword

Posted on Fri 02 October 2026 in GenAI • Tagged with GenAI, LLM, context-engineering, prompt-engineering, opinion

Why I'm Writing This

A few months ago I wrote about whether prompt engineering was a dying skill, and landed on "it's not dying, it's getting absorbed into something bigger." Since then, I keep running into a new term that feels like exactly that "something bigger" showing up with a …


Continue reading

Building a Chatbot API with FastAPI + OpenAI/Claude — Step by Step

Posted on Wed 30 September 2026 in Tutorial • Tagged with FastAPI, Python, chatbot, OpenAI, Claude, GenAI, LLM

Why This Matters

Every GenAI journey eventually hits the same milestone: building your first real chatbot API, not just calling a model from a script. This is the project that ties together everything else — API keys, request/response models, calling an LLM provider, and returning a clean response your frontend …


Continue reading

Streaming AI Responses in FastAPI Using Server-Sent Events (SSE)

Posted on Sat 26 September 2026 in Tutorial • Tagged with FastAPI, Python, SSE, streaming, GenAI, LLM

Why This Matters

If you've used ChatGPT or Claude, you've seen the response appear word by word instead of showing up all at once after a long wait. That's not just a visual nicety — it makes the app feel dramatically faster, even though the total time to finish the response …


Continue reading

Why AI Benchmarks Don't Always Predict Real-World Performance

Posted on Fri 25 September 2026 in GenAI • Tagged with GenAI, LLM, benchmarks, model-evaluation, opinion

Why I'm Writing This

Every new model release comes with a wall of benchmark charts — MMLU, HumanEval, GPQA, some new benchmark nobody had heard of six months ago — all showing the new model beating the old one by a few percentage points. And yet, plenty of people who actually use …


Continue reading

What Happens to Your Data When You Use an AI Chatbot?

Posted on Thu 24 September 2026 in Beginner Guide • Tagged with GenAI, LLM, privacy, data-security, beginner

Why This Matters

Most people paste things into ChatGPT or Claude without a second thought — a draft email, a piece of code, sometimes even sensitive personal or company information. It's easy to treat it like a private notepad. But understanding what actually happens to that data behind the scenes changes …


Continue reading

Why Some Prompts Work Perfectly in Testing and Fail in Production

Posted on Wed 23 September 2026 in GenAI • Tagged with GenAI, LLM, prompt-engineering, production, testing

Why This Keeps Happening

You spend hours refining a prompt. You test it with ten, twenty, fifty example inputs. It works beautifully every time. You ship it. A week later, real users start hitting it with inputs you never imagined, and the same prompt that felt bulletproof starts producing broken …


Continue reading

The Difference Between an AI That's Wrong and an AI That's Lying

Posted on Tue 22 September 2026 in GenAI • Tagged with GenAI, LLM, hallucination, AI-safety, beginner

Why This Distinction Matters

"The AI lied to me" is something I hear constantly — from beginners, from frustrated users, even in headlines about AI news. It's an understandable way to describe the experience of getting a confidently wrong answer. But the more I looked into how these errors actually happen …


Continue reading