Back to prompt library
Define Pydantic Schemas
Linked challenge: Orchestrate a CrewAI Industrial Feasibility Squad with Pydantic AI for GCC Green Iron Projects
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Define two Pydantic classes: `ProjectImpact` (with fields for carbon_footprint, water_usage, and local_jobs) and `FeasibilityReport` (which aggregates `ProjectImpact` and a list of `Risks`).