Class: LiterLlm::ModerationCategories

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeModerationCategories

Returns a new instance of ModerationCategories.

Parameters:

  • sexual: (Boolean)
  • hate: (Boolean)
  • harassment: (Boolean)
  • self_harm: (Boolean)
  • sexual_minors: (Boolean)
  • hate_threatening: (Boolean)
  • violence_graphic: (Boolean)
  • self_harm_intent: (Boolean)
  • self_harm_instructions: (Boolean)
  • harassment_threatening: (Boolean)
  • violence: (Boolean)


582
# File 'sig/types.rbs', line 582

def initialize: (?sexual: bool, ?hate: bool, ?harassment: bool, ?self_harm: bool, ?sexual_minors: bool, ?hate_threatening: bool, ?violence_graphic: bool, ?self_harm_intent: bool, ?self_harm_instructions: bool, ?harassment_threatening: bool, ?violence: bool) -> void

Instance Attribute Details

#harassmentBoolean (readonly)

Returns the value of attribute harassment.

Returns:

  • (Boolean)


572
573
574
# File 'sig/types.rbs', line 572

def harassment
  @harassment
end

#harassment_threateningBoolean (readonly)

Returns the value of attribute harassment_threatening.

Returns:

  • (Boolean)


579
580
581
# File 'sig/types.rbs', line 579

def harassment_threatening
  @harassment_threatening
end

#hateBoolean (readonly)

Returns the value of attribute hate.

Returns:

  • (Boolean)


571
572
573
# File 'sig/types.rbs', line 571

def hate
  @hate
end

#hate_threateningBoolean (readonly)

Returns the value of attribute hate_threatening.

Returns:

  • (Boolean)


575
576
577
# File 'sig/types.rbs', line 575

def hate_threatening
  @hate_threatening
end

#self_harmBoolean (readonly)

Returns the value of attribute self_harm.

Returns:

  • (Boolean)


573
574
575
# File 'sig/types.rbs', line 573

def self_harm
  @self_harm
end

#self_harm_instructionsBoolean (readonly)

Returns the value of attribute self_harm_instructions.

Returns:

  • (Boolean)


578
579
580
# File 'sig/types.rbs', line 578

def self_harm_instructions
  @self_harm_instructions
end

#self_harm_intentBoolean (readonly)

Returns the value of attribute self_harm_intent.

Returns:

  • (Boolean)


577
578
579
# File 'sig/types.rbs', line 577

def self_harm_intent
  @self_harm_intent
end

#sexualBoolean (readonly)

Returns the value of attribute sexual.

Returns:

  • (Boolean)


570
571
572
# File 'sig/types.rbs', line 570

def sexual
  @sexual
end

#sexual_minorsBoolean (readonly)

Returns the value of attribute sexual_minors.

Returns:

  • (Boolean)


574
575
576
# File 'sig/types.rbs', line 574

def sexual_minors
  @sexual_minors
end

#violenceBoolean (readonly)

Returns the value of attribute violence.

Returns:

  • (Boolean)


580
581
582
# File 'sig/types.rbs', line 580

def violence
  @violence
end

#violence_graphicBoolean (readonly)

Returns the value of attribute violence_graphic.

Returns:

  • (Boolean)


576
577
578
# File 'sig/types.rbs', line 576

def violence_graphic
  @violence_graphic
end