[PR #3442] [CLOSED] docs: replace deprecated RetrievalQA with LCEL in bedrock retriever #3492

Closed
opened 2026-06-05 18:23:17 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3442
Author: @hema625
Created: 4/4/2026
Status: Closed

Base: mainHead: docs/fix-retrievalqa-bedrock-3427


📝 Commits (1)

  • 9f746d5 docs: replace deprecated RetrievalQA with LCEL in bedrock retriever

📊 Changes

1 file changed (+12 additions, -5 deletions)

View changed files

📝 src/oss/python/integrations/retrievers/bedrock.mdx (+12 -5)

📄 Description

Overview

Replaces deprecated RetrievalQA.from_chain_type() with the modern LCEL pattern using create_retrieval_chain in the Bedrock retriever integration page(lines 60-74).

Type of change

Update existing documentation

Related issues/PRs

  • GitHub issue: Closes #3427
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • I have read the contributing guidelines, including the language policy
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed

(Internal team members only / optional): Create a preview deployment as necessary using the Create Preview Branch workflow

Additional notes

This replaces the deprecated RetrievalQA.from_chain_type() pattern (from langchain_classic) with the modern LCEL equivalent using create_retrieval_chain + create_stuff_documents_chain, consistent
with LangChain v1.0 migration guidelines.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3442 **Author:** [@hema625](https://github.com/hema625) **Created:** 4/4/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs/fix-retrievalqa-bedrock-3427` --- ### 📝 Commits (1) - [`9f746d5`](https://github.com/langchain-ai/docs/commit/9f746d5d1817f7115e62bc1af1442e17028c5612) docs: replace deprecated RetrievalQA with LCEL in bedrock retriever ### 📊 Changes **1 file changed** (+12 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/python/integrations/retrievers/bedrock.mdx` (+12 -5) </details> ### 📄 Description ## Overview Replaces deprecated `RetrievalQA.from_chain_type()` with the modern LCEL pattern using `create_retrieval_chain` in the Bedrock retriever integration page(lines 60-74). ## Type of change Update existing documentation ## Related issues/PRs <!-- Link to related issues, feature PRs, or discussions (if applicable) To automatically close an issue when this PR is merged, use closing keywords: - "closes #123" or "fixes #123" or "resolves #123" For regular references without auto-closing, just use: - "#123" or "See issue #123" Examples: - closes #456 (will auto-close issue #456 when PR is merged) - See #789 for context (will reference but not auto-close issue #789) --> - GitHub issue: Closes #3427 - Feature PR: <!-- For LangChain employees, if applicable: --> - Linear issue: - Slack thread: ## Checklist <!-- Put an 'x' in all boxes that apply --> - [x] I have read the [contributing guidelines](README.md), including the [language policy](https://docs.langchain.com/oss/python/contributing/overview#language-policy) - [ ] I have tested my changes locally using `docs dev` - [ ] All code examples have been tested and work correctly - [x] I have used **root relative** paths for internal links - [x] I have updated navigation in `src/docs.json` if needed (Internal team members only / optional): Create a preview deployment as necessary using the [Create Preview Branch workflow](https://github.com/langchain-ai/docs/actions/workflows/create-preview-branch.yml) ## Additional notes This replaces the deprecated `RetrievalQA.from_chain_type()` pattern (from `langchain_classic`) with the modern LCEL equivalent using `create_retrieval_chain` + `create_stuff_documents_chain`, consistent with LangChain v1.0 migration guidelines. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:23:17 -04:00
yindo closed this issue 2026-06-05 18:23:17 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3492