tencentcloud-sdk-nodejs-ams 4.1.218 → 4.1.220
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -736,6 +736,51 @@ export interface CancelTaskResponse {
|
|
|
736
736
|
*/
|
|
737
737
|
RequestId?: string;
|
|
738
738
|
}
|
|
739
|
+
/**
|
|
740
|
+
* aigc片段审核结果
|
|
741
|
+
*/
|
|
742
|
+
export interface AIGCRecognitionResult {
|
|
743
|
+
/**
|
|
744
|
+
* <p>一级标签名</p>
|
|
745
|
+
*/
|
|
746
|
+
Label?: string;
|
|
747
|
+
/**
|
|
748
|
+
* <p>一级标签码</p>
|
|
749
|
+
*/
|
|
750
|
+
LabelCode?: string;
|
|
751
|
+
/**
|
|
752
|
+
* <p>分数</p>
|
|
753
|
+
*/
|
|
754
|
+
Score?: number;
|
|
755
|
+
/**
|
|
756
|
+
* <p>该vad片段在原始音频片段中的起始时间偏移</p>
|
|
757
|
+
*/
|
|
758
|
+
StartTime?: number;
|
|
759
|
+
/**
|
|
760
|
+
* <p>该vad片段在原始音频片段中的结束时间偏移</p>
|
|
761
|
+
*/
|
|
762
|
+
EndTime?: number;
|
|
763
|
+
/**
|
|
764
|
+
* <p>建议值</p>
|
|
765
|
+
*/
|
|
766
|
+
Suggestion?: string;
|
|
767
|
+
/**
|
|
768
|
+
* <p>二级标签名</p>
|
|
769
|
+
*/
|
|
770
|
+
SubLabel?: string;
|
|
771
|
+
/**
|
|
772
|
+
* <p>二级标签码</p>
|
|
773
|
+
*/
|
|
774
|
+
SubLabelCode?: string;
|
|
775
|
+
/**
|
|
776
|
+
* <p>三级标签名</p>
|
|
777
|
+
*/
|
|
778
|
+
SubTag?: string;
|
|
779
|
+
/**
|
|
780
|
+
* <p>三级标签码</p>
|
|
781
|
+
*/
|
|
782
|
+
SubTagCode?: string;
|
|
783
|
+
}
|
|
739
784
|
/**
|
|
740
785
|
* 文件桶信息
|
|
741
786
|
参考腾讯云存储相关说明 https://cloud.tencent.com/document/product/436/44352
|
|
@@ -839,90 +884,93 @@ export interface Sentence {
|
|
|
839
884
|
*/
|
|
840
885
|
export interface AudioResult {
|
|
841
886
|
/**
|
|
842
|
-
*
|
|
887
|
+
* <p>该字段用于返回审核内容是否命中审核模型;取值:0(<strong>未命中</strong>)、1(<strong>命中</strong>)。</p>
|
|
843
888
|
*/
|
|
844
889
|
HitFlag?: number;
|
|
845
890
|
/**
|
|
846
|
-
*
|
|
891
|
+
* <p>该字段用于返回检测结果所对应的恶意标签。<br>返回值:<strong>Normal</strong>:正常,<strong>Porn</strong>:色情,<strong>Abuse</strong>:谩骂,<strong>Ad</strong>:广告,<strong>Custom</strong>:自定义违规;以及其他令人反感、不安全或不适宜的内容类型。</p>
|
|
847
892
|
*/
|
|
848
893
|
Label?: string;
|
|
849
894
|
/**
|
|
850
|
-
*
|
|
851
|
-
返回值:**Block**:建议屏蔽,**Review** :建议人工复审,**Pass**:建议通过
|
|
895
|
+
* <p>该字段用于返回后续操作建议。当您获取到判定结果后,返回值表示具体的后续建议操作。<br><br>返回值:<strong>Block</strong>:建议屏蔽,<strong>Review</strong> :建议人工复审,<strong>Pass</strong>:建议通过</p>
|
|
852
896
|
*/
|
|
853
897
|
Suggestion?: string;
|
|
854
898
|
/**
|
|
855
|
-
*
|
|
899
|
+
* <p>该字段用于返回当前标签下的置信度,取值范围:0(<strong>置信度最低</strong>)-100(<strong>置信度最高</strong> ),越高代表文本越有可能属于当前返回的标签;如:<em>色情 99</em>,则表明该文本非常有可能属于色情内容。</p>
|
|
856
900
|
*/
|
|
857
901
|
Score?: number;
|
|
858
902
|
/**
|
|
859
|
-
*
|
|
903
|
+
* <p>该字段用于返回音频文件经ASR识别后的文本信息。最长可识别<strong>5小时</strong>的音频文件,若超出时长限制,接口将会报错。</p>
|
|
860
904
|
*/
|
|
861
905
|
Text?: string;
|
|
862
906
|
/**
|
|
863
|
-
*
|
|
907
|
+
* <p>该字段用于返回审核结果的访问链接(URL)。<br>备注:链接默认有效期为12小时。如果您需要更长时效的链接,请使用<a href="https://cloud.tencent.com/document/product/1265/104001">COS预签名</a>功能更新签名时效。</p>
|
|
864
908
|
*/
|
|
865
909
|
Url?: string;
|
|
866
910
|
/**
|
|
867
|
-
*
|
|
911
|
+
* <p>该字段用于返回音频文件的时长,单位为毫秒。</p>
|
|
868
912
|
*/
|
|
869
913
|
Duration?: string;
|
|
870
914
|
/**
|
|
871
|
-
*
|
|
915
|
+
* <p>该字段用于返回额外附加信息,不同客户或Biztype下返回信息不同。</p>
|
|
872
916
|
*/
|
|
873
917
|
Extra?: string;
|
|
874
918
|
/**
|
|
875
|
-
*
|
|
919
|
+
* <p>该字段用于返回音频文件经ASR识别后产生的文本的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。</p>
|
|
876
920
|
*/
|
|
877
921
|
TextResults?: Array<AudioResultDetailTextResult>;
|
|
878
922
|
/**
|
|
879
|
-
*
|
|
923
|
+
* <p>该字段用于返回音频文件呻吟检测的详细审核结果。具体结果内容请参见AudioResultDetailMoanResult数据结构的细节描述。</p>
|
|
880
924
|
*/
|
|
881
925
|
MoanResults?: Array<AudioResultDetailMoanResult>;
|
|
882
926
|
/**
|
|
883
|
-
*
|
|
927
|
+
* <p>该字段用于返回音频小语种检测的详细审核结果。具体结果内容请参见AudioResultDetailLanguageResult数据结构的细节描述。</p>
|
|
884
928
|
*/
|
|
885
929
|
LanguageResults?: Array<AudioResultDetailLanguageResult>;
|
|
886
930
|
/**
|
|
887
|
-
*
|
|
931
|
+
* <p>该字段用于返回当前标签(Lable)下的二级标签。</p>
|
|
888
932
|
*/
|
|
889
933
|
SubLabel?: string;
|
|
890
934
|
/**
|
|
891
|
-
*
|
|
935
|
+
* <p>识别类标签结果信息列表</p>
|
|
892
936
|
*/
|
|
893
937
|
RecognitionResults?: Array<RecognitionResult>;
|
|
894
938
|
/**
|
|
895
|
-
*
|
|
939
|
+
* <p>说话人结果</p>
|
|
896
940
|
*/
|
|
897
941
|
SpeakerResults?: Array<SpeakerResults>;
|
|
898
942
|
/**
|
|
899
|
-
*
|
|
943
|
+
* <p>歌曲识别结果</p>
|
|
900
944
|
*/
|
|
901
945
|
LabelResults?: Array<LabelResults>;
|
|
902
946
|
/**
|
|
903
|
-
*
|
|
947
|
+
* <p>出行结果</p>
|
|
904
948
|
*/
|
|
905
949
|
TravelResults?: Array<TravelResults>;
|
|
906
950
|
/**
|
|
907
|
-
*
|
|
951
|
+
* <p>三级标签</p>
|
|
908
952
|
*/
|
|
909
953
|
SubTag?: string;
|
|
910
954
|
/**
|
|
911
|
-
*
|
|
955
|
+
* <p>三级标签码</p>
|
|
912
956
|
*/
|
|
913
957
|
SubTagCode?: string;
|
|
914
958
|
/**
|
|
915
|
-
*
|
|
959
|
+
* <p>审核检测类型</p>
|
|
916
960
|
*/
|
|
917
961
|
HitType?: string;
|
|
918
962
|
/**
|
|
919
|
-
* ASR
|
|
963
|
+
* <p>ASR句子的起止时间</p>
|
|
920
964
|
*/
|
|
921
965
|
Sentences?: Array<Sentence>;
|
|
922
966
|
/**
|
|
923
|
-
*
|
|
967
|
+
* <p>切片请求ID</p>
|
|
924
968
|
*/
|
|
925
969
|
RequestId?: string;
|
|
970
|
+
/**
|
|
971
|
+
* <p>AIGC音频片段审核结果</p>
|
|
972
|
+
*/
|
|
973
|
+
AIGCRecognitionResults?: Array<AIGCRecognitionResult>;
|
|
926
974
|
}
|
|
927
975
|
/**
|
|
928
976
|
* 音频呻吟审核结果
|