-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
The chat api supports base64 image files #9430
Comments
The current two upload methods have covered most of the scenarios, and if the base64 file upload is open, it will cause some unnecessary problems, such as you will encounter variable length limitations. I would like to know more about why you need this, can you give me a example or case that can describe this feature request. |
The remote_url method requires uploading the image to a publicly accessible location. For scenarios that require protecting user privacy, publicly accessing the image may be problematic. |
the same question and demand |
Hi, @deific. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. Issue Summary
Next Steps
Thank you for your understanding and contribution! |
I think base64 still has many use cases, and in some scenarios it has advantages over remote_url and local_file. I hope the official website can support it. Currently, I am still encountering issues with remote_url because I often experience latency problems accessing my CDN from mainland China, which leads to failures. I also need to prepare an overseas CDN. |
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
When chatting through the API interface, currently the file only supports the methods of remote_url and local_file, and in my scenario, there are limitations when using both methods. I hope to be able to upload files using base64 format image content.
2. Additional context or comments
No response
3. Can you help us with this feature?
The text was updated successfully, but these errors were encountered: