Fix: Update imports to resolve ModuleNotFoundError for 'langchain.docstore' #4765#4872
Open
Yugsolanki wants to merge 53 commits intoPaddlePaddle:developfrom
Open
Fix: Update imports to resolve ModuleNotFoundError for 'langchain.docstore' #4765#4872Yugsolanki wants to merge 53 commits intoPaddlePaddle:developfrom
Yugsolanki wants to merge 53 commits intoPaddlePaddle:developfrom
Conversation
* 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
* 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
|
Thanks for your contribution! |
|
Thanks for your contribution! |
Collaborator
|
Please clean up/squash your commits, the commit history is too messy right now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request addresses the
ModuleNotFoundError: No module named 'langchain.docstore'error that was occurring in theBaseRetrieverclass. The imports have been reviewed and updated to ensure compatibility with the current structure of thelangchainlibrary.Changes Made
langchain.langchainlibrary.I've merged my changes into develop on my fork and opened this PR against develop as requested. Thanks!
Related Issues