deepseek-laravel icon indicating copy to clipboard operation
deepseek-laravel copied to clipboard

File Upload Support

Open sxin0 opened this issue 8 months ago • 0 comments

Description

I would like to request support for file uploads in the DeepSeekClient. Currently, it seems there is no direct method to upload files to the DeepSeek API.

Use Case

Being able to upload files directly would be very useful for:

  • Analyzing document contents
  • Processing images
  • Working with various file formats

Current Workaround

Currently, we have to:

  1. Convert files to base64 encoding
  2. Or upload files to external storage services
  3. Then send the base64/URL as part of the message content

Questions

  1. Is file upload support planned for future releases?
  2. If yes, what file types/formats will be supported?
  3. What would be the maximum file size limit?
  4. Will there be any specific methods for handling different file types?

Additional Context

  • PHP Version: 8.1+
  • DeepSeek PHP Client Version: 2.0
  • Laravel Version: 10.10

Thank you for considering this feature request!

sxin0 avatar Apr 14 '25 08:04 sxin0