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: (String)


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

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

Instance Attribute Details

#created_atInteger (readonly)

Returns the value of attribute created_at.

Returns:

  • (Integer)


738
739
740
# File 'sig/types.rbs', line 738

def created_at
  @created_at
end

#errorString? (readonly)

Returns the value of attribute error.

Returns:

  • (String, nil)


743
744
745
# File 'sig/types.rbs', line 743

def error
  @error
end

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


736
737
738
# File 'sig/types.rbs', line 736

def id
  @id
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


739
740
741
# File 'sig/types.rbs', line 739

def model
  @model
end

#objectString (readonly)

Returns the value of attribute object.

Returns:

  • (String)


737
738
739
# File 'sig/types.rbs', line 737

def object
  @object
end

#outputArray[ResponseOutputItem] (readonly)

Returns the value of attribute output.

Returns:



741
742
743
# File 'sig/types.rbs', line 741

def output
  @output
end

#statusString (readonly)

Returns the value of attribute status.

Returns:

  • (String)


740
741
742
# File 'sig/types.rbs', line 740

def status
  @status
end

#usageResponseUsage? (readonly)

Returns the value of attribute usage.

Returns:



742
743
744
# File 'sig/types.rbs', line 742

def usage
  @usage
end