ClassificationModelOptions class
Model options available for classification requests.
Constructors
- ClassificationModelOptions({ClassificationModelOptionsV1Model? v1Model, ClassificationModelOptionsV2Model? v2Model})
- ClassificationModelOptions.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- v1Model ↔ ClassificationModelOptionsV1Model?
-
Setting this field will use the V1 model and V1 content categories
version.
getter/setter pair
- v2Model ↔ ClassificationModelOptionsV2Model?
-
Setting this field will use the V2 model with the appropriate content
categories version.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited