Add quick start guide to common.ai provider docs#69552
Merged
Merged
Conversation
Lee-W
force-pushed
the
common-ai-quickstart
branch
2 times, most recently
from
July 8, 2026 04:38
15fd4a0 to
9909c3d
Compare
Lee-W
marked this pull request as ready for review
July 8, 2026 04:43
Lee-W
force-pushed
the
common-ai-quickstart
branch
2 times, most recently
from
July 8, 2026 08:51
400b379 to
5f2c126
Compare
kaxil
reviewed
Jul 8, 2026
Lee-W
force-pushed
the
common-ai-quickstart
branch
from
July 9, 2026 07:33
5f2c126 to
35d68d4
Compare
Member
Author
Member
Author
Lee-W
force-pushed
the
common-ai-quickstart
branch
2 times, most recently
from
July 10, 2026 11:12
50a241b to
c62ca49
Compare
New docs/quickstart.rst walks a new user from install through the Pydantic AI connection to a first @task.llm Dag, linking into the existing guides; wired as the first Guides toctree entry.
The install step omitted the model SDK extra, so following the guide as written raised ImportError on the quickstart's own example. The connection example also double-encoded the extra field as a JSON string instead of the nested object Connection.from_json already accepts. Also clarifies the opener and adds a prerequisites note.
The quickstart's runnable Dag was inline code-block, so it wasn't covered by the example-dag import test and duplicated the howto_decorator_llm block in example_llm.py. Move it to example_quickstart.py (using airflow.sdk directly, since this provider requires Airflow 3.0+) and reference it from the doc via exampleinclude, so it stays in sync with what actually runs.
Only the model-SDK extras (openai/anthropic/google/bedrock) are worth calling out in the quickstart's install step; point readers to the provider's full extras table in index.rst instead of duplicating it, since that table already stays in sync with pyproject.toml at release time.
pydantic-ai supports more model providers than the four extras the docs call out, each under its own extra name; point readers at the upstream slim-install list so they can find the one matching their provider.
Lee-W
force-pushed
the
common-ai-quickstart
branch
from
July 13, 2026 01:09
c62ca49 to
8cc3e90
Compare
gopidesupavan
approved these changes
Jul 13, 2026
joshuabvarghese
pushed a commit
to joshuabvarghese/airflow
that referenced
this pull request
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Why
The
common.aiprovider has reference docs (connections, hooks, operators) but no single entry point that guides a new user from installation to their first running LLM task. This adds that on-ramp so someone landing on the provider docs has an obvious first page to follow.What
providers/common/ai/docs/quickstart.rst— a three-step guide:pydanticaiconn type,provider:modelformat, API key in the password field)
@task.llmDag and run it withairflow dags testoutput_typewith a PydanticBaseModel) briefly,deferring the full example to the existing
howto/operator:llmguide.agent guide, and observability.
Was generative AI tooling used to co-author this PR?
Generated-by: [Claude] following the guidelines
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.