Back to prompt library
Declare Pydantic AI Agent
Linked challenge: Actuarial Climate Risk Scoring Agent with Pydantic AI and Type Safety
Prompt source
planning1 lines1 sectionsNo variables0 checklist items
Define a Pydantic AI `Agent` specifying a Pydantic response model `ActuarialRiskReport` with fields for asset_id, annualized_expected_loss, and risk_tier.