mirror of
https://github.com/langchain-ai/docs.git
synced 2026-08-25 11:40:08 -04:00
Closed
opened 2026-02-17 17:18:57 -05:00 by yindo
·
16 comments
No Branch/Tag Specified
main
preview-jdrall-1787669164-bfb56e9
jdr/allow-api-keys
prod
preview-docsal-1787659101-76221c1
preview-thread-1787625433-aa9e7c3
threads-in-datasets
open-swe/improve-managed-deepagents-middleware-docs
open-swe/improve-managed-tools-intro
preview-docsla-1787607039-ee93f3c
docs/landing-messaging-refresh
open-swe/prod-bulk-export-docs
open-swe/document-libs-code-managed-config
preview-docsde-1787600047-ab43d0d
docs/default-spend-header-buckets
cwlbraa/docs-encryption-reencryption
open-swe/dcode-extensions-docs
preview-cbmdad-1787587969-4f1f820
preview-thread-1787365109-1093dad
preview-thread-1787364748-6455528
preview-thread-1787362787-a1ec5d1
preview-thread-1787357739-ee47afd
preview-thread-1787356921-1953a6f
open-swe/mda-npx-init
preview-thread-1787272686-a676912
fjmorris/DOC-1555
preview-cbmdad-1787187747-e27c871
docs/align-platform-setup-cta-labels
preview-ramonn-1787143801-b124b10
ramonn/langdev-init-sdks-a27c80
preview-ramonn-1787143279-f06b52f
preview-thread-1787142629-662a7b8
docs/agent/restyle-mda-overview-diagram
docs/agent/polish-managed-deep-agents-diagram
docs/agent/mda-diagram-v2
restyle
preview-codexc-1787100601-3e8d015
codex/clarify-mda-context-hub
open-swe/context-hub-sync-docs
open-swe/add-managed-deep-agents-changelog
open-swe/remove-authored-tools
codex/mda-gateway-devex
docs/llm-gateway-wording-fix
preview-codexm-1786753082-ab11d65
codex/mda-omit-current-directory-path
open-swe/legacy-deployment-types-docs
docs/llms-txt-section-naming
preview-mdapro-1786724103-278f362
mda-proj-structure
add-opensolr-integration
preview-mdapro-1786652215-a07ecfe
preview-codexm-1786651229-e8bf9d2
docs/reorder-built-in-middleware-v2
preview-codexm-1786641475-3d78780
preview-mdapro-1786630054-106f622
open-swe/deepagents-to-managed-docs
preview-ENT152-1786589443-50babd9
ENT-1520-update-export-scripts-docs
preview-ENT152-1786589144-dc9a17c
preview-ENT152-1786589017-7080fc8
preview-ENT152-1786588799-69ab3dd
preview-codexm-1786577511-c573857
open-swe/fix-dockerfile-snapshot-example
preview-skillf-1786445617-9d49ab8
chore/update-package-downloads-20260811-083754
chore/update-package-downloads-20260811-082555
preview-arianl-1786399503-90f4782
arian/llm-gate-pi-notes
preview-crawle-1786384014-8925fcc
preview-crawle-1786383710-192e204
docs/remove-bold-task-queue
docs/add-reference-langchain-mcp-comprehensive
preview-cbmdap-1786309569-dad5047
docs/fix-vizient-case-study-link
preview-vicadd-1786134749-f4a84c0
vic/add-mda-connectors
docs/fix-mda-missing-redirects
preview-mda-1786127082-f848191
mda
preview-mda-1786126057-283149f
docs/expand-recommended-workflow-managed-deep-agents
docs/add-reference-outputs-example-llm-as-judge-sdk
preview-cbupda-1786123577-14eaf1d
preview-cbupda-1786123257-470ad6f
preview-david0-1786113424-c077e0b
david/08-07/preview-base-branch-docs
david/08-07/preview-builds-docs
docs/fix-typescript-in-python-middleware-docs
harrison/mda-overview-redo
preview-harris-1786029617-6b0a55e
preview-harris-1785993037-0995d94
preview-harris-1785990935-9acf558
preview-harris-1785987656-c93cae4
preview-harris-1785987016-71c9df3
preview-hunter-1785971320-738f14d
hunter/pii-match
open-swe/jkb-55-safe-git-urls
preview-bagatu-1785944051-3597f10
fjmorris/DOC-1403
preview-openwi-1785929049-3012569
preview-docsex-1785875405-9124609
docs/auto-classifier-timeout-config
preview-fixval-1785862134-632a0ce
chore/update-package-downloads-20260804-162405
preview-openwi-1785855004-ed4f8eb
docs/remove-sandbox-integration-criteria
preview-docsex-1785812079-fe36675
fjmorris/DOC-1471
preview-openwi-1785775932-2f18485
preview-openwi-1785775090-8d3de38
preview-openwi-1785774898-3d5dbf1
chore/update-package-downloads-20260803-002729
preview-docsex-1785553571-7cc3c36
llm-gateway-langchain-page
preview-docsfl-1785517192-d3bac52
preview-docspe-1785514675-240acb8
preview-addgoo-1785511476-ca25c3d
victoria/model-activation-date-copy
preview-mukild-1785443790-16574ae
preview-privat-1785426217-f0290c7
private-to-public-beta-gateway
preview-privat-1785418510-03247fe
emil/document-feedback-session-id-requirement-in-mg
preview-privat-1785412634-89b1294
open-swe/update-llm-gateway-provider-docs
docs/update-extended-retention-180-days
preview-privat-1785339463-040a7d2
preview-privat-1785338087-b3a5191
security/move-preview-source-branch-to-env
fix-link-checking
chore/sync-deepagents-signatures-20260729-095543
preview-cbmdac-1785296168-e67df75
cb/mda-cleanups
changelog-bot-update-30d9f1e0
quentin/lsdk-350-smithdb-migration-grammar-fixes
preview-linkfi-1785257438-1121b9a
link-fix-2807
docs/fix-ts-router-destination-type-errors
chore/sync-deepagents-signatures-20260727-102147
preview-codexp-1785103922-a3dc495
codex-prebuilt-evaluator-template-docs
docs/add-agentevals-install-to-openevals-page
preview-docsdc-1784841011-9449b82
govern-platform-setup
open-swe/clarify-trace-retention
mdrxy/dcode-eu
preview-cbmdac-1784740868-aaf4836
kiewan/remove-threads-stats-from-migration-guide
open-swe/gateway-dotenv-tab
chore/update-package-downloads-20260720-002310
marthajanicki-patch-2
preview-rafidf-1784156729-8f496fa
rafid/fleet-manual-oauth-providers
preview-banner-1784042257-24da6e1
ramon/llm-gateway-fallback-docs
chore/update-package-downloads-20260713-002220
docs/smithdb-runs-retrieve-not-found
open-swe/gateway-env-config
open-swe/ent-641-invite-rate-limits
preview-ENT122-1783590571-e3e66b2
ENT-1224-support-idp-migration-custom-oidc-docs
preview-ENT122-1783590043-8a20c20
mdrxy/docs/deepagents-code-uninstall
open-swe/document-issues-agent-categories
preview-docsja-1783484944-f86c4f0
docs/java-evaluate-function
preview-docsja-1783470579-e03df1a
preview-docsja-1783470257-3ea8c2c
preview-docsja-1783464834-ff12d22
preview-docsja-1783458563-d32e7e5
preview-docsja-1783458425-a4ccf93
changelog-bot-update-0b01bd83
docs/remove-langgraph-cloud-license-key-prerequisite
marthajanicki-patch-1-1
marthajanicki-patch-1
chore/sync-deepagents-signatures-20260707-101152
preview-docsja-1783351721-295b97a
chore/update-package-downloads-20260706-002551
changelog-bot-update-e439a118
docs/add-llm-gateway-pages-to-nav
naomi/doc-1157-improve-discoverability-of-deep-agents-deepagents-code-docs
open-swe/backend-agent-bootstrap-v15-docs
lauren/weekly-changelog-2026-06-28
quentin/api-rate-limits-docs
preview-docsdy-1782657543-018f79d
fjmorris/DOC-1303
remove-mda-api-docs
open-swe/remove-sandbox-registry-creds
preview-benrev-1782332859-4c2fc83
open-swe/cursor-integration-doc
open-swe/codex-openai-key-coexistence
docs/sandboxes-environment-availability-ga
chore/update-package-downloads-20260622-003215
preview-readdc-1781897196-fb126f6
revert-commit
preview-cbbump-1781709559-ef2b3a8
open-swe/openrouter-tool-cache-control
mukil/remote-mcp-api-key-docs
docs/fix-kubernetes-initial-org-admin-email-placement
docs/fix-sandbox-nav-active-state
ff2
docs/redirect-langsmith-home-to-monitor
docs/add-online-evaluators-to-monitor-observe
docs/fix-agent-lifecycle-404
docs/move-configure-checkpointer-to-server-customization
docs/fix-stray-python-subagents-streaming
preview-cbbump-1781294718-0c1589f
preview-docssk-1781190617-4dc61d8
docs/skills-availability-permissions
changelog-bot-update-597bc00f
mdrxy/dcode-config
preview-mdrxym-1781066746-d700eed
open-swe/trace-pi-coding-agent
open-swe/sandbox-harbor-docs
update-tool-return-code
preview-subage-1780900407-f67d2f0
subagent-img
colifran/interp-lib-and-swarm
colifran/interp-libs
preview-ENT489-1780617325-b81bddf
ENT-489-personal-org-trace-limits-docs
docs/fix-how-capitalization
preview-jdroge-1780516422-c2bf1e2
jdrogers940-patch-1
open-swe/deepagents-filesystem-ls-docs
preview-davidf-1780410500-f0e8b21
docs/add-hitl-when-predicate
preview-warnin-1780335965-8976c65
warnings-all-int
open-swe/doc-1181-llm-auth-proxy-note
open-swe/harbor-langsmith-guide
preview-bestpr-1780000780-6a2ab16
best-practice-traces
langsmith-fleet-rename-docs
preview-bestpr-1779997959-dbb4014
changelog-bot-update-466aa7a4
preview-fixsel-1779841279-4b33a7e
fix/context-hub-sdk-docs
hunter/module-metadata
chore/update-package-downloads-20260525-002649
preview-docsus-1779492549-fbb64a4
docs/use-langsmith-sandboxes-in-guides
vic/fix-interrupt-mda-typo
changelog-bot-update-4d1ec0bc
open-swe/rename-deep-agents-code-sidebar
sr/custom-agents-advanced
marthajanicki-setUpCodingAgents-codingAgentAuth
open-swe/deepagents-code-js-interpreter
preview-sectio-1779306767-b45259f
mukil/sandbox-permissions-doc
docs/supervisor-migration-guide
open-swe/fix-graph-defaults-heading
open-swe/add-eager-tools-middleware
open-swe/engine-webhooks-slack-example
open-swe/changelog-drop-patch
open-swe/sync-deepagents-models
docs/test-pr-automation
docs/test-pr-automation-2
preview-mdrxyf-1778891062-175d4da
open-swe/deep-agents-context-multimodal
changelog-bot-update-b940039b
open-swe/doc-1120-comprehend-pii
preview-nhuses-1778700384-2b3c094
nh/usestream-frontend-docs
preview-nhuses-1778699885-70d5ae2
fjmorris/DOC-1069
naomi/doc-1039-more-heavy-xlinking-between-this-and-this
open-swe/docs-set-node-defaults
open-swe/docs-context-hub-backend
open-swe/sandbox-service-url-refresh-doc
mukil/deprecate-old-langsmith-mcp
long/delta-chekpointer-guide
chore/sync-deepagents-signatures-20260507-095509
changelog-bot-update-a3160b68
chore/sync-deepagents-signatures-20260506-095242
chore/sync-deepagents-signatures-20260505-094229
open-swe/9d01c6ec-9a1e-f7c2-64a6-849b03777462
chore/sync-deepagents-signatures-20260504-095216
chore/update-package-downloads-20260504-002134
open-swe/2c388642-30ed-92d5-12de-4b36b9a52dcf
open-swe/6f8751a7-2317-6c86-e2d8-1b346608b6fc
open-swe/964438d8-0063-5620-a68b-183ff99019bb
chore/sync-deepagents-signatures-20260430-094651
docs/add-model-config-api
mdrxy/da-cli-fsajk
open-swe/950a4654-e73b-c3eb-568f-af8a40b02675
chore/sync-deepagents-signatures-20260429-094651
open-swe/304c9ecc-7d11-6c64-2cfb-9410320726a6
preview-shrn-1777307722-4ee2cf3
chore/update-package-downloads-20260427-001739
preview-gpt5-1777059718-47af0d3
preview-wfhbgj-1777054999-5e4de3a
open-swe/4df2a389-91bf-200d-3f68-6161a6e64b71
preview-immanu-1776816584-197cf7a
immanuel-ai-171
preview-immanu-1776815725-f709483
immanuel-ai-170
preview-immanu-1776807735-90ee807
immanuel-ai-168
fjmorris/DOC-1010
docs/fleet-github-app-self-hosted
preview-cost-1776193380-7cd750c
preview-cost-1776190401-8e23c22
preview-cost-1776190025-cb56175
open-swe/8d7b0026-5bc3-e1cf-bdfe-7b24d78c54d2
preview-htmlte-1775837771-8253f4a
htmltest
preview-htmlte-1775824163-d8aa286
preview-htmlte-1775824066-66873a2
fjmorris/DOC-957
cb/document-streaming-protocol
preview-wfhenv-1775681775-f63fd7e
wfh/env_vars
preview-htmlte-1775656973-0d8dbf5
update-skills-page
sr/little-mem-patch
preview-jacobo-1775559973-01469a1
preview-linkst-1775509693-88c55b4
preview-sraddi-1775494500-2b9e759
preview-wfhcac-1775482911-620a838
wfh/caching_docs
preview-wfhenv-1775241977-1fe3764
preview-wfhenv-1775241693-e06fab8
preview-jakein-1775234281-4d683b4
jake-insights-cli-docs
preview-wfhenv-1775232062-60e7a90
preview-wfhcac-1775165461-30a695b
preview-wfhcac-1775090211-3eba851
open-swe/b6691feb-f3cb-78b3-5d08-aa38f4a0d723
hunter/configurable-api-keys
preview-cbclc3-1774894224-cf8de59
colifran/backend-refactor
open-swe/6ebd0fb3-6771-390a-213d-7f7ca025e7c8
preview-fleetn-1774291139-aedb23d
preview-wfhcac-1774042849-4552e68
eugene/docs-update
cc/deepagents_backends_v0-5
wfh/mongo_cleanup
feat/crewai-langsmith-crewai-package
preview-reorga-1773853277-3e4de97
preview-reorga-1773851634-c29d7d3
preview-reorga-1773849788-3f9cc12
preview-simpli-1773745162-aa10ba5
simplified-left-hand-nav
wfh/disambiguate
preview-merged-1773674134-a8ee819
merge-deepagents-langchain-manual
preview-merged-1773673439-f47cb10
preview-merged-1773673244-b9c7618
preview-merged-1773671975-82b0e66
preview-merged-1773671637-4045d84
wfh/lsd_mongo_all_three
preview-wfhupd-1773416505-c64faa9
preview-parker-1773416333-c3fa44d
preview-mermcs-1773349448-32de48d
preview-fixnew-1773346721-757befb
hunter/repl-updates
mdrxy/oauth
preview-cbchat-1773214433-b6b3b5d
preview-wfhnit-1773168834-68f5884
cc/openai_tool_search
open-swe/b1dc3811-7695-a6d3-0b98-c0b4232ab7b5
hunter/google-embeddings
preview-ccopen-1773097524-a69399c
cb/chat-langchain-integration
preview-wfhupd-1772850372-e640909
open-swe/f13c817d-6db4-8632-05aa-1388189d105e
palash/add-langsmith-cli
palash/add-langsmith-skilsl
preview-layout-1772484041-c236b7b
preview-font2-1772479844-74361b8
preview-fontfi-1772478541-75d4f7b
preview-bulkex-1772477080-6c9be93
preview-redire-1772471288-be16ed8
preview-ffrebr-1772469371-1d3f65d
wfh/auth_docs_updates
dependabot/npm_and_yarn/reference/javascript/npm_and_yarn-10729c40e0
preview-ericdo-1771862591-74fcf18
preview-ericdo-1771862572-2607e04
preview-wfhcus-1771536914-b32b47d
preview-ccpyda-1771512208-8c0203e
preview-ccoaia-1771425169-3966492
preview-htmlte-1771358383-35b71d3
broken-link-htmltest
open-swe/8c3830fe-8ac7-bb6e-369e-0cb56ded87ec
mintlify/find-personal-previews-51934
preview-ericda-1770934356-1e3f78c
preview-standa-1770924224-dc00eb6
standardize-beta-tag
preview-parker-1770921354-f58b62d
preview-standa-1770920789-2552475
revert-2497-docs/gemini-structured-output-fix
docs/update-trace-query-syntax-filters
hunter/snippets-command
No results found.
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: langchain-ai/docs#2
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BennisonDevadoss on GitHub (Sep 9, 2024).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/294
Originally assigned to: @eugeneo17 on GitHub.
TRANSFERED BY @mdrxy
DOCS NOTE: SEE ATTACHED CLOSED PR THAT SHOULD BE APPLIED HERE
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Description
I am encountering a ValueError when using both PyMuPDFLoader and PyPDFLoader to extract images from certain PDFs. The error message indicates that operands could not be broadcast together with shapes (896,800) (1,1,3). This occurs specifically when the extract_images parameter is set to True.
Expected Behavior
The code should successfully extract text and images from the PDF without errors.
Additional Information
This issue seems to occur with specific PDFs that may have unique formatting or image properties. I would appreciate any guidance on how to resolve this issue or if there are any workarounds available.
System Info
@venkatram-dev commented on GitHub (Sep 9, 2024):
Looks like you might be using a old version of rapidocr_onnxruntime.
Please upgrade to latest or 1.3.24.
I did not get the error using this version.
pip show rapidocr_onnxruntime
Name: rapidocr-onnxruntime
Version: 1.3.24
https://github.com/RapidAI/RapidOCR/blob/50ce26671ab4a78955f8bc773348f82ad9fe0024/python/rapidocr_onnxruntime/ch_ppocr_v3_det/utils.py#L44](https://github.com/RapidAI/RapidOCR/commit/1de4db02497f832536ed1578e9bce5195850db8f)
@kartheekyakkala commented on GitHub (Sep 9, 2024):
I think rapidocr-onnxruntime is a required package for extracting information from images. Can you please provide the versions of the rapidocr-onnxruntime?.
I have used all the latest versions of the packages. It worked fine.
@BennisonDevadoss commented on GitHub (Sep 10, 2024):
@kartheekyakkala, Thank you for addressing the issue!
After upgrading to the latest versions of the packages, the solution now works correctly for most scanned documents, which is a significant improvement.
However, I encountered a new issue when testing with the following PDF:
Scan Sample PDF
Unfortunately, the updated solution does not work for this particular PDF. The problem persists in a similar manner, where the image extraction and processing fail.
Details
Here I have attached the screenshot of the error

