Class: RubynCode::LLM::ImageBlock

Inherits:
Data
  • Object
show all
Defined in:
lib/rubyn_code/llm/message_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



13
14
15
# File 'lib/rubyn_code/llm/message_builder.rb', line 13

def data
  @data
end

#media_typeObject (readonly)

Returns the value of attribute media_type

Returns:

  • (Object)

    the current value of media_type



13
14
15
# File 'lib/rubyn_code/llm/message_builder.rb', line 13

def media_type
  @media_type
end

Instance Method Details

#typeObject



14
# File 'lib/rubyn_code/llm/message_builder.rb', line 14

def type = 'image'