Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[BUG] Unable to upload documents to agent

Open Tokail opened this issue 1 year ago • 12 comments

Describe the bug Since the last update, File upload is broken and the agent is returning unable to upload documents.

To Reproduce Steps to reproduce the behavior:

  1. Create an agent.
  2. Go to config
  3. Enable file upload
  4. test chat by upload any doc
  5. Agent response "Unable to upload documents"

Expected behavior File upload used to be working before last update.

Screenshots image

Flow Summarize Chatflow.json

Setup

  • Installation: Cloud
  • Flowise Version 2.1.5
  • OS: Windows
  • Browser: Edge

Tokail avatar Dec 06 '24 10:12 Tokail

Will be fixed in the next version next week!

HenryHengZJ avatar Dec 06 '24 10:12 HenryHengZJ

Thank you @HenryHengZJ Appreciate the hard work

Tokail avatar Dec 06 '24 10:12 Tokail

Looking forward to the fix. Excited to try this out. Thanks

Danewilkerson avatar Dec 07 '24 19:12 Danewilkerson

Should be fixed in v2.2.2, can you guys try it out? Feel free to reopen if issue still there

HenryHengZJ avatar Dec 12 '24 10:12 HenryHengZJ

Hi, I've just upgraded to 2.2.2 and I still can't upload a RAG document via the chat in an agent flow. I have created a basic agent flow with a supervisor and a worker. The worker has a retriever tool with a vector store (I tested with pgvector and qdrant), and the vector store has a plain text document loader:

image

I have activated file uploads for the vector store: image

But you can see in the first screenshot that the icon for uploading a file is not there. If I configure the agent flow for full file upload, then the icon appears, but that's not what I want. I want RAG file uploads for being able to handle larger files.

@HenryHengZJ Am I missing something? Thanks!

bodzebod avatar Dec 17 '24 15:12 bodzebod

I just figured out that I was using a document loader "plain text" instead of "TXT file". When using "TXT file", I can see the upload icon. However, it looks like there's a limitation on the file size. I tried with a 7.67Mb file and got this: image

This is unexpected as the default max file size shoul dbe 50mb, and I have set the env variable: FLOWISE_FILE_SIZE_LIMIT=500mb However, I couldn't find any mention of a setting regarding file types.

bodzebod avatar Dec 17 '24 16:12 bodzebod

It appears that this was the extension of the file that was blocked. I was trying to upload a ".log" file. Renaming it to ".txt" unblocked it. However, I can't find where to customize the list of allowed file types.

bodzebod avatar Dec 17 '24 17:12 bodzebod

I am using flowise version "2.2.7-patch.1"

Still not able to upload document.

I am running it in localhost with docker.

bizprat avatar Mar 18 '25 17:03 bizprat

Same problem here. I've just updated to 2.2.7-patch.1 and can't upload files from the chat widget.

javierlabanca avatar Mar 21 '25 00:03 javierlabanca

We can't reopen the issue, but I also confirm file upload is broken on 2.2.7-patch.1

I have increased LOG_LEVEL, enabled DEBUG, but nothing helps to understand the issue.

jquinter avatar Mar 28 '25 21:03 jquinter

Same problem at macos~ version "2.2.7-patch.1" with docker Still not able to upload document.

wu-xiaochen avatar Apr 02 '25 08:04 wu-xiaochen

Same issue here :(

Alfulayt avatar Apr 21 '25 16:04 Alfulayt

can anyone confirm if this is resolved in 2.2.8? I tested on Docker with the version, works fine

Image

HenryHengZJ avatar May 04 '25 13:05 HenryHengZJ

Image Image I can confirm this is resolved in 2.2.8 on Docker.

But is image attachment supported? I'm using OpenAI Assistant node with gpt4o-mini.

Image

It seems like the file you've uploaded can't be read or doesn't contain clear information about the food you'd like to be assessed. If you can provide a description or more details about the food, I can help give an assessment or recommendation!

frendhisaido avatar May 05 '25 00:05 frendhisaido

for image, you will have to turn on the Allow Image Upload from the LLM:

Image

then you will see a different button for image upload:

Image

HenryHengZJ avatar May 05 '25 03:05 HenryHengZJ

Closing for now

HenryHengZJ avatar May 05 '25 03:05 HenryHengZJ

RAG Upload is failing in 2.2.8 File upload is enabled in Pinecone Vector Store node Is anyone else facing same issue?

Image Image

himanshusharma-ai avatar May 15 '25 11:05 himanshusharma-ai