Class: LiterLlm::ModerationCategoryScores
- Inherits:
-
Object
- Object
- LiterLlm::ModerationCategoryScores
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#harassment ⇒ Float
readonly
Returns the value of attribute harassment.
-
#harassment_threatening ⇒ Float
readonly
Returns the value of attribute harassment_threatening.
-
#hate ⇒ Float
readonly
Returns the value of attribute hate.
-
#hate_threatening ⇒ Float
readonly
Returns the value of attribute hate_threatening.
-
#self_harm ⇒ Float
readonly
Returns the value of attribute self_harm.
-
#self_harm_instructions ⇒ Float
readonly
Returns the value of attribute self_harm_instructions.
-
#self_harm_intent ⇒ Float
readonly
Returns the value of attribute self_harm_intent.
-
#sexual ⇒ Float
readonly
Returns the value of attribute sexual.
-
#sexual_minors ⇒ Float
readonly
Returns the value of attribute sexual_minors.
-
#violence ⇒ Float
readonly
Returns the value of attribute violence.
-
#violence_graphic ⇒ Float
readonly
Returns the value of attribute violence_graphic.
Instance Method Summary collapse
-
#initialize ⇒ ModerationCategoryScores
constructor
A new instance of ModerationCategoryScores.
Constructor Details
#initialize ⇒ ModerationCategoryScores
Returns a new instance of ModerationCategoryScores.
598 |
# File 'sig/types.rbs', line 598
def initialize: (?sexual: Float, ?hate: Float, ?harassment: Float, ?self_harm: Float, ?sexual_minors: Float, ?hate_threatening: Float, ?violence_graphic: Float, ?self_harm_intent: Float, ?self_harm_instructions: Float, ?harassment_threatening: Float, ?violence: Float) -> void
|
Instance Attribute Details
#harassment ⇒ Float (readonly)
Returns the value of attribute harassment.
588 589 590 |
# File 'sig/types.rbs', line 588 def harassment @harassment end |
#harassment_threatening ⇒ Float (readonly)
Returns the value of attribute harassment_threatening.
595 596 597 |
# File 'sig/types.rbs', line 595 def harassment_threatening @harassment_threatening end |
#hate ⇒ Float (readonly)
Returns the value of attribute hate.
587 588 589 |
# File 'sig/types.rbs', line 587 def hate @hate end |
#hate_threatening ⇒ Float (readonly)
Returns the value of attribute hate_threatening.
591 592 593 |
# File 'sig/types.rbs', line 591 def hate_threatening @hate_threatening end |
#self_harm ⇒ Float (readonly)
Returns the value of attribute self_harm.
589 590 591 |
# File 'sig/types.rbs', line 589 def self_harm @self_harm end |
#self_harm_instructions ⇒ Float (readonly)
Returns the value of attribute self_harm_instructions.
594 595 596 |
# File 'sig/types.rbs', line 594 def self_harm_instructions @self_harm_instructions end |
#self_harm_intent ⇒ Float (readonly)
Returns the value of attribute self_harm_intent.
593 594 595 |
# File 'sig/types.rbs', line 593 def self_harm_intent @self_harm_intent end |
#sexual ⇒ Float (readonly)
Returns the value of attribute sexual.
586 587 588 |
# File 'sig/types.rbs', line 586 def sexual @sexual end |
#sexual_minors ⇒ Float (readonly)
Returns the value of attribute sexual_minors.
590 591 592 |
# File 'sig/types.rbs', line 590 def sexual_minors @sexual_minors end |
#violence ⇒ Float (readonly)
Returns the value of attribute violence.
596 597 598 |
# File 'sig/types.rbs', line 596 def violence @violence end |
#violence_graphic ⇒ Float (readonly)
Returns the value of attribute violence_graphic.
592 593 594 |
# File 'sig/types.rbs', line 592 def violence_graphic @violence_graphic end |