Class: LiterLlm::ModerationResult
- Inherits:
-
Object
- Object
- LiterLlm::ModerationResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#categories ⇒ ModerationCategories
readonly
Returns the value of attribute categories.
-
#category_scores ⇒ ModerationCategoryScores
readonly
Returns the value of attribute category_scores.
-
#flagged ⇒ Boolean
readonly
Returns the value of attribute flagged.
Instance Method Summary collapse
-
#initialize ⇒ ModerationResult
constructor
A new instance of ModerationResult.
Constructor Details
#initialize ⇒ ModerationResult
Returns a new instance of ModerationResult.
376 |
# File 'sig/types.rbs', line 376
def initialize: (flagged: bool, categories: ModerationCategories, category_scores: ModerationCategoryScores) -> void
|
Instance Attribute Details
#categories ⇒ ModerationCategories (readonly)
Returns the value of attribute categories.
373 374 375 |
# File 'sig/types.rbs', line 373 def categories @categories end |
#category_scores ⇒ ModerationCategoryScores (readonly)
Returns the value of attribute category_scores.
374 375 376 |
# File 'sig/types.rbs', line 374 def category_scores @category_scores end |
#flagged ⇒ Boolean (readonly)
Returns the value of attribute flagged.
372 373 374 |
# File 'sig/types.rbs', line 372 def flagged @flagged end |