Skip to content

Add image extraction support to OpenDataLoader PDF integration #3921

Description

@maxdswain

Is your feature request related to a problem? Please describe.
The OpenDataLoader PDF integration currently extracts document text but does not expose extracted images, which limits its use in multimodal RAG pipelines.

Describe the solution you'd like
Add an optional extract_images parameter that extracts images and returns them as Haystack Document objects.

Describe alternatives you've considered
N/A

Additional context
Haystack already has components such as ImageFileToImageContent, PDFToImageContent, and DocumentToImageContent which expose images as ImageContent objects for multimodal pipelines. Existing Jina and Cohere integrations also support image-based Documents using meta["file_path"]. The OpenDataLoader integration could follow a similar pattern when exposing images extracted from documents.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions