airflow.providers.common.ai.example_dags.example_pydantic_ai_hook

Example DAGs demonstrating PydanticAIHook and direct pydantic-ai Agent usage.

Functions

example_pydantic_ai_hook()

example_pydantic_ai_structured_output()

example_task_with_toolsets()

Use toolsets directly in a @task function without AgentOperator.

Module Contents

airflow.providers.common.ai.example_dags.example_pydantic_ai_hook.example_pydantic_ai_hook()[source]
airflow.providers.common.ai.example_dags.example_pydantic_ai_hook.example_pydantic_ai_structured_output()[source]
airflow.providers.common.ai.example_dags.example_pydantic_ai_hook.example_task_with_toolsets()[source]

Use toolsets directly in a @task function without AgentOperator.

Was this entry helpful?