public static final class ModelInputContentSyncDetectResponseBody.PromptAttackInfoList.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModelInputContentSyncDetectResponseBody.PromptAttackInfoList |
build() |
ModelInputContentSyncDetectResponseBody.PromptAttackInfoList.Builder |
categoryLabel(String categoryLabel)
Category name
example:
Role Play
|
ModelInputContentSyncDetectResponseBody.PromptAttackInfoList.Builder |
categoryType(Integer categoryType)
0: Text
1: Image
example:
0
|
ModelInputContentSyncDetectResponseBody.PromptAttackInfoList.Builder |
riskResult(Integer riskResult)
0: No risk
1: Risk exists
example:
0
|
ModelInputContentSyncDetectResponseBody.PromptAttackInfoList.Builder |
securityLevel(Integer securityLevel)
Security level
0: Low
1: Medium
2: High
example:
1
|
public ModelInputContentSyncDetectResponseBody.PromptAttackInfoList.Builder categoryLabel(String categoryLabel)
Category name
example:Role Play
public ModelInputContentSyncDetectResponseBody.PromptAttackInfoList.Builder categoryType(Integer categoryType)
0: Text 1: Image
example:0
public ModelInputContentSyncDetectResponseBody.PromptAttackInfoList.Builder riskResult(Integer riskResult)
0: No risk 1: Risk exists
example:0
public ModelInputContentSyncDetectResponseBody.PromptAttackInfoList.Builder securityLevel(Integer securityLevel)
Security level 0: Low 1: Medium 2: High
example:1
public ModelInputContentSyncDetectResponseBody.PromptAttackInfoList build()
Copyright © 2025. All rights reserved.