Class Categories
java.lang.Object
org.springframework.ai.moderation.Categories
The Categories class represents a set of categories used to classify content. Each
category can be either true (indicating that the content belongs to the category) or
false (indicating that the content does not belong to the category).
- Since:
- 1.0.0
- Author:
- Ahmed Yousri
-
Method Details
-
isSexual
public boolean isSexual() -
isHate
public boolean isHate() -
isHarassment
public boolean isHarassment() -
isSelfHarm
public boolean isSelfHarm() -
isSexualMinors
public boolean isSexualMinors() -
isHateThreatening
public boolean isHateThreatening() -
isViolenceGraphic
public boolean isViolenceGraphic() -
isSelfHarmIntent
public boolean isSelfHarmIntent() -
isSelfHarmInstructions
public boolean isSelfHarmInstructions() -
isHarassmentThreatening
public boolean isHarassmentThreatening() -
isViolence
public boolean isViolence() -
builder
-
equals
-
hashCode
public int hashCode() -
toString
-