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)


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

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)


656
657
658
# File 'sig/types.rbs', line 656

def created_at
  @created_at
end

#errorString? (readonly)

Returns the value of attribute error.

Returns:

  • (String, nil)


661
662
663
# File 'sig/types.rbs', line 661

def error
  @error
end

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


654
655
656
# File 'sig/types.rbs', line 654

def id
  @id
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


657
658
659
# File 'sig/types.rbs', line 657

def model
  @model
end

#objectString (readonly)

Returns the value of attribute object.

Returns:

  • (String)


655
656
657
# File 'sig/types.rbs', line 655

def object
  @object
end

#outputArray[ResponseOutputItem] (readonly)

Returns the value of attribute output.

Returns:



659
660
661
# File 'sig/types.rbs', line 659

def output
  @output
end

#statusString (readonly)

Returns the value of attribute status.

Returns:

  • (String)


658
659
660
# File 'sig/types.rbs', line 658

def status
  @status
end

#usageResponseUsage? (readonly)

Returns the value of attribute usage.

Returns:



660
661
662
# File 'sig/types.rbs', line 660

def usage
  @usage
end