mirror of
https://github.com/apache/airflow.git
synced 2026-11-04 07:12:48 +00:00
General-purpose LLM operator and TaskFlow decorator for prompt-based tasks (summarization, extraction, classification, structured output). The operator wraps PydanticAIHook.create_agent() with support for structured output via Pydantic BaseModel and pass-through agent_params for pydantic-ai Agent configuration (retries, model_settings, tools). Adds the "ai" tag to provider.yaml.schema.json for docs grouping. Co-authored-by: GPK <gopidesupavan@gmail.com> * Fix mypy and provider.yaml validation CI failures - Add type annotation for `agent` variable (mypy var-annotated) - Add `how-to-guide` to provider.yaml for llm.rst doc * Add 'llm' to spelling wordlist Auto-generated doc index files for example DAGs contain 'llm' in plain text where backtick quoting is not possible. --------- Co-authored-by: GPK <gopidesupavan@gmail.com>