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



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

def finish_reason
  @finish_reason
end

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



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

def model
  @model
end

#rawObject

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



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

def raw
  @raw
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



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

def text
  @text
end

#usageObject

Returns the value of attribute usage

Returns:

  • (Object)

    the current value of usage



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

def usage
  @usage
end