Class: LiterLlm::ModerationCategoryScores
- Inherits:
-
Object
- Object
- LiterLlm::ModerationCategoryScores
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#harassment ⇒ Float?
Returns the value of attribute harassment.
-
#harassment_threatening ⇒ Float?
Returns the value of attribute harassment_threatening.
-
#hate ⇒ Float?
Returns the value of attribute hate.
-
#hate_threatening ⇒ Float?
Returns the value of attribute hate_threatening.
-
#self_harm ⇒ Float?
Returns the value of attribute self_harm.
-
#self_harm_instructions ⇒ Float?
Returns the value of attribute self_harm_instructions.
-
#self_harm_intent ⇒ Float?
Returns the value of attribute self_harm_intent.
-
#sexual ⇒ Float?
Returns the value of attribute sexual.
-
#sexual_minors ⇒ Float?
Returns the value of attribute sexual_minors.
-
#violence ⇒ Float?
Returns the value of attribute violence.
-
#violence_graphic ⇒ Float?
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.
408 |
# File 'sig/types.rbs', line 408
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?
Returns the value of attribute harassment.
398 399 400 |
# File 'sig/types.rbs', line 398 def harassment @harassment end |
#harassment_threatening ⇒ Float?
Returns the value of attribute harassment_threatening.
405 406 407 |
# File 'sig/types.rbs', line 405 def harassment_threatening @harassment_threatening end |
#hate ⇒ Float?
Returns the value of attribute hate.
397 398 399 |
# File 'sig/types.rbs', line 397 def hate @hate end |
#hate_threatening ⇒ Float?
Returns the value of attribute hate_threatening.
401 402 403 |
# File 'sig/types.rbs', line 401 def hate_threatening @hate_threatening end |
#self_harm ⇒ Float?
Returns the value of attribute self_harm.
399 400 401 |
# File 'sig/types.rbs', line 399 def self_harm @self_harm end |
#self_harm_instructions ⇒ Float?
Returns the value of attribute self_harm_instructions.
404 405 406 |
# File 'sig/types.rbs', line 404 def self_harm_instructions @self_harm_instructions end |
#self_harm_intent ⇒ Float?
Returns the value of attribute self_harm_intent.
403 404 405 |
# File 'sig/types.rbs', line 403 def self_harm_intent @self_harm_intent end |
#sexual ⇒ Float?
Returns the value of attribute sexual.
396 397 398 |
# File 'sig/types.rbs', line 396 def sexual @sexual end |
#sexual_minors ⇒ Float?
Returns the value of attribute sexual_minors.
400 401 402 |
# File 'sig/types.rbs', line 400 def sexual_minors @sexual_minors end |
#violence ⇒ Float?
Returns the value of attribute violence.
406 407 408 |
# File 'sig/types.rbs', line 406 def violence @violence end |
#violence_graphic ⇒ Float?
Returns the value of attribute violence_graphic.
402 403 404 |
# File 'sig/types.rbs', line 402 def violence_graphic @violence_graphic end |