FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
30.75k stars 15.98k forks source link

[FEATURE] Upload Files on Claude LLMs #2084

Open haimco50 opened 6 months ago

haimco50 commented 6 months ago

Not sure whether it's a bug or I am misisng something here...but based on the flow description the claude chatflow example should have been able to support uploading files up to 200K tokens but in reality it supports uploading just image files only.

marketplace flow : image

any text/pdf file : image

Image: image

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Flow If applicable, add exported flow in order to help replicating the problem.

Setup

Additional context Add any other context about the problem here.

HenryHengZJ commented 6 months ago

You can include the whole Text File as part of the prompt: image

200k Chatflow.json

haimco50 commented 6 months ago

but doing it isn't going to solve the UI bot part ? but maybe just with an API integration with a custom bot UI that I can build , right ? Aplogize if this is a basic question..., I'm new to this platform. btw, great platform overall, I would be glad to contribute down the road once I know more...:-)

HenryHengZJ commented 6 months ago

oh you want to have the upload file option on the chatbot? if so, you will have to implement the frontend part on your side and you can use the API for backend: image

haimco50 commented 6 months ago

yes, I can do so but....it would be much nicer and maybe faster...to support file upload for None image file from the chatbot...exactly as it's in claude.AI website,

HenryHengZJ commented 1 week ago

PR here: https://github.com/FlowiseAI/Flowise/pull/3314