AI & MLCapstone: Build a Chat-With-Your-Notes AI AppCapstone project: build a 'chat with your notes' AI app in Python with RAG, retrieval, and citations end to end, then where to go next.Jun 22, 2026·12 min
AI & MLLLM Apps: Tokens, Cost, Latency and SafetyTokens, cost, latency, and safety for LLM apps: count tokens, estimate cost, retry with backoff, and defend against prompt injection.Jun 22, 2026·10 min
AI & MLBuild a Simple AI Agent in PythonBuild a simple AI agent in Python: the think-act-observe loop, tool use, and memory, so the model can take steps, not just answer once.Jun 21, 2026·10 min
AI & MLRAG: Chat With Your Own Documents in PythonBuild retrieval-augmented generation in Python: chunk, embed, retrieve, and ground an LLM's answers in your own documents with a working mini-RAG.Jun 21, 2026·10 min
AI & MLEmbeddings and Semantic Search, ExplainedEmbeddings turn text into vectors so you can search by meaning. Learn cosine similarity and build semantic search in Python, with a live explorer.Jun 20, 2026·7 min
AI & MLTool Calling: Let the LLM Use Your FunctionsLet an LLM call your Python functions with tool calling: define tools, run the call loop, and feed results back so the model can finish the job.Jun 20, 2026·8 min
AI & MLControl LLM Output: Temperature, Tokens, StreamingControl LLM output in Python: temperature, top_p, max_tokens, stop sequences, and streaming responses token by token, with an interactive demo.Jun 19, 2026·9 min
AI & MLGet Structured JSON Output You Can TrustGet structured JSON out of an LLM reliably: JSON mode, a Pydantic schema, validation, and retries, so your code can trust the model's output.Jun 19, 2026·8 min
AI & MLPrompts and the Message Format, ExplainedHow LLM prompts really work: the messages array, system/user/assistant roles, and keeping multi-turn conversation state in Python.Jun 18, 2026·8 min
AI & MLPrompt Engineering That Actually WorksPractical prompt engineering for developers: be specific, use few-shot examples, fix the format, and dodge the failure modes that waste tokens.Jun 18, 2026·10 min
AI & MLMake Your First LLM API Call in PythonMake your first LLM API call in Python using the OpenAI-compatible SDK. Set up a client, keep your key safe, and get a real model response.Jun 17, 2026·7 min
AI & MLTurboQuant: How Google Shrinks the LLM KV Cache 6×Google's TurboQuant squeezes an LLM's KV cache to about 3 bits per value with near-zero quality loss. Here's the rotation-plus-one-bit trick, decoded.Jun 17, 2026·10 min
AI & MLWhat an LLM Actually Is (and What It Isn't)What a large language model really is: next-token prediction, tokens, training vs inference, and what LLMs are good and bad at, with a live demo.Jun 17, 2026·10 min