PaddleX icon indicating copy to clipboard operation
PaddleX copied to clipboard

Fix: Update imports to resolve ModuleNotFoundError for 'langchain.docstore'

Open Yugsolanki opened this issue 1 month ago • 2 comments

Description

This pull request addresses the ModuleNotFoundError: No module named 'langchain.docstore' error that was occurring in the BaseRetriever class. The imports have been reviewed and updated to ensure compatibility with the current structure of the langchain library.

Changes Made

  • Updated import statements to reflect the correct modules from langchain.
  • Ensured that the code adheres to the latest version of the langchain library.

Related Issues

  • Resolves #4765

Yugsolanki avatar Nov 26 '25 14:11 Yugsolanki

Thanks for your contribution!

paddle-bot[bot] avatar Nov 26 '25 14:11 paddle-bot[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 26 '25 14:11 CLAassistant