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:



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

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

Instance Attribute Details

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


609
610
611
# File 'sig/types.rbs', line 609

def id
  @id
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


610
611
612
# File 'sig/types.rbs', line 610

def model
  @model
end

#resultsArray[ModerationResult] (readonly)

Returns the value of attribute results.

Returns:



611
612
613
# File 'sig/types.rbs', line 611

def results
  @results
end