Temperature, Top-p & Top-k in LLMs Explained (Python)
Master LLM temperature, top-k, and top-p with interactive Python simulations. Runnable code, exercises, and a sampling playground to build real intuition.
Master LLM temperature, top-k, and top-p with interactive Python simulations. Runnable code, exercises, and a sampling playground to build real intuition.
Build a working BPE tokenizer in Python, learn how text becomes tokens, and use tiktoken to count tokens and estimate LLM API costs across...
Learn to call OpenAI, Claude, and Gemini APIs from Python in 15 minutes. Includes code examples, error handling, streaming, and a unified wrapper.
Build a LangGraph agent that reads PDFs, images, and text, cross-checks facts across sources, and writes a clean JSON report — with full code...
Learn to build a LangGraph pipeline that scrapes websites on its own, pulls structured data, handles pagination and errors, and writes analytical reports.
Build a multi-agent research pipeline in LangGraph with planner, researcher, writer, and reviewer agents that turn any topic into a polished report.
Build a full-stack AI app from scratch with FastAPI and LangGraph — streaming responses, saved chats, API key auth, and a live chat frontend...
Step-by-step guide to building a LangGraph agent that writes Python code, runs it safely, checks the output, and self-corrects until it works.
Deploy LangGraph agents as scalable APIs with LangGraph Server — step-by-step guide covering SDK setup, streaming, background runs, and cloud hosting.
Step-by-step guide to building a LangGraph SQL agent that turns plain English into SQL, runs queries, retries on errors, and explains results clearly.
Build a RAG agent in LangGraph that routes questions, grades documents, detects hallucinations, and rewrites queries when results are poor. Full code included.
Learn how to run LangGraph branches in parallel using the Send API and map-reduce pattern to process multiple items at once and merge results...
Add real-time streaming to your LangGraph agents — pick the right stream mode, show tokens as they arrive, and build chat UIs that feel...
Master LangGraph cycles and recursion limits — stop runaway agents, handle GraphRecursionError, and build clean exit strategies for your loops.
Build multi-agent AI systems in LangGraph using supervisor, swarm, and network patterns — with full code for each and a guide to choosing the...
Save and resume LangGraph agent state with checkpointers so your conversations survive crashes, restarts, and long breaks between sessions.
Start using the OpenAI API Python SDK today. Build your first LLM-powered app with runnable code for chat completions, streaming, and token management.
Learn to build a ReAct agent from scratch in LangGraph with this hands-on guide — wire the think-act-observe loop, add tools, and debug agent...
Build LangGraph workflows that branch at runtime using conditional edges and routing functions. Route by LLM output, user input, or custom logic with examples.
Complete your LangGraph installation setup in minutes, then build and run your first StateGraph that calls an LLM and returns a response.
Get the exact 10-course programming foundation that Data Science professionals use.