Class: LiterLlm::EmbeddingResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeEmbeddingResponse



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

def initialize: (object: String, data: Array[EmbeddingObject], model: String, ?usage: Usage) -> void

Instance Attribute Details

#dataArray[EmbeddingObject] (readonly)

Returns the value of attribute data.



349
350
351
# File 'sig/types.rbs', line 349

def data
  @data
end

#modelString (readonly)

Returns the value of attribute model.



350
351
352
# File 'sig/types.rbs', line 350

def model
  @model
end

#objectString (readonly)

Returns the value of attribute object.



348
349
350
# File 'sig/types.rbs', line 348

def object
  @object
end

#usageUsage? (readonly)

Returns the value of attribute usage.



351
352
353
# File 'sig/types.rbs', line 351

def usage
  @usage
end