OpenaiModerationRequestSpecification

Request specification for OpenAI Moderation endpoint.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Adds a matcher to ensure input contains the given substring.

Link copied to clipboard
Link copied to clipboard
fun requestMatches(matcher: Matcher<CreateModerationRequest?>)
Link copied to clipboard
Link copied to clipboard
fun requestSatisfies(description: String?, call: (CreateModerationRequest?) -> Unit)