Class: LiterLlm::ModerationResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeModerationResponse

Returns a new instance of ModerationResponse.

Parameters:



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

def initialize: (id: String, model: String, results: Array[ModerationResult]) -> void

Instance Attribute Details

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


374
375
376
# File 'sig/types.rbs', line 374

def id
  @id
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


375
376
377
# File 'sig/types.rbs', line 375

def model
  @model
end

#resultsArray[ModerationResult] (readonly)

Returns the value of attribute results.

Returns:



376
377
378
# File 'sig/types.rbs', line 376

def results
  @results
end