Package | Description |
---|---|
com.tencentcloudapi.ims.v20201229.models |
Modifier and Type | Method and Description |
---|---|
LabelResult[] |
ImageModerationResponse.getLabelResults()
Get 该字段用于返回检测结果(LabelResults)中所对应的优先级最高的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。
返回值标签示例:Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告(说明:文档仅示例了部分风险类型,更多返回类型请以实际值为准或咨询客服)
注意:此字段可能返回 null,表示取不到有效值。
|
Modifier and Type | Method and Description |
---|---|
void |
ImageModerationResponse.setLabelResults(LabelResult[] LabelResults)
Set 该字段用于返回检测结果(LabelResults)中所对应的优先级最高的恶意标签,表示模型推荐的审核结果,建议您按照业务所需,对不同违规类型与建议值进行处理。
返回值标签示例:Normal:正常,Porn:色情,Abuse:谩骂,Ad:广告(说明:文档仅示例了部分风险类型,更多返回类型请以实际值为准或咨询客服)
注意:此字段可能返回 null,表示取不到有效值。
|
Constructor and Description |
---|
LabelResult(LabelResult source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2025. All rights reserved.