Class: Copilot::MessageOptions

Inherits:
Struct
  • Object
show all
Defined in:
lib/copilot/types.rb

Overview

Options for sending a message.

Instance Attribute Summary collapse

Instance Attribute Details

#attachmentsObject

Returns the value of attribute attachments

Returns:

  • (Object)

    the current value of attachments



327
328
329
# File 'lib/copilot/types.rb', line 327

def attachments
  @attachments
end

#image_optionsObject

Returns the value of attribute image_options

Returns:

  • (Object)

    the current value of image_options



327
328
329
# File 'lib/copilot/types.rb', line 327

def image_options
  @image_options
end

#modeObject

Returns the value of attribute mode

Returns:

  • (Object)

    the current value of mode



327
328
329
# File 'lib/copilot/types.rb', line 327

def mode
  @mode
end

#promptObject

Returns the value of attribute prompt

Returns:

  • (Object)

    the current value of prompt



327
328
329
# File 'lib/copilot/types.rb', line 327

def prompt
  @prompt
end

#request_headersObject

Returns the value of attribute request_headers

Returns:

  • (Object)

    the current value of request_headers



327
328
329
# File 'lib/copilot/types.rb', line 327

def request_headers
  @request_headers
end

#response_formatObject

Returns the value of attribute response_format

Returns:

  • (Object)

    the current value of response_format



327
328
329
# File 'lib/copilot/types.rb', line 327

def response_format
  @response_format
end