@venkatram-dev commented on GitHub (Sep 10, 2024):
@BennisonDevadoss ,
This new error is coming from langchain-community package.
Looks like you are using a older version of it.
Please upgrade to latest version of langchain-community. Using the latest version worked for above file without any errors.
You might also want to update all the other langchain packages also to latest.
@BennisonDevadoss commented on GitHub (Sep 10, 2024):
@venkatram-dev, I updated the plugin versions to the latest, but I'm still encountering the same issue.
Below are my updated package versions:
@venkatram-dev commented on GitHub (Sep 10, 2024):
I am not able to reproduce the error. If possible, please share a google colab.
@BennisonDevadoss commented on GitHub (Sep 17, 2024):
@venkatram-dev , as I mentioned earlier, I'm still encountering the issue we discussed previously, even with the latest version of the LangChain modules. I've shared the reproducible code on Google Colab, which you can access via the link below: Colab Link
Additionally, here's the PDF link I used to read the text from: PDF link
Please let me know if you find any breakthroughs!
@jamesrooti commented on GitHub (Nov 18, 2024):
Is there progress on this? Experiencing the same issue. Thanks
@BennisonDevadoss commented on GitHub (Feb 12, 2025):
@jamesrooti, Yes I am having same issue.
@dosubot[bot] commented on GitHub (May 14, 2025):
Hi, @BennisonDevadoss. I'm Dosu, and I'm helping the LangChain team manage their backlog. I'm marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!
@BennisonDevadoss commented on GitHub (May 14, 2025):
Yes, this issue still exists.
@dosubot[bot] commented on GitHub (May 14, 2025):
@eyurtsev, the user @BennisonDevadoss has confirmed that the issue with extracting images from PDFs using PyMuPDFLoader and PyPDFLoader is still relevant. Could you please assist them with this problem?
@skyking363 commented on GitHub (Jun 17, 2025):
Me too
@john01kpeazu commented on GitHub (Jul 1, 2025):
Same here. Not able to extract OCR information from PDFs using PyMuPDFLoader or PyPDFLoader.
@eugeneo17 commented on GitHub (Jul 17, 2025):
I'd like to take this issue and submit a fix. Let me know if anyone is already working on it!
@mdrxy commented on GitHub (Jul 21, 2025):
@eugeneo17 you got it
Error when extracting images with PyMuPDFLoader and PyPDFLoaderto [GH-ISSUE #294] Error when extracting images with PyMuPDFLoader and PyPDFLoader