Temperature and Top-p Explained: Why Your AI Sounds Different Each Time

Posted on Sun 18 April 2027 in Beginner Guide • Tagged with GenAI, LLM, temperature, top-p, sampling, beginner

The Question That Started This

I once asked the same question to the same model twice and got two noticeably different answers. My first thought was that something was broken. It wasn't. That variation is a feature, controlled by a couple of settings you've probably seen in every LLM API …


Continue reading

What Is an Embedding? Explained Without the Math

Posted on Sun 15 November 2026 in Beginner Guide • Tagged with GenAI, LLM, embeddings, vector-database, semantic-search, beginner

The Problem Computers Have With Meaning

Computers are good at exact matches. Search for "cat" and they'll find every document containing the word "cat." But they won't find documents about "kitten" or "feline" unless those exact words appear too. They have no concept that these words mean similar things.

Embeddings …


Continue reading

Why LLMs Can't Count Letters in a Word: Tokens

Posted on Thu 12 November 2026 in Beginner Guide • Tagged with GenAI, LLM, tokens, tokenization, beginner

The Question That Trips Up Every Model

Ask an LLM how many times the letter "r" appears in the word "strawberry" and there's a good chance it gets it wrong. Ask it to reverse a simple word and it fumbles. Count vowels in a sentence — wrong again. For a system …


Continue reading

I Ran an LLM on My Own Laptop: Here's How (Ollama Setup for Beginners)

Posted on Sat 24 October 2026 in Tutorial • Tagged with Ollama, local-LLM, GenAI, FastAPI, Python, beginner

The Moment It Clicked

For a long time, "using an LLM" meant one thing for me: sign up, paste an API key, send a request to someone else's server, and watch the token counter tick up. Then I tried running a model on my own laptop, with the Wi-Fi turned …


Continue reading

Dependency Injection in FastAPI — A Beginner's Breakdown

Posted on Sat 03 October 2026 in Tutorial • Tagged with FastAPI, Python, dependency-injection, beginner

Why This Confused Me at First

The first time I saw Depends() scattered through FastAPI route functions, it looked like unnecessary complexity for something simple. Why not just call a function directly inside the route? It took actually building a few endpoints that needed shared logic — authentication, database connections, settings …


Continue reading

Async vs Sync in FastAPI — When It Actually Matters

Posted on Tue 29 September 2026 in Tutorial • Tagged with FastAPI, Python, async, performance, beginner

Why This Confuses Beginners

One of the first things that trips people up in FastAPI is seeing both def and async def used for routes, sometimes in the same codebase, and not knowing which one to use or why it matters. Some tutorials use async def everywhere out of habit …


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

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

Why The AI Agent Keeps Doing the Same Wrong Thing Twice

Posted on Sun 20 September 2026 in GenAI • Tagged with GenAI, AI-agents, debugging, memory, beginner

Why This Happens to Almost Everyone

If you've built or even just used an AI agent for anything beyond a single simple task, you've probably watched it fail at something, then immediately try the exact same failed approach again — sometimes two or three times in a row — instead of learning …


Continue reading

Why Your Chunks Overlap — and Why That's Actually Intentional

Posted on Fri 18 September 2026 in Beginner Guide • Tagged with GenAI, RAG, chunking, vector-database, beginner

Why This Matters

If you've built even a basic RAG pipeline, you've probably run into "chunk overlap" as a setting — usually with some default value like 50 or 200 tokens — and wondered why you'd deliberately want the same text to appear in two different chunks. Doesn't that just waste storage …


Continue reading