controllers

package
v0.0.0-...-5338690 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzeIt

func AnalyzeIt(payload string)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL