|
| 1 | + .. Licensed to the Apache Software Foundation (ASF) under one |
| 2 | + or more contributor license agreements. See the NOTICE file |
| 3 | + distributed with this work for additional information |
| 4 | + regarding copyright ownership. The ASF licenses this file |
| 5 | + to you under the Apache License, Version 2.0 (the |
| 6 | + "License"); you may not use this file except in compliance |
| 7 | + with the License. You may obtain a copy of the License at |
| 8 | +
|
| 9 | + .. http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | + .. Unless required by applicable law or agreed to in writing, |
| 12 | + software distributed under the License is distributed on an |
| 13 | + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | + KIND, either express or implied. See the License for the |
| 15 | + specific language governing permissions and limitations |
| 16 | + under the License. |
| 17 | +
|
| 18 | +Supported services |
| 19 | +=================== |
| 20 | + |
| 21 | +``common.ai`` reaches external services on two axes: the model providers its connections |
| 22 | +talk to, and the systems its toolsets talk to. For per-model detail beyond the vendor level |
| 23 | +(exact model ids, pricing, capabilities), see `pydantic-ai's model list |
| 24 | +<https://ai.pydantic.dev/models/>`__. |
| 25 | + |
| 26 | +This page is the complete list of what this provider reaches; for a curated, install- and |
| 27 | +credential-oriented walkthrough of each model vendor, see :doc:`model_providers`. |
| 28 | + |
| 29 | +Connections |
| 30 | +----------- |
| 31 | + |
| 32 | +.. provider-connection-services:: apache-airflow-providers-common-ai |
| 33 | + |
| 34 | +Toolsets |
| 35 | +-------- |
| 36 | + |
| 37 | +.. list-table:: |
| 38 | + :header-rows: 1 |
| 39 | + :widths: 30 70 |
| 40 | + |
| 41 | + * - Toolset |
| 42 | + - External services |
| 43 | + * - :doc:`HookToolset <toolsets/hook>` |
| 44 | + - Any Airflow connection, through its provider hook |
| 45 | + * - :doc:`SQLToolset <toolsets/sql>` |
| 46 | + - Any common.sql database connection (with table allowlists and AST validation) |
| 47 | + * - :doc:`DataFusionToolset <toolsets/datafusion>` |
| 48 | + - Object storage (S3, local filesystem, Apache Iceberg) via Apache DataFusion |
| 49 | + * - :doc:`LoggingToolset <toolsets/logging>` |
| 50 | + - Airflow task logs |
| 51 | + * - :doc:`MCPToolset <toolsets/mcp>` |
| 52 | + - Any MCP server (user-supplied endpoint) |
| 53 | + * - :doc:`ObjectStorageToolset <toolsets/object_storage>` |
| 54 | + - Object storage (S3, GCS, Azure Blob Storage, or any store |
| 55 | + :class:`~airflow.sdk.ObjectStoragePath` can open), read-only |
| 56 | + * - :doc:`SandboxToolset <sandbox/index>` |
| 57 | + - Docker Sandboxes (the shipped sbx backend; other backends can be added via SandboxBackend) |
| 58 | + * - :doc:`AgentSkillsToolset <toolsets/skills>` |
| 59 | + - Agent skills from local paths and remote Git repositories |
| 60 | + * - :doc:`LangChain Bridge <toolsets/langchain>` |
| 61 | + - LangChain tools |
| 62 | + * - :doc:`Managed Agent Toolsets <toolsets/managed_agent>` |
| 63 | + - Snowflake Cortex Agents; Amazon Bedrock AgentCore; Azure AI Foundry; Vertex AI Agent Engine |
| 64 | + |
| 65 | +Notes |
| 66 | +----- |
| 67 | + |
| 68 | +* The ``langchain`` connection type's row above is limited to OpenAI-compatible credential |
| 69 | + surfaces (``api_key`` + optional ``base_url``); see :ref:`Supported providers |
| 70 | + <langchain-supported-providers>` for the providers that reject those kwargs and are not |
| 71 | + usable through it. |
| 72 | +* Azure OpenAI, Google Vertex AI, and AWS Bedrock are also reachable through the generic |
| 73 | + ``pydanticai`` connection type, but each has its own dedicated connection type |
| 74 | + (:doc:`connections/pydantic_ai_azure`, :doc:`connections/pydantic_ai_vertex`, |
| 75 | + :doc:`connections/pydantic_ai_bedrock`) for their non-standard auth. |
| 76 | +* Most model providers need an extra installed alongside ``apache-airflow-providers-common-ai`` |
| 77 | + — see the "Choosing extras" section of :doc:`installation`. |
| 78 | +* "Pydantic AI Gateway" in the ``pydanticai`` row is a routing layer, not an upstream vendor |
| 79 | + in its own right: set the connection's Model field to ``gateway/<vendor>:<model>`` (for |
| 80 | + example ``gateway/anthropic:claude-sonnet-5``) to send the request through it instead of |
| 81 | + directly to the vendor. It currently routes to Anthropic, AWS Bedrock, Google Gemini, |
| 82 | + Google Vertex AI, Groq, and OpenAI — all already listed above in their own right. |
0 commit comments