Class: RubyLLM::Protocols::DeepSeek::Files
- Inherits:
-
Protocols::OpenAI::Files
- Object
- Protocols::OpenAI::Files
- RubyLLM::Protocols::DeepSeek::Files
- Defined in:
- lib/ruby_llm/protocols/deepseek/files.rb
Overview
DeepSeek stores image files for reuse by vision models.
Constant Summary collapse
- IMAGE_TYPES =
%w[image/jpeg image/png image/gif image/webp].freeze
- MAX_FILE_SIZE =
64 * 1024 * 1024
Instance Method Summary collapse
Instance Method Details
#download(_file_id) ⇒ Object
11 12 13 |
# File 'lib/ruby_llm/protocols/deepseek/files.rb', line 11 def download(_file_id) raise Error, 'DeepSeek does not support downloading uploaded files' end |