docs: supplement format_block_content image path behavior explanation#17817
Open
TingquanGao wants to merge 1 commit intoPaddlePaddle:mainfrom
Open
docs: supplement format_block_content image path behavior explanation#17817TingquanGao wants to merge 1 commit intoPaddlePaddle:mainfrom
TingquanGao wants to merge 1 commit intoPaddlePaddle:mainfrom
Conversation
Supplement docs for format_block_content parameter in PaddleOCR-VL and PP-StructureV3 pipelines to clarify that image-type block's block_content includes image path (e.g. <img src="..." />) only when format_block_content=True; when False (default) only OCR text is included without image paths. Fixes PaddlePaddle#17143 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Thanks for your contribution! |
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.
Summary
Supplement documentation for
format_block_contentparameter in PaddleOCR-VL and PP-StructureV3 pipeline docs (both Chinese and English) to clarify the image path behavior.Previously the description only said "controls whether to format block_content as Markdown", without mentioning the key side effect on image-type blocks. This caused confusion as reported in #17143.
Clarification added:
format_block_content=True: image-type block'sblock_contentincludes image path info (e.g.<img src="..." />)format_block_content=False(default): image-type block'sblock_contentonly contains OCR-recognized text, no image pathformat_block_content=TrueChanges
docs/version3.x/pipeline_usage/PaddleOCR-VL.md: Supplementformat_block_contentdescription (5 locations)docs/version3.x/pipeline_usage/PaddleOCR-VL.en.md: Supplementformat_block_contentdescription (5 locations)docs/version3.x/pipeline_usage/PP-StructureV3.md: Supplementformat_block_contentdescription (4 locations)docs/version3.x/pipeline_usage/PP-StructureV3.en.md: Supplementformat_block_contentdescription (4 locations)Test plan
format_block_content=Trueformat_block_content=FalseCloses #17143
🤖 Generated with Claude Code