Anti-Patterns

Anti-Patterns

Anti-patterns that cause prompt spaghetti, unreliable behavior, compliance risk, and runaway cost.

Articles

Where Does an LLM Get Its Data? RAG Data Sources in Python

Where Does an LLM Get Its Data? RAG Data Sources in Python

An LLM does not magically know your files, databases or APIs. This practical continuation of the RAG series shows, with simple Python, how external data becomes retrievable evidence: from text files and SQL to full-text search, embeddings, context assembly and the final LLM call.
What Is RAG? The Simplest Explanation of How It Works

What Is RAG? The Simplest Explanation of How It Works

RAG sounds complicated, but the idea is simple: before an AI answers, it first looks up useful information from a knowledge source and gives that information to the language model. This guide explains RAG, LLMs, state, memory and tools using one simple mental model.