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:



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

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

Instance Attribute Details

#idString (readonly)

Returns the value of attribute id.

Returns:

  • (String)


364
365
366
# File 'sig/types.rbs', line 364

def id
  @id
end

#modelString (readonly)

Returns the value of attribute model.

Returns:

  • (String)


365
366
367
# File 'sig/types.rbs', line 365

def model
  @model
end

#resultsArray[ModerationResult] (readonly)

Returns the value of attribute results.

Returns:



366
367
368
# File 'sig/types.rbs', line 366

def results
  @results
end