We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97228f1 commit 20053e7Copy full SHA for 20053e7
pkg/openai/moderations.go
@@ -21,6 +21,7 @@ type responseModerations struct {
21
Results []Moderation `json:"results"`
22
}
23
24
+// Moderation represents the moderation of a text, including whether it is flagged
25
type Moderation struct {
26
Flagged bool `json:"flagged"`
27
Categories struct {
0 commit comments