47% OFFYearly Pro
$30/mo$16/mobilled yearlyGet Pro
Topic

Pydantic

Explore our latest articles and insights about Pydantic.

Explore posts

7 posts in total

LLM Engineering

Pydantic output structuring for RAG agent plans

How to use Pydantic models to force your RAG planner LLM to return structured steps. The schema, the retry loop, and why plain JSON prompts break in production.

RAGPydantic+3
Read post
8 min
AI Engineering in Practice

Production env variable parsing in Python AI services

How to parse environment variables in Python AI services without os.environ.get footguns. Pydantic Settings, type coercion, and the validation layer.

PythonProduction AI+3
Read post
9 min
AI Engineering in Practice

API schemas: separating db models from API responses

Why exposing DB models as API responses leaks sensitive fields. The Pydantic separation pattern, the 3 schema layers, and the safe FastAPI response.

AI AgentsAPI Development+3
Read post
10 min
AI Engineering in Practice

SQLModel for agentic AI: beyond JSON blob storage

How SQLModel gives agentic AI systems type-safe structured storage. The end of JSON blob columns, the Pydantic bridge, and the 50-line pattern.

AI AgentsPython+3
Read post
10 min
LLM Engineering

JSON output parsing for RAG: grounding with Pydantic

How JSON output parsing grounds RAG answers in retrieved context. The Pydantic schema, the prompt, and the validation that kills hallucinations.

RAGStructured Output+3
Read post
11 min
AI Engineering

Giving your LLM hands: a deep dive on tool calling

How giving works in production. Learn how to build agents that can interact with the real world using tool calling. Step-by-step guide to implementing func

AI AgentsTool Calling+3
Read post
8 min
AI Engineering

Structured output: making LLMs application-ready

Learn how to get reliable, structured outputs from LLMs using JSON mode and Pydantic tool calling. Transform LLMs from text generators into application-...

LLMPydantic+1
Read post
8 min

Weekly Bytes of AI

Technical deep-dives for engineers building production AI systems.

Architecture patterns, system design, cost optimization, and real-world case studies. No fluff, just engineering insights.

Unsubscribe anytime. We respect your inbox.