Back to prompt library
FastHTML & Instructor Integration Setup
Linked challenge: Build an Automated Insurance Claims Fraud Agent with FastHTML and Instructor
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Write a FastHTML route handler that receives a claim form submission, calls an `instructor.patch(OpenAI())` agent to return a `ClaimTriage` model, and renders the result HTML card.