airflow.providers.common.ai.exceptions¶
Exceptions¶
Raised when the HITL review loop exhausts max iterations without approval or rejection. |
|
Base class for file-analysis validation errors. |
|
Raised when a file format is not supported by LLM file analysis. |
|
Raised when file-analysis safety limits are exceeded. |
|
Raised when image/PDF inputs are used without |
Module Contents¶
- exception airflow.providers.common.ai.exceptions.HITLMaxIterationsError[source]¶
Bases:
airflow.providers.common.compat.sdk.AirflowExceptionRaised when the HITL review loop exhausts max iterations without approval or rejection.
- exception airflow.providers.common.ai.exceptions.LLMFileAnalysisError[source]¶
Bases:
ValueErrorBase class for file-analysis validation errors.
- exception airflow.providers.common.ai.exceptions.LLMFileAnalysisUnsupportedFormatError[source]¶
Bases:
LLMFileAnalysisErrorRaised when a file format is not supported by LLM file analysis.
- exception airflow.providers.common.ai.exceptions.LLMFileAnalysisLimitExceededError[source]¶
Bases:
LLMFileAnalysisErrorRaised when file-analysis safety limits are exceeded.
- exception airflow.providers.common.ai.exceptions.LLMFileAnalysisMultimodalRequiredError[source]¶
Bases:
LLMFileAnalysisUnsupportedFormatErrorRaised when image/PDF inputs are used without
multi_modal=True.