Skip to content

Document the common-ai LangChain and LlamaIndex connection types - #71818

Merged
Lee-W merged 1 commit into
apache:mainfrom
astronomer:docs-common-ai-framework-connections
Aug 19, 2026
Merged

Lee-W merged 1 commit into
apache:mainfrom
astronomer:docs-common-ai-framework-connections

Conversation

@Lee-W

@Lee-W Lee-W commented Aug 19, 2026

Copy link
Copy Markdown
Member

Both connection types ship with the provider and both have a hook page, but neither had a page describing how to configure the connection they read, so the fields and the model-string format could only be found in the source. The pages also record where the hooks stop being generic: LangChainHook only forwards OpenAI-compatible credentials, and LlamaIndexHook builds OpenAI clients that reject any model name outside LlamaIndex's own OpenAI model lists, whichever host the connection points at.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: [Claude] following the guidelines


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {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.

Both connection types ship with the provider and both have a hook page,
but neither had a page describing how to configure the connection they
read, so the fields and the model-string format could only be found in
the source. The pages also record where the hooks stop being generic:
LangChainHook only forwards OpenAI-compatible credentials, and
LlamaIndexHook builds OpenAI clients that reject any model name outside
LlamaIndex's own OpenAI model lists, whichever host the connection
points at.
@Lee-W
Lee-W merged commit f1f02f9 into apache:main Aug 19, 2026
70 checks passed
@Lee-W
Lee-W deleted the docs-common-ai-framework-connections branch August 19, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants