Class: RubyCoded::Chat::CodexModels::CodexModel

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_coded/chat/codex_models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#context_windowObject

Returns the value of attribute context_window

Returns:

  • (Object)

    the current value of context_window



11
12
13
# File 'lib/ruby_coded/chat/codex_models.rb', line 11

def context_window
  @context_window
end

#display_nameObject

Returns the value of attribute display_name

Returns:

  • (Object)

    the current value of display_name



11
12
13
# File 'lib/ruby_coded/chat/codex_models.rb', line 11

def display_name
  @display_name
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



11
12
13
# File 'lib/ruby_coded/chat/codex_models.rb', line 11

def id
  @id
end

#max_outputObject

Returns the value of attribute max_output

Returns:

  • (Object)

    the current value of max_output



11
12
13
# File 'lib/ruby_coded/chat/codex_models.rb', line 11

def max_output
  @max_output
end

#pro_onlyObject

Returns the value of attribute pro_only

Returns:

  • (Object)

    the current value of pro_only



11
12
13
# File 'lib/ruby_coded/chat/codex_models.rb', line 11

def pro_only
  @pro_only
end

Instance Method Details

#pro_only?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/ruby_coded/chat/codex_models.rb', line 21

def pro_only?
  pro_only == true
end

#providerObject



17
18
19
# File 'lib/ruby_coded/chat/codex_models.rb', line 17

def provider
  PROVIDER
end

#to_sObject



13
14
15
# File 'lib/ruby_coded/chat/codex_models.rb', line 13

def to_s
  id
end