import { Moderations } from "https://deno.land/x/openai@v4.39.0/resources/moderations.ts";
class Moderations
extends APIResource
import { Moderations } from "https://deno.land/x/openai@v4.39.0/resources/moderations.ts";
Methods
create(body: ModerationCreateParams, options?: Core.RequestOptions): Core.APIPromise<ModerationCreateResponse>
Classifies if text is potentially harmful.