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