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.
368 |
# File 'sig/types.rbs', line 368
def initialize: (id: String, model: String, results: Array[ModerationResult]) -> void
|
Instance Attribute Details
#id ⇒ String (readonly)
Returns the value of attribute id.
364 365 366 |
# File 'sig/types.rbs', line 364 def id @id end |
#model ⇒ String (readonly)
Returns the value of attribute model.
365 366 367 |
# File 'sig/types.rbs', line 365 def model @model end |
#results ⇒ Array[ModerationResult] (readonly)
Returns the value of attribute results.
366 367 368 |
# File 'sig/types.rbs', line 366 def results @results end |