Class: RubyLLM::Protocols::DeepSeek::Files

Inherits:
Protocols::OpenAI::Files
  • Object
show all
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

Raises:



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