检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
label String 音频片段检测标签,选取detail中置信度最大的标签,可取值如下: terrorism: 暴恐 porn: 色情 ad: 广告 ad_law: 广告法 abuse: 辱骂 ban: 违禁 meaningless: 无意义 moan: 娇喘 audio_text String
RunCreateAudioModerationJobRequest() listCategoriesbody = [ "ad" ] databody = AudioInputBody( url="http://xxx
withType("content") ); const listbodyCategories = new Array(); listbodyCategories.push("ad"); listbodyCategories.push("abuse"); listbodyCategories.push("porn");
"request_id": "fa520dddb6b54af51c8d1e6d19898656", "job_id": "01690387200_09ad14f155bb47e9bf2718ace57c73ed" } 父主题: 视频流审核
(); const listbodyCategories = new Array(); listbodyCategories.push("ad"); const databody = new moderation.v3.AudioStreamCreateRequestData();
listTextDetectionReqCategoriesbody = [ "porn", "ad", "abuse", "contraband", "flood"
RunCreateAudioStreamModerationJobRequest() listCategoriesbody = [ "ad" ] databody = AudioStreamCreateRequestData(
derationJobRequest{} var listCategoriesbody = []string{ "ad", } databody := &model.AudioStreamCreateRequestData{
} var listCategoriesbody = []string{ "porn", "ad", "abuse", "contraband", "flood", } request
"data":{"url":"https://xxxx.wav"},"callback":"http://xxx","categories":["porn","ad"]},"create_time":"2022-06-20 11:05:29","update_time":"2022-06-20 11:07:08"
array_push($listbodyCategories,"porn"); array_push($listbodyCategories,"ad"); array_push($listbodyCategories,"abuse"); array_push($listbodyCategories
st(); $listbodyCategories = array(); array_push($listbodyCategories,"ad"); $databody = new AudioStreamCreateRequestData(); $databody->setUrl("http://xxx");
{"request_id": "fa520dddb6b54af51c8d1e6d19898656", "job_id": "01690387200_09ad14f155bb47e9bf2718ace57c73ed"} 父主题: 视频流审核
st_id": "fa520dddb6b54af51c8d1e6d19898656", "job_id": "01690387200_09ad14f155bb47e9bf2718ace57c73ed"} 父主题: 视频流审核
"data":{"url":"https://xxxx.wav"},"callback":"http://xxx","categories":["porn","ad"]},"create_time":"2022-06-20 11:05:29","update_time":"2022-06-20 11:07:08"
控制台输出200即表示程序执行成功,文本内容审核结果输出到控制台。 class RunTextModerationResponse { requestId: 308b6ad2740e51de73597da9fdc94ee1 result: class TextDetectionResult {
"block", "category": "image_text", "confidence": 0.98779297, "label": "ad"}, {"suggestion": "block", "category": "image_text", "confidence": 1
= new moderation.RunCheckResultRequest(); request.jobId = "321cb5b6-3ad3-461a-b258-7ba7f530b91a"; const result = client.runCheckResult(request);
控制台输出创建文档内容审核作业提交的结果。 class RunCreateDocumentModerationJobResponse { requestId: 86ad03c26917901d22e06d2f28ba2c7a jobId: 01690387200_1434ba6e1de44666877e748133b1d2e9
'terrorism': 'pass'}, 'detail': {'ad': None, 'porn': [{'confidence': 0