Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SuggestScore ¶
func SuggestScore(payload string)
Types ¶
type Attribute ¶
type Attribute string
const ( Toxicity Attribute = "TOXICITY" SevereToxicity Attribute = "SEVERE_TOXICITY" IdentityAttack Attribute = "IDENTITY_ATTACK" Insult Attribute = "INSULT" Profanity Attribute = "PROFANITY" Threat Attribute = "THREAT" )
Stable attributes
const ( ExpToxicity Attribute = "TOXICITY_EXPERIMENTAL" ExpSevereToxicity Attribute = "SEVERE_TOXICITY_EXPERIMENTAL" ExpIdentityAttack Attribute = "IDENTITY_ATTACK_EXPERIMENTAL" ExpInsult Attribute = "INSULT_EXPERIMENTAL" ExpProfanity Attribute = "PROFANITY_EXPERIMENTAL" ExpThreat Attribute = "THREAT_EXPERIMENTAL" ExpSexuallyExplicit Attribute = "SEXUALLY_EXPLICIT" ExpFlirtation Attribute = "FLIRTATION" )
Experemental attributes
Click to show internal directories.
Click to hide internal directories.