Class: PhaseoAgentSdk::ModelResponse

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

Instance Attribute Summary collapse

Instance Attribute Details

#costObject

Returns the value of attribute cost

Returns:

  • (Object)

    the current value of cost



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

def cost
  @cost
end

#finish_reasonObject

Returns the value of attribute finish_reason

Returns:

  • (Object)

    the current value of finish_reason



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

def finish_reason
  @finish_reason
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



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

def message
  @message
end

#modelObject

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



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

def model
  @model
end

#native_response_idObject

Returns the value of attribute native_response_id

Returns:

  • (Object)

    the current value of native_response_id



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

def native_response_id
  @native_response_id
end

#providerObject

Returns the value of attribute provider

Returns:

  • (Object)

    the current value of provider



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

def provider
  @provider
end

#request_idObject

Returns the value of attribute request_id

Returns:

  • (Object)

    the current value of request_id



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

def request_id
  @request_id
end

#response_metaObject

Returns the value of attribute response_meta

Returns:

  • (Object)

    the current value of response_meta



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

def response_meta
  @response_meta
end

#usageObject

Returns the value of attribute usage

Returns:

  • (Object)

    the current value of usage



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

def usage
  @usage
end

#warningsObject

Returns the value of attribute warnings

Returns:

  • (Object)

    the current value of warnings



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

def warnings
  @warnings
end