Collecting form input with HITLEntryOperator
Your team uses AI to draft customer support responses, but drafts should never go out without a human sign-off. A reviewer needs to add feedback and set an urgency level before the response is sent. The HITLEntryOperator pauses the pipeline mid-flight and presents a form, so downstream tasks only fire after the reviewer submits.
The code at the bottom simulates a human response, so the pipeline runs locally.
Deze oefening maakt deel uit van de cursus
Building Data Pipelines with Airflow
Interactieve oefening met praktijkervaring
Zet theorie om in actie met een van onze interactieve oefeningen
Begin oefening