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