import { Moderation } from "https://deno.land/x/openai@v4.21.0/resources/moderations.ts";
Interfaces
A list of the categories, and whether they are flagged or not. | |
A list of the categories along with their scores as predicted by model. |
import { type Moderation } from "https://deno.land/x/openai@v4.21.0/resources/moderations.ts";
Properties
categories: Moderation.Categories
A list of the categories, and whether they are flagged or not.
category_scores: Moderation.CategoryScores
A list of the categories along with their scores as predicted by model.
Whether the content violates OpenAI's usage policies.