Class: LiterLlm::ModerationCategoryScores

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeModerationCategoryScores

Returns a new instance of ModerationCategoryScores.

Parameters:

  • 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)


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

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

#harassmentFloat (readonly)

Returns the value of attribute harassment.

Returns:

  • (Float)


408
409
410
# File 'sig/types.rbs', line 408

def harassment
  @harassment
end

#harassment_threateningFloat (readonly)

Returns the value of attribute harassment_threatening.

Returns:

  • (Float)


415
416
417
# File 'sig/types.rbs', line 415

def harassment_threatening
  @harassment_threatening
end

#hateFloat (readonly)

Returns the value of attribute hate.

Returns:

  • (Float)


407
408
409
# File 'sig/types.rbs', line 407

def hate
  @hate
end

#hate_threateningFloat (readonly)

Returns the value of attribute hate_threatening.

Returns:

  • (Float)


411
412
413
# File 'sig/types.rbs', line 411

def hate_threatening
  @hate_threatening
end

#self_harmFloat (readonly)

Returns the value of attribute self_harm.

Returns:

  • (Float)


409
410
411
# File 'sig/types.rbs', line 409

def self_harm
  @self_harm
end

#self_harm_instructionsFloat (readonly)

Returns the value of attribute self_harm_instructions.

Returns:

  • (Float)


414
415
416
# File 'sig/types.rbs', line 414

def self_harm_instructions
  @self_harm_instructions
end

#self_harm_intentFloat (readonly)

Returns the value of attribute self_harm_intent.

Returns:

  • (Float)


413
414
415
# File 'sig/types.rbs', line 413

def self_harm_intent
  @self_harm_intent
end

#sexualFloat (readonly)

Returns the value of attribute sexual.

Returns:

  • (Float)


406
407
408
# File 'sig/types.rbs', line 406

def sexual
  @sexual
end

#sexual_minorsFloat (readonly)

Returns the value of attribute sexual_minors.

Returns:

  • (Float)


410
411
412
# File 'sig/types.rbs', line 410

def sexual_minors
  @sexual_minors
end

#violenceFloat (readonly)

Returns the value of attribute violence.

Returns:

  • (Float)


416
417
418
# File 'sig/types.rbs', line 416

def violence
  @violence
end

#violence_graphicFloat (readonly)

Returns the value of attribute violence_graphic.

Returns:

  • (Float)


412
413
414
# File 'sig/types.rbs', line 412

def violence_graphic
  @violence_graphic
end