Package com.openai.services.blocking
Interface ModerationService
-
- All Implemented Interfaces:
public interface ModerationService
-
-
Method Summary
Modifier and Type Method Description abstract ModerationCreateResponse
create(ModerationCreateParams params, RequestOptions requestOptions)
Classifies if text and/or image inputs are potentially harmful. abstract ModerationCreateResponse
create(ModerationCreateParams params)
Classifies if text and/or image inputs are potentially harmful. -
-
Method Detail
-
create
abstract ModerationCreateResponse create(ModerationCreateParams params, RequestOptions requestOptions)
Classifies if text and/or image inputs are potentially harmful. Learn more in the moderation guide.
-
create
abstract ModerationCreateResponse create(ModerationCreateParams params)
Classifies if text and/or image inputs are potentially harmful. Learn more in the moderation guide.
-
-
-
-