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.
Это упражнение является частью курса
Building Data Pipelines with Airflow
Практическое интерактивное упражнение
Превратите теорию в практику с помощью одного из наших интерактивных упражнений
Начать упражнение