airflow.providers.common.ai.plugins.hitl_review

Attributes

log

SessionDep

MapIndexDep

hitl_review_app

Classes

HITLReviewPlugin

Register the HITL Review REST API + chat UI on the Airflow API server.

Functions

health()

Liveness check.

find_session(db, dag_id, task_id, run_id, map_index)

Find the feedback session for a specific task instance.

submit_feedback(body, db, dag_id, task_id, run_id, ...)

Request changes — provide human feedback for the LLM.

approve_session(db, dag_id, task_id, run_id, map_index)

Approve the current output.

reject_session(db, dag_id, task_id, run_id, map_index)

Reject the output.

Module Contents

airflow.providers.common.ai.plugins.hitl_review.log[source]
airflow.providers.common.ai.plugins.hitl_review.SessionDep[source]
airflow.providers.common.ai.plugins.hitl_review.MapIndexDep[source]
airflow.providers.common.ai.plugins.hitl_review.hitl_review_app[source]
async airflow.providers.common.ai.plugins.hitl_review.health()[source]

Liveness check.

async airflow.providers.common.ai.plugins.hitl_review.find_session(db, dag_id, task_id, run_id, map_index)[source]

Find the feedback session for a specific task instance.

async airflow.providers.common.ai.plugins.hitl_review.submit_feedback(body, db, dag_id, task_id, run_id, map_index)[source]

Request changes — provide human feedback for the LLM.

async airflow.providers.common.ai.plugins.hitl_review.approve_session(db, dag_id, task_id, run_id, map_index)[source]

Approve the current output.

async airflow.providers.common.ai.plugins.hitl_review.reject_session(db, dag_id, task_id, run_id, map_index)[source]

Reject the output.

class airflow.providers.common.ai.plugins.hitl_review.HITLReviewPlugin[source]

Bases: airflow.plugins_manager.AirflowPlugin

Register the HITL Review REST API + chat UI on the Airflow API server.

name = 'hitl_review'[source]
fastapi_apps[source]
react_apps[source]

Was this entry helpful?