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)


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

#harassmentFloat?

Returns the value of attribute harassment.

Returns:

  • (Float, nil)


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

def harassment
  @harassment
end

#harassment_threateningFloat?

Returns the value of attribute harassment_threatening.

Returns:

  • (Float, nil)


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

def harassment_threatening
  @harassment_threatening
end

#hateFloat?

Returns the value of attribute hate.

Returns:

  • (Float, nil)


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

def hate
  @hate
end

#hate_threateningFloat?

Returns the value of attribute hate_threatening.

Returns:

  • (Float, nil)


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

def hate_threatening
  @hate_threatening
end

#self_harmFloat?

Returns the value of attribute self_harm.

Returns:

  • (Float, nil)


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

def self_harm
  @self_harm
end

#self_harm_instructionsFloat?

Returns the value of attribute self_harm_instructions.

Returns:

  • (Float, nil)


404
405
406
# File 'sig/types.rbs', line 404

def self_harm_instructions
  @self_harm_instructions
end

#self_harm_intentFloat?

Returns the value of attribute self_harm_intent.

Returns:

  • (Float, nil)


403
404
405
# File 'sig/types.rbs', line 403

def self_harm_intent
  @self_harm_intent
end

#sexualFloat?

Returns the value of attribute sexual.

Returns:

  • (Float, nil)


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

def sexual
  @sexual
end

#sexual_minorsFloat?

Returns the value of attribute sexual_minors.

Returns:

  • (Float, nil)


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

def sexual_minors
  @sexual_minors
end

#violenceFloat?

Returns the value of attribute violence.

Returns:

  • (Float, nil)


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

def violence
  @violence
end

#violence_graphicFloat?

Returns the value of attribute violence_graphic.

Returns:

  • (Float, nil)


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

def violence_graphic
  @violence_graphic
end