Skip to content

Conversation

@Yugsolanki
Copy link

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.

I've merged my changes into develop on my fork and opened this PR against develop as requested. Thanks!

Related Issues

Bobholamovic and others added 30 commits October 16, 2025 05:47
* Rename files and classes

* Fix doc

* Fix bug
* fix PaddleOCR-VL name - local

* fix
* add PP-DocLayoutV2 in official models

* support concatenate_markdown_pages
…addlePaddle#4649)

* Fix unboundlocalerror (PaddlePaddle#4641)

* Add PP-DocLayoutV2 to HPI info (PaddlePaddle#4643)

* [Docs] Add missing param (PaddlePaddle#4648)

* Add missing param

* Remove unused extra
zhang-prog and others added 22 commits October 27, 2025 19:24
* update for new chat_template

* adapt to the old chat_template

* fix
…ddle#4679)

* update docs

* compatible with python3.9

* support print parsing_res_list

* mv crop formula from gen_ai_client to pipeline
…e#4680)

* Add genai-vllm-server Dockerfile and build script

* Add lower bound for paddlex version

* Set paddleocr lower version to 3.3.5
* Fix bugs

* Optimize
* Support vLLM deployment on DCUs

* Fix

* Fix DCU check
* HPI allow untested Paddle versions for safe mode and update paddle version in HPS

* Update deps

* Limit CC>=8.0 for SDPA
@Yugsolanki Yugsolanki changed the title Fix: Update imports to resolve ModuleNotFoundError for 'langchain.docstore' #4766 Fix: Update imports to resolve ModuleNotFoundError for 'langchain.docstore' #4765 Dec 30, 2025
@paddle-bot
Copy link

paddle-bot bot commented Dec 30, 2025

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Dec 30, 2025
@paddle-bot
Copy link

paddle-bot bot commented Dec 30, 2025

Thanks for your contribution!

@luotao1
Copy link
Collaborator

luotao1 commented Dec 31, 2025

Please clean up/squash your commits, the commit history is too messy right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants