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)


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

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?

Returns the value of attribute harassment.

Returns:

  • (Boolean, nil)


379
380
381
# File 'sig/types.rbs', line 379

def harassment
  @harassment
end

#harassment_threateningBoolean?

Returns the value of attribute harassment_threatening.

Returns:

  • (Boolean, nil)


386
387
388
# File 'sig/types.rbs', line 386

def harassment_threatening
  @harassment_threatening
end

#hateBoolean?

Returns the value of attribute hate.

Returns:

  • (Boolean, nil)


378
379
380
# File 'sig/types.rbs', line 378

def hate
  @hate
end

#hate_threateningBoolean?

Returns the value of attribute hate_threatening.

Returns:

  • (Boolean, nil)


382
383
384
# File 'sig/types.rbs', line 382

def hate_threatening
  @hate_threatening
end

#self_harmBoolean?

Returns the value of attribute self_harm.

Returns:

  • (Boolean, nil)


380
381
382
# File 'sig/types.rbs', line 380

def self_harm
  @self_harm
end

#self_harm_instructionsBoolean?

Returns the value of attribute self_harm_instructions.

Returns:

  • (Boolean, nil)


385
386
387
# File 'sig/types.rbs', line 385

def self_harm_instructions
  @self_harm_instructions
end

#self_harm_intentBoolean?

Returns the value of attribute self_harm_intent.

Returns:

  • (Boolean, nil)


384
385
386
# File 'sig/types.rbs', line 384

def self_harm_intent
  @self_harm_intent
end

#sexualBoolean?

Returns the value of attribute sexual.

Returns:

  • (Boolean, nil)


377
378
379
# File 'sig/types.rbs', line 377

def sexual
  @sexual
end

#sexual_minorsBoolean?

Returns the value of attribute sexual_minors.

Returns:

  • (Boolean, nil)


381
382
383
# File 'sig/types.rbs', line 381

def sexual_minors
  @sexual_minors
end

#violenceBoolean?

Returns the value of attribute violence.

Returns:

  • (Boolean, nil)


387
388
389
# File 'sig/types.rbs', line 387

def violence
  @violence
end

#violence_graphicBoolean?

Returns the value of attribute violence_graphic.

Returns:

  • (Boolean, nil)


383
384
385
# File 'sig/types.rbs', line 383

def violence_graphic
  @violence_graphic
end