ClassificationModelOptions

分类请求可用的模型选项。

JSON 表示法
{

  // Union field model_type can be only one of the following:
  "v1Model": {
    object (V1Model)
  },
  "v2Model": {
    object (V2Model)
  }
  // End of list of possible types for union field model_type.
}
字段
联合字段 model_type。如果未设置此字段,则系统将默认使用 v1_modelmodel_type 只能是下列其中一项:
v1Model

object (V1Model)

设置此字段将使用 V1 模型和 V1 内容类别版本。V1 模型是旧版模型;我们日后将不再支持此模型。

v2Model

object (V2Model)

设置此字段后,系统将使用具有适当内容类别版本的 V2 模型。V2 模型的效果更好。

V1Model

此类型没有字段。

V1 模型的选项。

V2Model

V2 模型的选项。

JSON 表示法
{
  "contentCategoriesVersion": enum (ContentCategoriesVersion)
}
字段
contentCategoriesVersion

enum (ContentCategoriesVersion)

用于分类的内容类别。

ContentCategoriesVersion

用于分类的内容类别。

枚举
CONTENT_CATEGORIES_VERSION_UNSPECIFIED 如果未指定 ContentCategoriesVersion,此选项将默认为 V1
V1 我们在 2017 年首次推出的旧版内容类别。
V2 2022 年更新了内容类别。