Skip to content

docs(azure_ai): add use_responses_api to AzureAIOpenAIApiChatModel - #8157

Merged
Naomi Pentrel (npentrel) merged 3 commits into
langchain-ai:mainfrom
Wixee:update-comment
Nov 27, 2026
Merged

Naomi Pentrel (npentrel) merged 3 commits into
langchain-ai:mainfrom
Wixee:update-comment

Conversation

@Wixee

Copy link
Copy Markdown
Contributor

Why

The AzureAIOpenAIApiChatModel quickstart snippet in the Azure AI provider page did not show how to choose between the Responses API and the Chat Completions API. Adding use_responses_api with a brief inline comment clarifies that True (the default with a project endpoint) uses the Responses API while False uses the Chat Completions API.

Changes

  • src/oss/python/integrations/providers/azure_ai.mdx: Add use_responses_api=True with an inline comment explaining True (default, Responses API) vs False (Chat Completions API) in the AzureAIOpenAIApiChatModel example.

Review notes

  • make lint_prose was not run locally because Vale is not installed in the local Windows environment; CI prose linting will verify the change.

Checklist

  • I read the contributing guidelines, including the language policy
  • I checked the rendered pages locally with docs dev or on the preview deployment
  • I ran every changed code example, or none changed
  • make lint_prose passes on the changed files
  • make broken-links-with-anchors passes, or no links, pages, or navigation changed
  • I updated src/docs.json navigation and redirects, or no page was added, moved, or removed

Prepared with Copilot.

@github-actions github-actions Bot added integration For docs updates for LangChain integrations langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects external User is not a member of langchain-ai labels Nov 27, 2026

@npentrel Naomi Pentrel (npentrel) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@npentrel
Naomi Pentrel (npentrel) merged commit 96272fb into langchain-ai:main Nov 27, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external User is not a member of langchain-ai integration For docs updates for LangChain integrations langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants