Skip to content

docs: update nv-ingest component#8950

Merged
mendonk merged 2 commits into
mainfrom
docs-update-nv-ingest-component
Jul 9, 2025
Merged

docs: update nv-ingest component#8950
mendonk merged 2 commits into
mainfrom
docs-update-nv-ingest-component

Conversation

@mendonk
Copy link
Copy Markdown
Collaborator

@mendonk mendonk commented Jul 9, 2025

Update docs to reflect some changes made to the component here.

Summary by CodeRabbit

  • Documentation
    • Updated NVIDIA Retriever Extraction documentation to reflect support for image and infographic extraction.
    • Added details on new high-resolution mode for scanned PDFs.
    • Expanded and clarified available extraction and filtering parameters, including options for image handling and chunking.
    • Updated output descriptions to include new document types and content, such as images with captions and infographics.

@mendonk mendonk self-assigned this Jul 9, 2025
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jul 9, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The documentation for the NVIDIA Retriever Extraction component was updated to describe new features, including image and infographic extraction, a high-resolution mode for PDFs, expanded parameter options, and revised output formats. Several input parameters were added, some defaults changed, and output descriptions were updated to reflect support for images and infographics.

Changes

File(s) Change Summary
docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md Updated documentation to add image/infographic extraction, high-resolution PDF mode, new/renamed parameters, and revised output descriptions.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant NVIDIA_Retriever_Extraction

    User->>NVIDIA_Retriever_Extraction: Submit document with parameters (extract_images, extract_infographics, high_resolution, etc.)
    NVIDIA_Retriever_Extraction->>NVIDIA_Retriever_Extraction: Process document
    alt High Resolution PDF
        NVIDIA_Retriever_Extraction->>NVIDIA_Retriever_Extraction: Use nemoretriever-parse for extraction
    end
    alt Extract Images/Infographics
        NVIDIA_Retriever_Extraction->>NVIDIA_Retriever_Extraction: Extract images and infographics with filtering and captioning
    end
    NVIDIA_Retriever_Extraction-->>User: Return output (text, structured, image types with captions/infographics)
Loading

Possibly related PRs

Suggested labels

enhancement, size:M, lgtm

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs-update-nv-ingest-component

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. documentation Improvements or additions to documentation labels Jul 9, 2025
@github-actions github-actions Bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jul 9, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 9, 2025

Build successful! ✅
Deploying docs draft.
Deploy successful! View draft

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🔭 Outside diff range comments (1)
docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md (1)

1-4: Add description to the front-matter block

All docs pages must include both title and description keys in the front-matter per the docs guidelines. Missing the description breaks the docs site’s meta-data and search.

 ---
 title:  Integrate NVIDIA Retriever Extraction with Langflow
+description: Learn how to integrate the NVIDIA Retriever Extraction (NV-Ingest) component into your Langflow Flows.
 slug: /integrations-nvidia-ingest
 ---
🧹 Nitpick comments (4)
docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md (4)

12-12: Tighten grammar and hyphenate compound adjectives

Double-spacing after pre- and the un-hyphenated “High Resolution” violate the style guide.

-The `nv-ingest` service supports multiple extraction methods for PDF, DOCX, and PPTX file types, and includes pre-  and post-processing services like splitting, chunking, and embedding generation. The extractor service's High Resolution mode uses the `nemoretriever-parse` extraction method for better quality extraction from scanned PDF documents. This feature is only available for PDF files.
+The `nv-ingest` service supports multiple extraction methods for PDF, DOCX, and PPTX files, and includes *pre-* and *post-processing* services such as splitting, chunking, and embedding generation. The extractor service’s *high-resolution* mode uses the `nemoretriever-parse` extraction method for improved extraction quality from scanned PDFs. This feature is available only for PDFs.

51-53: Hyphenate “high-resolution” and keep wording concise

-The component supports text, charts, tables, images, and infographics.
-Optionally, for PDF files, enable High Resolution mode for better quality extraction from scanned documents.
+The component supports text, charts, tables, images, and infographics.  
+For PDFs, optionally enable *high-resolution* mode for higher-quality extraction from scanned documents.

79-92: Polish parameter descriptions for clarity & consistency

Minor wording/consistency issues:

-| extract_images | Extract Images | Extract images from document. Default: `True`. |
-| extract_infographics | Extract Infographics | Extract infographics from document. Default: `False`. |
+| extract_images | Extract Images | Extract images from documents. Default: `True`. |
+| extract_infographics | Extract Infographics | Extract infographics from documents. Default: `False`. |
...
-| min_image_size | Minimum Image Size Filter | Minimum image width/length in pixels. Default: `128`. |
+| min_image_size | Minimum Image Size Filter | Minimum image **width or height** (in pixels). Default: `128`. |
...
-| high_resolution | High Resolution (PDF only) | Process PDF in high-resolution mode for better quality extraction from scanned PDF. Default: `False`. |
+| high_resolution | High-resolution (PDF only) | Process PDFs in high-resolution mode for improved extraction from scanned PDFs. Default: `False`. |

99-103: Resolve list-style lint errors & grammar in output description

markdownlint expects * list markers, and the sentence reads awkwardly.

-* `document_type`: The type of the document, which can be "text", "structured", or "image".
+* `document_type`: The document type—`"text"`, `"structured"`, or `"image"`.

(Consider converting the surrounding - lists to * for consistency, or configure .markdownlint to accept -.)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between eb69cdd and e93f1ec.

📒 Files selected for processing (1)
  • docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md (4 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
`docs/docs/**/*.{md,mdx}`: All documentation content must be placed within the '...

docs/docs/**/*.{md,mdx}: All documentation content must be placed within the 'docs/' directory, organized into subdirectories such as 'getting-started', 'components', 'integrations', 'administration', 'contributing', and 'api-reference'.
All documentation markdown files must start with a frontmatter block containing at least 'title' and 'description' fields.
Use admonitions (:::tip, :::warning, :::danger) in markdown files to highlight important information, warnings, or critical issues.
Reference images in documentation using the '/img/' path and provide descriptive alt text in markdown.
Use code blocks with language identifiers and optional titles for code examples in markdown documentation.
Documentation content must follow the style guide: professional but approachable tone, second person voice, present tense, short paragraphs, sentence case headers, inline code with backticks, bold for UI elements, italic for emphasis, and parallel structure in lists.
Use consistent terminology: always capitalize 'Langflow', 'Component', and 'Flow' when referring to Langflow concepts; always uppercase 'API' and 'JSON'.

📄 Source: CodeRabbit Inference Engine (.cursor/rules/docs_development.mdc)

List of files the instruction was applied to:

  • docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md
🧠 Learnings (1)
📓 Common learnings
Learnt from: CR
PR: langflow-ai/langflow#0
File: .cursor/rules/docs_development.mdc:0-0
Timestamp: 2025-06-30T14:40:02.682Z
Learning: Applies to docs/docs/**/*.{md,mdx} : Use consistent terminology: always capitalize 'Langflow', 'Component', and 'Flow' when referring to Langflow concepts; always uppercase 'API' and 'JSON'.
🪛 LanguageTool
docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md

[grammar] ~12-~12: Use commas correctly
Context: ...on methods for PDF, DOCX, and PPTX file types, and includes pre- and post-processing s...

(QB_NEW_EN_OTHER_ERROR_IDS_33)


[grammar] ~12-~12: Use correct spacing
Context: ...DOCX, and PPTX file types, and includes pre- and post-processing services like splitting...

(QB_NEW_EN_OTHER_ERROR_IDS_5)


[uncategorized] ~12-~12: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...ing generation. The extractor service's High Resolution mode uses the nemoretriever-parse ext...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~12-~12: Use correct spacing
Context: ... This feature is only available for PDF files. The NVIDIA Retriever Extraction com...

(QB_NEW_EN_OTHER_ERROR_IDS_5)


[uncategorized] ~52-~52: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...hics. Optionally, for PDF files, enable High Resolution mode for better quality extraction from...

(EN_COMPOUND_ADJECTIVE_INTERNAL)


[grammar] ~57-~57: Use correct spacing
Context: ...raDB Vector** component with a Data output. NVIDIA Retriever Extraction component flow 9. Run the flow. Inspect your Astra DB vec...

(QB_NEW_EN_OTHER_ERROR_IDS_5)


[grammar] ~91-~91: There might be a problem here.
Context: ...ion from scanned PDF. Default: False. | ### Outputs The NVIDIA Retriever Extraction com...

(QB_NEW_EN_MERGED_MATCH)


[grammar] ~102-~102: There might be a mistake here.
Context: ...type of the document, which can be "text", "structured", or "image". - `descriptio...

(QB_NEW_EN_OTHER)


[grammar] ~102-~102: There might be a mistake here.
Context: ...cument, which can be "text", "structured", or "image". - description: Additional...

(QB_NEW_EN_OTHER)


[grammar] ~102-~102: There might be a mistake here.
Context: ...h can be "text", "structured", or "image". - description: Additional description...

(QB_NEW_EN_OTHER)


[grammar] ~115-~115: Use correct spacing
Context: ...eing processed from the table_content metadata. - Documents with document_type: "image"...

(QB_NEW_EN_OTHER_ERROR_IDS_5)


[grammar] ~119-~119: Use modal and auxiliary verbs correctly
Context: ...t extracted from documents. - Caption text stored in the text field when `captio...

(QB_NEW_EN_OTHER_ERROR_IDS_24)

🪛 markdownlint-cli2 (0.17.2)
docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md

96-96: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


97-97: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


98-98: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


99-99: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


100-100: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


101-101: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


102-102: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


113-113: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


114-114: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


115-115: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


117-117: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


118-118: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


119-119: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


120-120: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: build-and-deploy

Comment thread docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md
Copy link
Copy Markdown
Collaborator

@aimurphy aimurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just one question, otherwise lgtm

Comment thread docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md Outdated
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jul 9, 2025
Comment thread docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md Outdated
@github-actions github-actions Bot added documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jul 9, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 9, 2025

Build successful! ✅
Deploying docs draft.
Deploy successful! View draft

@mendonk mendonk added this pull request to the merge queue Jul 9, 2025
Merged via the queue into main with commit 73c1f20 Jul 9, 2025
14 checks passed
@mendonk mendonk deleted the docs-update-nv-ingest-component branch July 9, 2025 15:41
smatiolids pushed a commit to smatiolids/langflow-dev that referenced this pull request Jul 10, 2025
* add-high-res-and-defaults

* Update docs/docs/Integrations/Nvidia/integrations-nvidia-ingest.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants