GoogleApi.Language.V1.Model.ClassificationModelOptions (google_api_language v0.16.3)
View SourceModel options available for classification requests.
Attributes
-
v1Model
(type:GoogleApi.Language.V1.Model.ClassificationModelOptionsV1Model.t
, default:nil
) - Setting this field will use the V1 model and V1 content categories version. The V1 model is a legacy model; support for this will be discontinued in the future. -
v2Model
(type:GoogleApi.Language.V1.Model.ClassificationModelOptionsV2Model.t
, default:nil
) - Setting this field will use the V2 model with the appropriate content categories version. The V2 model is a better performing model.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Language.V1.Model.ClassificationModelOptions{ v1Model: GoogleApi.Language.V1.Model.ClassificationModelOptionsV1Model.t() | nil, v2Model: GoogleApi.Language.V1.Model.ClassificationModelOptionsV2Model.t() | nil }