Class: Tina4::ChatResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/tina4/ai_client.rb

Instance Attribute Summary collapse

Instance Attribute Details

#finish_reasonObject

Returns the value of attribute finish_reason

Returns:

  • (Object)

    the current value of finish_reason



22
23
24
# File 'lib/tina4/ai_client.rb', line 22

def finish_reason
  @finish_reason
end

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



22
23
24
# File 'lib/tina4/ai_client.rb', line 22

def model
  @model
end

#rawObject

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



22
23
24
# File 'lib/tina4/ai_client.rb', line 22

def raw
  @raw
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



22
23
24
# File 'lib/tina4/ai_client.rb', line 22

def text
  @text
end

#usageObject

Returns the value of attribute usage

Returns:

  • (Object)

    the current value of usage



22
23
24
# File 'lib/tina4/ai_client.rb', line 22

def usage
  @usage
end