“structured-output”
Tax Season Automation: Agents That Prep and Review Returns
Build a Gemini API pipeline that ingests W-2 and 1099 PDFs, extracts structured fields, drafts a return summary, and runs an independent review pass that flags inconsistencies.
Building an E-Commerce Cart Agent with Structured Tool Outputs
Cart tools that return free text push JSON parsing into your agent prompt. Build a Pydantic AI cart agent where add, update, remove, price, and checkout-prepare each return a validated Pydantic model, with recoverable validation errors and TestModel tests.
Insurance Claims Triage Agents with Structured Classification
Build an intake agent that classifies claims with Pydantic schemas, verifiable evidence, confidence-based escalation, evals, and a full audit trail.
Function Calling and Structured Output for On-Device Agents with Gemma 4
Make on-device agents reliable with Gemma 4 function calling and constrained decoding. Learn structured output patterns, parse-error fallbacks, and how to build a trustworthy tool-calling loop with LiteRT-LM.
Image Generation APIs and Structured Prompts
Turn image generation from a coin flip into a repeatable pipeline. Structure your prompt, set aspect ratio and size, ground with search, and wire it into code with Gemini image models.