Tutorials
Newest first · 31 to 60 of 461
- Generative AI and NLPGPT vs Claude vs Gemini: Python Benchmark (2026)Build a Python benchmarking harness to compare GPT-4o, Claude, Gemini, and Llama on quality, latency, and cost with LLM-as-judge and radar charts.
- Generative AI and NLPLLM Evaluation: Build an LLM-as-Judge PipelineBuild an LLM evaluation pipeline in Python with LLM-as-judge scoring, rubric design, A/B testing, and regression alerts. Runnable code examples included.
- Generative AI and NLPBuild an LLM Benchmarking Platform (Python Project)Build an LLM benchmarking platform in Python from scratch. Define test suites, compare providers with raw HTTP, score with LLM-as-judge, and generate reports with confidence intervals.
- Generative AI and NLPLLM API Pricing Guide: Compare & Optimize CostsLearn to count LLM tokens with tiktoken, compare API pricing across OpenAI, Claude, and Gemini (March 2026), and cut costs by 90% with 10 proven strategies and code.
- Generative AI and NLPOpenAI, Claude & Gemini API Tutorial in Python (2026)Learn to call OpenAI, Claude, and Gemini APIs from Python in 15 minutes. Includes code examples, error handling, streaming, and a unified wrapper.
- Generative AI and NLPKV Cache Explained: Build a Cache Manager in PythonLearn how KV caching works in LLMs, calculate VRAM usage for real models, and build a PagedAttention-style cache manager with token eviction in pure Python.
- Generative AI and NLPGroq vs Fireworks vs Together AI: Speed BenchmarkBuild a Python benchmark harness comparing Groq, Fireworks, Together AI, and Replicate on latency, throughput, and cost with runnable code.
- Generative AI and NLPHugging Face Inference API Tutorial in PythonMaster Hugging Face inference in 20 minutes. Run LLMs locally with Pipeline API or serverless via HTTP, with Python examples you can copy and run.
- Generative AI and NLPGemini API Tutorial: Multimodal AI in PythonBuild a multimodal document analyzer with the Google Gemini API in Python. Analyze images, PDFs, and text with structured JSON output, using raw HTTP requests.
- Generative AI and NLPLLM Context Windows Explained: Token Budget GuideLearn how LLM context windows work, count tokens with tiktoken, estimate API costs, and build a Python token budget manager that allocates context across system prompts, examples, and input.
- Generative AI and NLPConstitutional AI: Build a Self-Critique Loop (Python)Build a Constitutional AI safety loop in Python. Generate, critique, and revise LLM responses with raw API calls, no fine-tuning needed.
- Generative AI and NLPHow LLM Tokenization Works: Build a BPE TokenizerBuild a working BPE tokenizer in Python, learn how text becomes tokens, and use tiktoken to count tokens and estimate LLM API costs across providers.
- Generative AI and NLPClaude API Tutorial: Messages, Tools & StreamingMaster the Claude API with raw HTTP, messages, streaming, tool use, extended thinking, and prompt caching with runnable Python code examples.
- Practice exercises101 Pandas Exercises for Data Analysis (Interactive)101 interactive pandas exercises with solutions. Edit and run every code block directly in your browser, no installation needed.
- Generative AI and NLPWhat Is LangGraph? How It Works and When to Use ItDiscover what is LangGraph, how it compares to LangChain, and when graph-based orchestration is the right choice for building reliable AI agents.
- Generative AI and NLPPrompt Engineering Fundamentals, Reliable LLM OutputsApply prompt engineering fundamentals, zero-shot, few-shot, chain-of-thought, and structured output, to get consistent, reliable results from any LLM.
- Generative AI and NLPLangGraph Tool Calling: Build Agents That Take ActionBuild LangGraph agents that call tools with @tool, bind_tools, and ToolNode. Step-by-step examples for web search, database queries, and API calls in Python.
- Generative AI and NLPLangGraph Subgraphs: Compose Reusable WorkflowsLearn how to build modular LangGraph apps with subgraphs you can develop, test, and reuse across projects, with full code examples and patterns.
- Generative AI and NLPLangGraph Structured Output & Self-Correcting AgentsBuild LangGraph agents that return validated, typed data using Pydantic models, with automatic retry loops that self-correct on validation failures.
- Generative AI and NLPLangGraph Streaming: Real-Time Agent Output GuideAdd real-time streaming to your LangGraph agents, pick the right stream mode, show tokens as they arrive, and build chat UIs that feel instant.
- Generative AI and NLPLangGraph State Management: TypedDict & ReducersMaster LangGraph state management with TypedDict schemas, reducer functions, and add_messages. Learn how nodes share data, merge updates, and track message history.
- Generative AI and NLPLangGraph ReAct Agent: Build from ScratchLearn 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 cycles.
- Generative AI and NLPLangGraph RAG Agent: Self-Correcting Retrieval PipelineBuild a RAG agent in LangGraph that routes questions, grades documents, detects hallucinations, and rewrites queries when results are poor. Full code included.
- Generative AI and NLPLangGraph SQL Agent: Answer Business QuestionsStep-by-step guide to building a LangGraph SQL agent that turns plain English into SQL, runs queries, retries on errors, and explains results clearly.
- Generative AI and NLPLangGraph Multi-Agent Research Assistant ProjectBuild a multi-agent research pipeline in LangGraph with planner, researcher, writer, and reviewer agents that turn any topic into a polished report.
- Generative AI and NLPLangGraph + FastAPI: Build a Full-Stack AI AppBuild a full-stack AI app from scratch with FastAPI and LangGraph, streaming responses, saved chats, API key auth, and a live chat frontend in one project.
- Generative AI and NLPLangGraph Document Processing Agent: Multi-ModalBuild a LangGraph agent that reads PDFs, images, and text, cross-checks facts across sources, and writes a clean JSON report, with full code walkthrough.
- Generative AI and NLPLangGraph Customer Support Agent with EscalationLearn to build a LangGraph customer support agent that classifies queries, searches a knowledge base, escalates to humans, and logs every step.
- Generative AI and NLPLangGraph Web Scraping Agent: Autonomous PipelineLearn to build a LangGraph pipeline that scrapes websites on its own, pulls structured data, handles pagination and errors, and writes analytical reports.
- Generative AI and NLPLangGraph Platform: Deploy Agents as APIsDeploy LangGraph agents as scalable APIs with LangGraph Server, step-by-step guide covering SDK setup, streaming, background runs, and cloud hosting.