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)


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

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)


392
393
394
# File 'sig/types.rbs', line 392

def harassment
  @harassment
end

#harassment_threateningBoolean (readonly)

Returns the value of attribute harassment_threatening.

Returns:

  • (Boolean)


399
400
401
# File 'sig/types.rbs', line 399

def harassment_threatening
  @harassment_threatening
end

#hateBoolean (readonly)

Returns the value of attribute hate.

Returns:

  • (Boolean)


391
392
393
# File 'sig/types.rbs', line 391

def hate
  @hate
end

#hate_threateningBoolean (readonly)

Returns the value of attribute hate_threatening.

Returns:

  • (Boolean)


395
396
397
# File 'sig/types.rbs', line 395

def hate_threatening
  @hate_threatening
end

#self_harmBoolean (readonly)

Returns the value of attribute self_harm.

Returns:

  • (Boolean)


393
394
395
# File 'sig/types.rbs', line 393

def self_harm
  @self_harm
end

#self_harm_instructionsBoolean (readonly)

Returns the value of attribute self_harm_instructions.

Returns:

  • (Boolean)


398
399
400
# File 'sig/types.rbs', line 398

def self_harm_instructions
  @self_harm_instructions
end

#self_harm_intentBoolean (readonly)

Returns the value of attribute self_harm_intent.

Returns:

  • (Boolean)


397
398
399
# File 'sig/types.rbs', line 397

def self_harm_intent
  @self_harm_intent
end

#sexualBoolean (readonly)

Returns the value of attribute sexual.

Returns:

  • (Boolean)


390
391
392
# File 'sig/types.rbs', line 390

def sexual
  @sexual
end

#sexual_minorsBoolean (readonly)

Returns the value of attribute sexual_minors.

Returns:

  • (Boolean)


394
395
396
# File 'sig/types.rbs', line 394

def sexual_minors
  @sexual_minors
end

#violenceBoolean (readonly)

Returns the value of attribute violence.

Returns:

  • (Boolean)


400
401
402
# File 'sig/types.rbs', line 400

def violence
  @violence
end

#violence_graphicBoolean (readonly)

Returns the value of attribute violence_graphic.

Returns:

  • (Boolean)


396
397
398
# File 'sig/types.rbs', line 396

def violence_graphic
  @violence_graphic
end