Class CategoryScores
java.lang.Object
org.springframework.ai.moderation.CategoryScores
This class represents the scores for different categories of content. Each category has
a score ranging from 0.0 to 1.0. The scores represent the severity or intensity of the
content in each respective category.
- Since:
- 1.0.0
- Author:
- Ahmed Yousri, Ilayaperumal Gopinathan, Ricken Bazolo, Jonghoon Park
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
builder
-
getSexual
public double getSexual() -
getHate
public double getHate() -
getHarassment
public double getHarassment() -
getSelfHarm
public double getSelfHarm() -
getSexualMinors
public double getSexualMinors() -
getHateThreatening
public double getHateThreatening() -
getViolenceGraphic
public double getViolenceGraphic() -
getSelfHarmIntent
public double getSelfHarmIntent() -
getSelfHarmInstructions
public double getSelfHarmInstructions() -
getHarassmentThreatening
public double getHarassmentThreatening() -
getViolence
public double getViolence() -
getDangerousAndCriminalContent
public double getDangerousAndCriminalContent() -
getHealth
public double getHealth() -
getFinancial
public double getFinancial() -
getLaw
public double getLaw() -
getPii
public double getPii() -
equals
-
hashCode
public int hashCode() -
toString
-