Back to prompt library
Pydantic AI Model Definition
Linked challenge: Green Hydrogen Feasibility Assessor with Pydantic AI & Edge Impulse
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Define a Pydantic model `FeasibilityResult` with fields `lcoh_usd_kg: float`, `recommendation: Literal['PROCEED','SHELVE','RENEGOTIATE_POWER']`. Instantiate a `pydantic-ai` `Agent` with this result type.