Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Can't pass file to Unstructured file loader for upsertion #3731

Open
kennyakers opened this issue Dec 18, 2024 · 0 comments
Open

[BUG] Can't pass file to Unstructured file loader for upsertion #3731

kennyakers opened this issue Dec 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kennyakers
Copy link

Describe the bug
When trying to upsert a document via the Unstructured File Loader via the Flowise API, the file attached in the POST call is ignored, and the file specified in the node in the UI is uploaded instead. This was previously fixed for the PDF loader (thank you!), but is still present for Unstructured File Loader.

In this call, a PDF of a short story (several pages long) is attached. As you can see in the response, the file that was upserted was the file "blank.pdf", which is a single page with the words "ERROR" on it that was uploaded directly into the Unstructured File Loader node:
Screenshot 2024-12-17 at 11 09 53 PM

Expected Behavior
The attached file (above: Girl Jamaica Kincaid.pdf) should replace the file in the node (above: blank.pdf) and be upserted.

Flow & Config
Below is an example flow and override configuration to recreate this behavior:
Screenshot 2024-12-17 at 11 26 09 PM
Screenshot 2024-12-17 at 11 13 46 PM

Setup

  • Installation: RepoCloud instance
  • Flowise v2.2.2
@HenryHengZJ HenryHengZJ added the bug Something isn't working label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants