Class: LiterLlm::ResponseObject

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeResponseObject

Returns a new instance of ResponseObject.

Parameters:

  • id: (String)
  • object: (String)
  • created_at: (Integer)
  • model: (String)
  • status: (String)
  • output: (Array[ResponseOutputItem])
  • usage: (ResponseUsage)
  • error: (json_value)


651
# File 'sig/types.rbs', line 651

def initialize: (?id: String, ?object: String, ?created_at: Integer, ?model: String, ?status: String, ?output: Array[ResponseOutputItem], ?usage: ResponseUsage, ?error: json_value) -> void

Instance Attribute Details

#created_atInteger?

Returns the value of attribute created_at.

Returns:

  • (Integer, nil)


644
645
646
# File 'sig/types.rbs', line 644

def created_at
  @created_at
end

#errorjson_value?

Returns the value of attribute error.

Returns:

  • (json_value, nil)


649
650
651
# File 'sig/types.rbs', line 649

def error
  @error
end

#idString?

Returns the value of attribute id.

Returns:

  • (String, nil)


642
643
644
# File 'sig/types.rbs', line 642

def id
  @id
end

#modelString?

Returns the value of attribute model.

Returns:

  • (String, nil)


645
646
647
# File 'sig/types.rbs', line 645

def model
  @model
end

#objectString?

Returns the value of attribute object.

Returns:

  • (String, nil)


643
644
645
# File 'sig/types.rbs', line 643

def object
  @object
end

#outputArray[ResponseOutputItem]?

Returns the value of attribute output.

Returns:



647
648
649
# File 'sig/types.rbs', line 647

def output
  @output
end

#statusString?

Returns the value of attribute status.

Returns:

  • (String, nil)


646
647
648
# File 'sig/types.rbs', line 646

def status
  @status
end

#usageResponseUsage?

Returns the value of attribute usage.

Returns:



648
649
650
# File 'sig/types.rbs', line 648

def usage
  @usage
end