Skip to content

The browser/environment lacks native support for critical functionality used by the PDF.js #6

Closed
@bdecarne

Description

@bdecarne

Describe the bug

When we use the PDF document loader, we have the following error :

UnknownErrorException: The browser/environment lacks native support for critical functionality used by the PDF.js library (e.g. Path2D and/or ReadableStream); please use a legacy-build instead.

To Reproduce
Steps to reproduce the behavior:

  1. Add a PDF document loader
  2. Complete the chain
  3. Interact with the agent

Expected behavior
The PDF document is loaded

Screenshots

image

Setup

  • OS: Linux
  • Browser: Chrome, Firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions