airflow.providers.common.ai.example_dags.example_llm_file_analysis

Example DAGs demonstrating LLMFileAnalysisOperator usage.

Classes

FileAnalysisSummary

Structured output schema for the file-analysis examples.

Functions

example_llm_file_analysis_basic()

example_llm_file_analysis_prefix()

example_llm_file_analysis_multimodal()

example_llm_file_analysis_structured()

example_llm_file_analysis_decorator()

Module Contents

class airflow.providers.common.ai.example_dags.example_llm_file_analysis.FileAnalysisSummary(/, **data)[source]

Bases: pydantic.BaseModel

Structured output schema for the file-analysis examples.

findings: list[str][source]
highest_severity: str[source]
truncated_inputs: bool[source]
airflow.providers.common.ai.example_dags.example_llm_file_analysis.example_llm_file_analysis_basic()[source]
airflow.providers.common.ai.example_dags.example_llm_file_analysis.example_llm_file_analysis_prefix()[source]
airflow.providers.common.ai.example_dags.example_llm_file_analysis.example_llm_file_analysis_multimodal()[source]
airflow.providers.common.ai.example_dags.example_llm_file_analysis.example_llm_file_analysis_structured()[source]
airflow.providers.common.ai.example_dags.example_llm_file_analysis.example_llm_file_analysis_decorator()[source]

Was this entry helpful?