airflow.providers.common.ai.exceptions

Exceptions

HITLMaxIterationsError

Raised when the HITL review loop exhausts max iterations without approval or rejection.

LLMFileAnalysisError

Base class for file-analysis validation errors.

LLMFileAnalysisUnsupportedFormatError

Raised when a file format is not supported by LLM file analysis.

LLMFileAnalysisLimitExceededError

Raised when file-analysis safety limits are exceeded.

LLMFileAnalysisMultimodalRequiredError

Raised when image/PDF inputs are used without multi_modal=True.

Module Contents

exception airflow.providers.common.ai.exceptions.HITLMaxIterationsError[source]

Bases: airflow.providers.common.compat.sdk.AirflowException

Raised when the HITL review loop exhausts max iterations without approval or rejection.

exception airflow.providers.common.ai.exceptions.LLMFileAnalysisError[source]

Bases: ValueError

Base class for file-analysis validation errors.

exception airflow.providers.common.ai.exceptions.LLMFileAnalysisUnsupportedFormatError[source]

Bases: LLMFileAnalysisError

Raised when a file format is not supported by LLM file analysis.

exception airflow.providers.common.ai.exceptions.LLMFileAnalysisLimitExceededError[source]

Bases: LLMFileAnalysisError

Raised when file-analysis safety limits are exceeded.

exception airflow.providers.common.ai.exceptions.LLMFileAnalysisMultimodalRequiredError[source]

Bases: LLMFileAnalysisUnsupportedFormatError

Raised when image/PDF inputs are used without multi_modal=True.

Was this entry helpful?