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.
Questo esercizio fa parte del corso
Building Data Pipelines with Airflow
esercizio interattivo pratico
Trasforma la teoria in pratica con uno dei nostri esercizi interattivi
Inizia esercizio