Skip to content

Commit 20053e7

Browse files
committed
Added some comments
1 parent 97228f1 commit 20053e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/openai/moderations.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ type responseModerations struct {
2121
Results []Moderation `json:"results"`
2222
}
2323

24+
// Moderation represents the moderation of a text, including whether it is flagged
2425
type Moderation struct {
2526
Flagged bool `json:"flagged"`
2627
Categories struct {

0 commit comments

Comments
 (0)