Class: LiterLlm::ModerationResponse
- Inherits:
-
Object
- Object
- LiterLlm::ModerationResponse
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#model ⇒ String
readonly
Returns the value of attribute model.
-
#results ⇒ Array[ModerationResult]
readonly
Returns the value of attribute results.
Instance Method Summary collapse
-
#initialize ⇒ ModerationResponse
constructor
A new instance of ModerationResponse.
Constructor Details
#initialize ⇒ ModerationResponse
Returns a new instance of ModerationResponse.
378 |
# File 'sig/types.rbs', line 378
def initialize: (id: String, model: String, results: Array[ModerationResult]) -> void
|
Instance Attribute Details
#id ⇒ String (readonly)
Returns the value of attribute id.
374 375 376 |
# File 'sig/types.rbs', line 374 def id @id end |
#model ⇒ String (readonly)
Returns the value of attribute model.
375 376 377 |
# File 'sig/types.rbs', line 375 def model @model end |
#results ⇒ Array[ModerationResult] (readonly)
Returns the value of attribute results.
376 377 378 |
# File 'sig/types.rbs', line 376 def results @results end |