CreateModerationRequest class abstract
CreateModerationRequest
Properties:
- input
- model - Two content moderations models are available:
text-moderation-stable
andtext-moderation-latest
. The default istext-moderation-latest
which will be automatically upgraded over time. This ensures you are always using our most accurate model. If you usetext-moderation-stable
, we will provide advanced notice before updating the model. Accuracy oftext-moderation-stable
may be slightly lower than fortext-moderation-latest
.
- Annotations
-
- @BuiltValue()
Constructors
- CreateModerationRequest([void updates(CreateModerationRequestBuilder b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- input → CreateModerationRequestInput
-
no setter
- model → String?
-
Two content moderations models are available:
text-moderation-stable
andtext-moderation-latest
. The default istext-moderation-latest
which will be automatically upgraded over time. This ensures you are always using our most accurate model. If you usetext-moderation-stable
, we will provide advanced notice before updating the model. Accuracy oftext-moderation-stable
may be slightly lower than fortext-moderation-latest
.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(CreateModerationRequestBuilder)) → CreateModerationRequest -
Rebuilds the instance.
inherited
-
toBuilder(
) → CreateModerationRequestBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
CreateModerationRequest> -
no setter