tencentcloud-sdk-python-vod 3.1.190__tar.gz → 3.1.196__tar.gz
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.
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/setup.py +1 -1
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud/vod/v20180717/models.py +706 -26
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud/vod/v20180717/vod_client.py +1 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud/vod/v20180717/vod_client_async.py +1 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud_sdk_python_vod.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_vod-3.1.196/tencentcloud_sdk_python_vod.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_vod-3.1.190/tencentcloud_sdk_python_vod.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/README.rst +0 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/setup.cfg +0 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud/vod/__init__.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud/vod/v20180717/__init__.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud/vod/v20180717/errorcodes.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud/vod/v20240718/__init__.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud/vod/v20240718/errorcodes.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud/vod/v20240718/models.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud/vod/v20240718/vod_client.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud/vod/v20240718/vod_client_async.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud_sdk_python_vod.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud_sdk_python_vod.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_vod-3.1.190 → tencentcloud_sdk_python_vod-3.1.196}/tencentcloud_sdk_python_vod.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-vod
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.196
|
|
4
4
|
Summary: Tencent Cloud Vod SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.196
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-vod',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.196,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Vod SDK for Python',
|
|
@@ -15117,19 +15117,20 @@ class AigcVideoSceneInfo(AbstractModel):
|
|
|
15117
15117
|
|
|
15118
15118
|
def __init__(self):
|
|
15119
15119
|
r"""
|
|
15120
|
-
:param _Type:
|
|
15121
|
-
- product_showcase: 产品360度展示。
|
|
15120
|
+
:param _Type: <p>AIGC 生视频场景类型。</p><p>枚举值:</p><ul><li>product_showcase: 产品360度展示。</li><li>character_scene: 角色场景。</li></ul>
|
|
15122
15121
|
:type Type: str
|
|
15123
|
-
:param _ProductShowcaseConfig:
|
|
15122
|
+
:param _ProductShowcaseConfig: <p>产品展示参数配置。</p>
|
|
15124
15123
|
:type ProductShowcaseConfig: :class:`tencentcloud.vod.v20180717.models.ProductShowcaseConfig`
|
|
15124
|
+
:param _CharacterSceneConfig: <p>角色场景参数配置。</p>
|
|
15125
|
+
:type CharacterSceneConfig: :class:`tencentcloud.vod.v20180717.models.CharacterSceneConfig`
|
|
15125
15126
|
"""
|
|
15126
15127
|
self._Type = None
|
|
15127
15128
|
self._ProductShowcaseConfig = None
|
|
15129
|
+
self._CharacterSceneConfig = None
|
|
15128
15130
|
|
|
15129
15131
|
@property
|
|
15130
15132
|
def Type(self):
|
|
15131
|
-
r"""
|
|
15132
|
-
- product_showcase: 产品360度展示。
|
|
15133
|
+
r"""<p>AIGC 生视频场景类型。</p><p>枚举值:</p><ul><li>product_showcase: 产品360度展示。</li><li>character_scene: 角色场景。</li></ul>
|
|
15133
15134
|
:rtype: str
|
|
15134
15135
|
"""
|
|
15135
15136
|
return self._Type
|
|
@@ -15140,7 +15141,7 @@ class AigcVideoSceneInfo(AbstractModel):
|
|
|
15140
15141
|
|
|
15141
15142
|
@property
|
|
15142
15143
|
def ProductShowcaseConfig(self):
|
|
15143
|
-
r"""
|
|
15144
|
+
r"""<p>产品展示参数配置。</p>
|
|
15144
15145
|
:rtype: :class:`tencentcloud.vod.v20180717.models.ProductShowcaseConfig`
|
|
15145
15146
|
"""
|
|
15146
15147
|
return self._ProductShowcaseConfig
|
|
@@ -15149,12 +15150,26 @@ class AigcVideoSceneInfo(AbstractModel):
|
|
|
15149
15150
|
def ProductShowcaseConfig(self, ProductShowcaseConfig):
|
|
15150
15151
|
self._ProductShowcaseConfig = ProductShowcaseConfig
|
|
15151
15152
|
|
|
15153
|
+
@property
|
|
15154
|
+
def CharacterSceneConfig(self):
|
|
15155
|
+
r"""<p>角色场景参数配置。</p>
|
|
15156
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.CharacterSceneConfig`
|
|
15157
|
+
"""
|
|
15158
|
+
return self._CharacterSceneConfig
|
|
15159
|
+
|
|
15160
|
+
@CharacterSceneConfig.setter
|
|
15161
|
+
def CharacterSceneConfig(self, CharacterSceneConfig):
|
|
15162
|
+
self._CharacterSceneConfig = CharacterSceneConfig
|
|
15163
|
+
|
|
15152
15164
|
|
|
15153
15165
|
def _deserialize(self, params):
|
|
15154
15166
|
self._Type = params.get("Type")
|
|
15155
15167
|
if params.get("ProductShowcaseConfig") is not None:
|
|
15156
15168
|
self._ProductShowcaseConfig = ProductShowcaseConfig()
|
|
15157
15169
|
self._ProductShowcaseConfig._deserialize(params.get("ProductShowcaseConfig"))
|
|
15170
|
+
if params.get("CharacterSceneConfig") is not None:
|
|
15171
|
+
self._CharacterSceneConfig = CharacterSceneConfig()
|
|
15172
|
+
self._CharacterSceneConfig._deserialize(params.get("CharacterSceneConfig"))
|
|
15158
15173
|
memeber_set = set(params.keys())
|
|
15159
15174
|
for name, value in vars(self).items():
|
|
15160
15175
|
property_name = name[1:]
|
|
@@ -19758,6 +19773,57 @@ class ChangeClothesConfig(AbstractModel):
|
|
|
19758
19773
|
|
|
19759
19774
|
|
|
19760
19775
|
|
|
19776
|
+
class CharacterSceneConfig(AbstractModel):
|
|
19777
|
+
r"""角色场景配置
|
|
19778
|
+
|
|
19779
|
+
"""
|
|
19780
|
+
|
|
19781
|
+
def __init__(self):
|
|
19782
|
+
r"""
|
|
19783
|
+
:param _Model: <p>模型。</p><p>枚举值:</p><ul><li>character_scene_standard: 标准。</li><li>character_scene_mini: 轻量。</li><li>character_scene_fast: 快速。</li></ul>
|
|
19784
|
+
:type Model: str
|
|
19785
|
+
:param _PromptMode: <p>提示词模式。</p><p>枚举值:</p><ul><li>Standard: 标准模式,自行填写提示词。</li><li>Dynamic: 动态模式,由大模型根据参考素材产生提示词。</li></ul><p>默认值:Standard</p>
|
|
19786
|
+
:type PromptMode: str
|
|
19787
|
+
"""
|
|
19788
|
+
self._Model = None
|
|
19789
|
+
self._PromptMode = None
|
|
19790
|
+
|
|
19791
|
+
@property
|
|
19792
|
+
def Model(self):
|
|
19793
|
+
r"""<p>模型。</p><p>枚举值:</p><ul><li>character_scene_standard: 标准。</li><li>character_scene_mini: 轻量。</li><li>character_scene_fast: 快速。</li></ul>
|
|
19794
|
+
:rtype: str
|
|
19795
|
+
"""
|
|
19796
|
+
return self._Model
|
|
19797
|
+
|
|
19798
|
+
@Model.setter
|
|
19799
|
+
def Model(self, Model):
|
|
19800
|
+
self._Model = Model
|
|
19801
|
+
|
|
19802
|
+
@property
|
|
19803
|
+
def PromptMode(self):
|
|
19804
|
+
r"""<p>提示词模式。</p><p>枚举值:</p><ul><li>Standard: 标准模式,自行填写提示词。</li><li>Dynamic: 动态模式,由大模型根据参考素材产生提示词。</li></ul><p>默认值:Standard</p>
|
|
19805
|
+
:rtype: str
|
|
19806
|
+
"""
|
|
19807
|
+
return self._PromptMode
|
|
19808
|
+
|
|
19809
|
+
@PromptMode.setter
|
|
19810
|
+
def PromptMode(self, PromptMode):
|
|
19811
|
+
self._PromptMode = PromptMode
|
|
19812
|
+
|
|
19813
|
+
|
|
19814
|
+
def _deserialize(self, params):
|
|
19815
|
+
self._Model = params.get("Model")
|
|
19816
|
+
self._PromptMode = params.get("PromptMode")
|
|
19817
|
+
memeber_set = set(params.keys())
|
|
19818
|
+
for name, value in vars(self).items():
|
|
19819
|
+
property_name = name[1:]
|
|
19820
|
+
if property_name in memeber_set:
|
|
19821
|
+
memeber_set.remove(property_name)
|
|
19822
|
+
if len(memeber_set) > 0:
|
|
19823
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19824
|
+
|
|
19825
|
+
|
|
19826
|
+
|
|
19761
19827
|
class ClassificationConfigureInfo(AbstractModel):
|
|
19762
19828
|
r"""智能分类任务控制参数
|
|
19763
19829
|
|
|
@@ -29996,10 +30062,16 @@ class CreateKnowledgeBaseRequest(AbstractModel):
|
|
|
29996
30062
|
:type Name: str
|
|
29997
30063
|
:param _Description: <p>知识库描述。长度限制:最多256个字符。</p>
|
|
29998
30064
|
:type Description: str
|
|
30065
|
+
:param _IndexType: <p>知识库的索引类型</p><p>枚举值:</p><ul><li>Semantic: 语义索引</li><li>DNA: DNA 索引</li></ul><p>默认值:Semantic</p>
|
|
30066
|
+
:type IndexType: str
|
|
30067
|
+
:param _MediaType: <p>允许入库的媒体类型</p><p>枚举值:</p><ul><li>Video: 视频</li><li>Image: 图片</li></ul><p>默认值:Video</p>
|
|
30068
|
+
:type MediaType: str
|
|
29999
30069
|
"""
|
|
30000
30070
|
self._SubAppId = None
|
|
30001
30071
|
self._Name = None
|
|
30002
30072
|
self._Description = None
|
|
30073
|
+
self._IndexType = None
|
|
30074
|
+
self._MediaType = None
|
|
30003
30075
|
|
|
30004
30076
|
@property
|
|
30005
30077
|
def SubAppId(self):
|
|
@@ -30034,11 +30106,35 @@ class CreateKnowledgeBaseRequest(AbstractModel):
|
|
|
30034
30106
|
def Description(self, Description):
|
|
30035
30107
|
self._Description = Description
|
|
30036
30108
|
|
|
30109
|
+
@property
|
|
30110
|
+
def IndexType(self):
|
|
30111
|
+
r"""<p>知识库的索引类型</p><p>枚举值:</p><ul><li>Semantic: 语义索引</li><li>DNA: DNA 索引</li></ul><p>默认值:Semantic</p>
|
|
30112
|
+
:rtype: str
|
|
30113
|
+
"""
|
|
30114
|
+
return self._IndexType
|
|
30115
|
+
|
|
30116
|
+
@IndexType.setter
|
|
30117
|
+
def IndexType(self, IndexType):
|
|
30118
|
+
self._IndexType = IndexType
|
|
30119
|
+
|
|
30120
|
+
@property
|
|
30121
|
+
def MediaType(self):
|
|
30122
|
+
r"""<p>允许入库的媒体类型</p><p>枚举值:</p><ul><li>Video: 视频</li><li>Image: 图片</li></ul><p>默认值:Video</p>
|
|
30123
|
+
:rtype: str
|
|
30124
|
+
"""
|
|
30125
|
+
return self._MediaType
|
|
30126
|
+
|
|
30127
|
+
@MediaType.setter
|
|
30128
|
+
def MediaType(self, MediaType):
|
|
30129
|
+
self._MediaType = MediaType
|
|
30130
|
+
|
|
30037
30131
|
|
|
30038
30132
|
def _deserialize(self, params):
|
|
30039
30133
|
self._SubAppId = params.get("SubAppId")
|
|
30040
30134
|
self._Name = params.get("Name")
|
|
30041
30135
|
self._Description = params.get("Description")
|
|
30136
|
+
self._IndexType = params.get("IndexType")
|
|
30137
|
+
self._MediaType = params.get("MediaType")
|
|
30042
30138
|
memeber_set = set(params.keys())
|
|
30043
30139
|
for name, value in vars(self).items():
|
|
30044
30140
|
property_name = name[1:]
|
|
@@ -30113,6 +30209,8 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
|
|
|
30113
30209
|
:type Asr: :class:`tencentcloud.vod.v20180717.models.LLMComprehendAsr`
|
|
30114
30210
|
:param _FaceRecognition: <p>人脸识别配置</p>
|
|
30115
30211
|
:type FaceRecognition: :class:`tencentcloud.vod.v20180717.models.LLMComprehendFaceRecognition`
|
|
30212
|
+
:param _DNA: <p>DNA解析配置</p>
|
|
30213
|
+
:type DNA: :class:`tencentcloud.vod.v20180717.models.LLMComprehendDNA`
|
|
30116
30214
|
"""
|
|
30117
30215
|
self._Level = None
|
|
30118
30216
|
self._SubAppId = None
|
|
@@ -30121,6 +30219,7 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
|
|
|
30121
30219
|
self._Summary = None
|
|
30122
30220
|
self._Asr = None
|
|
30123
30221
|
self._FaceRecognition = None
|
|
30222
|
+
self._DNA = None
|
|
30124
30223
|
|
|
30125
30224
|
@property
|
|
30126
30225
|
def Level(self):
|
|
@@ -30199,6 +30298,17 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
|
|
|
30199
30298
|
def FaceRecognition(self, FaceRecognition):
|
|
30200
30299
|
self._FaceRecognition = FaceRecognition
|
|
30201
30300
|
|
|
30301
|
+
@property
|
|
30302
|
+
def DNA(self):
|
|
30303
|
+
r"""<p>DNA解析配置</p>
|
|
30304
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.LLMComprehendDNA`
|
|
30305
|
+
"""
|
|
30306
|
+
return self._DNA
|
|
30307
|
+
|
|
30308
|
+
@DNA.setter
|
|
30309
|
+
def DNA(self, DNA):
|
|
30310
|
+
self._DNA = DNA
|
|
30311
|
+
|
|
30202
30312
|
|
|
30203
30313
|
def _deserialize(self, params):
|
|
30204
30314
|
self._Level = params.get("Level")
|
|
@@ -30214,6 +30324,9 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
|
|
|
30214
30324
|
if params.get("FaceRecognition") is not None:
|
|
30215
30325
|
self._FaceRecognition = LLMComprehendFaceRecognition()
|
|
30216
30326
|
self._FaceRecognition._deserialize(params.get("FaceRecognition"))
|
|
30327
|
+
if params.get("DNA") is not None:
|
|
30328
|
+
self._DNA = LLMComprehendDNA()
|
|
30329
|
+
self._DNA._deserialize(params.get("DNA"))
|
|
30217
30330
|
memeber_set = set(params.keys())
|
|
30218
30331
|
for name, value in vars(self).items():
|
|
30219
30332
|
property_name = name[1:]
|
|
@@ -34023,6 +34136,265 @@ class CustomVoiceInfo(AbstractModel):
|
|
|
34023
34136
|
|
|
34024
34137
|
|
|
34025
34138
|
|
|
34139
|
+
class DNATask(AbstractModel):
|
|
34140
|
+
r"""DNA查重估计任务信息。
|
|
34141
|
+
|
|
34142
|
+
"""
|
|
34143
|
+
|
|
34144
|
+
def __init__(self):
|
|
34145
|
+
r"""
|
|
34146
|
+
:param _TaskId: <p>任务 ID。</p>
|
|
34147
|
+
:type TaskId: str
|
|
34148
|
+
:param _Status: <p>任务状态。</p><p>枚举值:</p><ul><li>WAITING: 等待中</li><li>PROCESSING: 处理中</li><li>FINISH: 已完成</li></ul>
|
|
34149
|
+
:type Status: str
|
|
34150
|
+
:param _ErrCode: <p>错误码,0 表示成功,其他值表示失败:</p><p>40000:输入参数不合法,请检查输入参数;<br>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;<br>70000:内部服务错误,建议重试。</p>
|
|
34151
|
+
:type ErrCode: int
|
|
34152
|
+
:param _ErrCodeExt: <p>错误码,空字符串表示成功,其他值表示失败,取值请参考 <a href="https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81">视频处理类错误码</a> 列表。</p>
|
|
34153
|
+
:type ErrCodeExt: str
|
|
34154
|
+
:param _Message: <p>错误信息。</p>
|
|
34155
|
+
:type Message: str
|
|
34156
|
+
:param _FileId: <p>被检测的媒资 FileId。</p>
|
|
34157
|
+
:type FileId: str
|
|
34158
|
+
:param _Output: <p>查重命中列表。</p>
|
|
34159
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
34160
|
+
:type Output: list of DNATaskOutput
|
|
34161
|
+
"""
|
|
34162
|
+
self._TaskId = None
|
|
34163
|
+
self._Status = None
|
|
34164
|
+
self._ErrCode = None
|
|
34165
|
+
self._ErrCodeExt = None
|
|
34166
|
+
self._Message = None
|
|
34167
|
+
self._FileId = None
|
|
34168
|
+
self._Output = None
|
|
34169
|
+
|
|
34170
|
+
@property
|
|
34171
|
+
def TaskId(self):
|
|
34172
|
+
r"""<p>任务 ID。</p>
|
|
34173
|
+
:rtype: str
|
|
34174
|
+
"""
|
|
34175
|
+
return self._TaskId
|
|
34176
|
+
|
|
34177
|
+
@TaskId.setter
|
|
34178
|
+
def TaskId(self, TaskId):
|
|
34179
|
+
self._TaskId = TaskId
|
|
34180
|
+
|
|
34181
|
+
@property
|
|
34182
|
+
def Status(self):
|
|
34183
|
+
r"""<p>任务状态。</p><p>枚举值:</p><ul><li>WAITING: 等待中</li><li>PROCESSING: 处理中</li><li>FINISH: 已完成</li></ul>
|
|
34184
|
+
:rtype: str
|
|
34185
|
+
"""
|
|
34186
|
+
return self._Status
|
|
34187
|
+
|
|
34188
|
+
@Status.setter
|
|
34189
|
+
def Status(self, Status):
|
|
34190
|
+
self._Status = Status
|
|
34191
|
+
|
|
34192
|
+
@property
|
|
34193
|
+
def ErrCode(self):
|
|
34194
|
+
r"""<p>错误码,0 表示成功,其他值表示失败:</p><p>40000:输入参数不合法,请检查输入参数;<br>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;<br>70000:内部服务错误,建议重试。</p>
|
|
34195
|
+
:rtype: int
|
|
34196
|
+
"""
|
|
34197
|
+
return self._ErrCode
|
|
34198
|
+
|
|
34199
|
+
@ErrCode.setter
|
|
34200
|
+
def ErrCode(self, ErrCode):
|
|
34201
|
+
self._ErrCode = ErrCode
|
|
34202
|
+
|
|
34203
|
+
@property
|
|
34204
|
+
def ErrCodeExt(self):
|
|
34205
|
+
r"""<p>错误码,空字符串表示成功,其他值表示失败,取值请参考 <a href="https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81">视频处理类错误码</a> 列表。</p>
|
|
34206
|
+
:rtype: str
|
|
34207
|
+
"""
|
|
34208
|
+
return self._ErrCodeExt
|
|
34209
|
+
|
|
34210
|
+
@ErrCodeExt.setter
|
|
34211
|
+
def ErrCodeExt(self, ErrCodeExt):
|
|
34212
|
+
self._ErrCodeExt = ErrCodeExt
|
|
34213
|
+
|
|
34214
|
+
@property
|
|
34215
|
+
def Message(self):
|
|
34216
|
+
r"""<p>错误信息。</p>
|
|
34217
|
+
:rtype: str
|
|
34218
|
+
"""
|
|
34219
|
+
return self._Message
|
|
34220
|
+
|
|
34221
|
+
@Message.setter
|
|
34222
|
+
def Message(self, Message):
|
|
34223
|
+
self._Message = Message
|
|
34224
|
+
|
|
34225
|
+
@property
|
|
34226
|
+
def FileId(self):
|
|
34227
|
+
r"""<p>被检测的媒资 FileId。</p>
|
|
34228
|
+
:rtype: str
|
|
34229
|
+
"""
|
|
34230
|
+
return self._FileId
|
|
34231
|
+
|
|
34232
|
+
@FileId.setter
|
|
34233
|
+
def FileId(self, FileId):
|
|
34234
|
+
self._FileId = FileId
|
|
34235
|
+
|
|
34236
|
+
@property
|
|
34237
|
+
def Output(self):
|
|
34238
|
+
r"""<p>查重命中列表。</p>
|
|
34239
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
34240
|
+
:rtype: list of DNATaskOutput
|
|
34241
|
+
"""
|
|
34242
|
+
return self._Output
|
|
34243
|
+
|
|
34244
|
+
@Output.setter
|
|
34245
|
+
def Output(self, Output):
|
|
34246
|
+
self._Output = Output
|
|
34247
|
+
|
|
34248
|
+
|
|
34249
|
+
def _deserialize(self, params):
|
|
34250
|
+
self._TaskId = params.get("TaskId")
|
|
34251
|
+
self._Status = params.get("Status")
|
|
34252
|
+
self._ErrCode = params.get("ErrCode")
|
|
34253
|
+
self._ErrCodeExt = params.get("ErrCodeExt")
|
|
34254
|
+
self._Message = params.get("Message")
|
|
34255
|
+
self._FileId = params.get("FileId")
|
|
34256
|
+
if params.get("Output") is not None:
|
|
34257
|
+
self._Output = []
|
|
34258
|
+
for item in params.get("Output"):
|
|
34259
|
+
obj = DNATaskOutput()
|
|
34260
|
+
obj._deserialize(item)
|
|
34261
|
+
self._Output.append(obj)
|
|
34262
|
+
memeber_set = set(params.keys())
|
|
34263
|
+
for name, value in vars(self).items():
|
|
34264
|
+
property_name = name[1:]
|
|
34265
|
+
if property_name in memeber_set:
|
|
34266
|
+
memeber_set.remove(property_name)
|
|
34267
|
+
if len(memeber_set) > 0:
|
|
34268
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34269
|
+
|
|
34270
|
+
|
|
34271
|
+
|
|
34272
|
+
class DNATaskOutput(AbstractModel):
|
|
34273
|
+
r"""DNA查重任务输出。
|
|
34274
|
+
|
|
34275
|
+
"""
|
|
34276
|
+
|
|
34277
|
+
def __init__(self):
|
|
34278
|
+
r"""
|
|
34279
|
+
:param _RefFileId: <p>命中的参考媒资 FileId。</p>
|
|
34280
|
+
:type RefFileId: str
|
|
34281
|
+
:param _QueryStartSec: <p>查询媒资命中片段起始时间。</p><p>单位:秒</p>
|
|
34282
|
+
:type QueryStartSec: float
|
|
34283
|
+
:param _QueryEndSec: <p>查询媒资命中片段结束时间。</p><p>单位:秒</p>
|
|
34284
|
+
:type QueryEndSec: float
|
|
34285
|
+
:param _RefStartSec: <p>参考媒资对应片段起始时间。</p><p>单位:秒</p>
|
|
34286
|
+
:type RefStartSec: float
|
|
34287
|
+
:param _RefEndSec: <p>参考媒资对应片段结束时间。</p><p>单位:秒</p>
|
|
34288
|
+
:type RefEndSec: float
|
|
34289
|
+
:param _Confidence: <p>匹配置信度。</p><p>取值范围:[0, 1]</p>
|
|
34290
|
+
:type Confidence: float
|
|
34291
|
+
:param _SpeedRatio: <p>变速比(1.0 表示原速,非 1 表示加速或者减速)。</p>
|
|
34292
|
+
:type SpeedRatio: float
|
|
34293
|
+
"""
|
|
34294
|
+
self._RefFileId = None
|
|
34295
|
+
self._QueryStartSec = None
|
|
34296
|
+
self._QueryEndSec = None
|
|
34297
|
+
self._RefStartSec = None
|
|
34298
|
+
self._RefEndSec = None
|
|
34299
|
+
self._Confidence = None
|
|
34300
|
+
self._SpeedRatio = None
|
|
34301
|
+
|
|
34302
|
+
@property
|
|
34303
|
+
def RefFileId(self):
|
|
34304
|
+
r"""<p>命中的参考媒资 FileId。</p>
|
|
34305
|
+
:rtype: str
|
|
34306
|
+
"""
|
|
34307
|
+
return self._RefFileId
|
|
34308
|
+
|
|
34309
|
+
@RefFileId.setter
|
|
34310
|
+
def RefFileId(self, RefFileId):
|
|
34311
|
+
self._RefFileId = RefFileId
|
|
34312
|
+
|
|
34313
|
+
@property
|
|
34314
|
+
def QueryStartSec(self):
|
|
34315
|
+
r"""<p>查询媒资命中片段起始时间。</p><p>单位:秒</p>
|
|
34316
|
+
:rtype: float
|
|
34317
|
+
"""
|
|
34318
|
+
return self._QueryStartSec
|
|
34319
|
+
|
|
34320
|
+
@QueryStartSec.setter
|
|
34321
|
+
def QueryStartSec(self, QueryStartSec):
|
|
34322
|
+
self._QueryStartSec = QueryStartSec
|
|
34323
|
+
|
|
34324
|
+
@property
|
|
34325
|
+
def QueryEndSec(self):
|
|
34326
|
+
r"""<p>查询媒资命中片段结束时间。</p><p>单位:秒</p>
|
|
34327
|
+
:rtype: float
|
|
34328
|
+
"""
|
|
34329
|
+
return self._QueryEndSec
|
|
34330
|
+
|
|
34331
|
+
@QueryEndSec.setter
|
|
34332
|
+
def QueryEndSec(self, QueryEndSec):
|
|
34333
|
+
self._QueryEndSec = QueryEndSec
|
|
34334
|
+
|
|
34335
|
+
@property
|
|
34336
|
+
def RefStartSec(self):
|
|
34337
|
+
r"""<p>参考媒资对应片段起始时间。</p><p>单位:秒</p>
|
|
34338
|
+
:rtype: float
|
|
34339
|
+
"""
|
|
34340
|
+
return self._RefStartSec
|
|
34341
|
+
|
|
34342
|
+
@RefStartSec.setter
|
|
34343
|
+
def RefStartSec(self, RefStartSec):
|
|
34344
|
+
self._RefStartSec = RefStartSec
|
|
34345
|
+
|
|
34346
|
+
@property
|
|
34347
|
+
def RefEndSec(self):
|
|
34348
|
+
r"""<p>参考媒资对应片段结束时间。</p><p>单位:秒</p>
|
|
34349
|
+
:rtype: float
|
|
34350
|
+
"""
|
|
34351
|
+
return self._RefEndSec
|
|
34352
|
+
|
|
34353
|
+
@RefEndSec.setter
|
|
34354
|
+
def RefEndSec(self, RefEndSec):
|
|
34355
|
+
self._RefEndSec = RefEndSec
|
|
34356
|
+
|
|
34357
|
+
@property
|
|
34358
|
+
def Confidence(self):
|
|
34359
|
+
r"""<p>匹配置信度。</p><p>取值范围:[0, 1]</p>
|
|
34360
|
+
:rtype: float
|
|
34361
|
+
"""
|
|
34362
|
+
return self._Confidence
|
|
34363
|
+
|
|
34364
|
+
@Confidence.setter
|
|
34365
|
+
def Confidence(self, Confidence):
|
|
34366
|
+
self._Confidence = Confidence
|
|
34367
|
+
|
|
34368
|
+
@property
|
|
34369
|
+
def SpeedRatio(self):
|
|
34370
|
+
r"""<p>变速比(1.0 表示原速,非 1 表示加速或者减速)。</p>
|
|
34371
|
+
:rtype: float
|
|
34372
|
+
"""
|
|
34373
|
+
return self._SpeedRatio
|
|
34374
|
+
|
|
34375
|
+
@SpeedRatio.setter
|
|
34376
|
+
def SpeedRatio(self, SpeedRatio):
|
|
34377
|
+
self._SpeedRatio = SpeedRatio
|
|
34378
|
+
|
|
34379
|
+
|
|
34380
|
+
def _deserialize(self, params):
|
|
34381
|
+
self._RefFileId = params.get("RefFileId")
|
|
34382
|
+
self._QueryStartSec = params.get("QueryStartSec")
|
|
34383
|
+
self._QueryEndSec = params.get("QueryEndSec")
|
|
34384
|
+
self._RefStartSec = params.get("RefStartSec")
|
|
34385
|
+
self._RefEndSec = params.get("RefEndSec")
|
|
34386
|
+
self._Confidence = params.get("Confidence")
|
|
34387
|
+
self._SpeedRatio = params.get("SpeedRatio")
|
|
34388
|
+
memeber_set = set(params.keys())
|
|
34389
|
+
for name, value in vars(self).items():
|
|
34390
|
+
property_name = name[1:]
|
|
34391
|
+
if property_name in memeber_set:
|
|
34392
|
+
memeber_set.remove(property_name)
|
|
34393
|
+
if len(memeber_set) > 0:
|
|
34394
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34395
|
+
|
|
34396
|
+
|
|
34397
|
+
|
|
34026
34398
|
class DNSVerifyInfo(AbstractModel):
|
|
34027
34399
|
r"""DNS解析验证信息
|
|
34028
34400
|
|
|
@@ -46390,6 +46762,10 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
|
46390
46762
|
:type VideoDubbingAsyncTask: :class:`tencentcloud.vod.v20180717.models.VideoDubbingAsyncTask`
|
|
46391
46763
|
:param _VideoDepthEstimationTask: <p>视频深度估算任务,仅当 TaskType 为VideoDepthEstimation,该字段有值。</p>
|
|
46392
46764
|
:type VideoDepthEstimationTask: :class:`tencentcloud.vod.v20180717.models.VideoDepthEstimationTask`
|
|
46765
|
+
:param _DNATask: <p>DNA查重任务,仅当TaskType为CreateDnaTask,该字段有值。</p>
|
|
46766
|
+
:type DNATask: :class:`tencentcloud.vod.v20180717.models.DNATask`
|
|
46767
|
+
:param _SearchMediaBySemanticsAsync: <p>异步按语义搜索媒体任务,仅当TaskType为SearchMediaBySemanticsAsync,该字段有值。</p>
|
|
46768
|
+
:type SearchMediaBySemanticsAsync: :class:`tencentcloud.vod.v20180717.models.SearchMediaBySemanticsAsync`
|
|
46393
46769
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
46394
46770
|
:type RequestId: str
|
|
46395
46771
|
"""
|
|
@@ -46441,6 +46817,8 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
|
46441
46817
|
self._TextToSpeechAsyncTask = None
|
|
46442
46818
|
self._VideoDubbingAsyncTask = None
|
|
46443
46819
|
self._VideoDepthEstimationTask = None
|
|
46820
|
+
self._DNATask = None
|
|
46821
|
+
self._SearchMediaBySemanticsAsync = None
|
|
46444
46822
|
self._RequestId = None
|
|
46445
46823
|
|
|
46446
46824
|
@property
|
|
@@ -46993,6 +47371,28 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
|
46993
47371
|
def VideoDepthEstimationTask(self, VideoDepthEstimationTask):
|
|
46994
47372
|
self._VideoDepthEstimationTask = VideoDepthEstimationTask
|
|
46995
47373
|
|
|
47374
|
+
@property
|
|
47375
|
+
def DNATask(self):
|
|
47376
|
+
r"""<p>DNA查重任务,仅当TaskType为CreateDnaTask,该字段有值。</p>
|
|
47377
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.DNATask`
|
|
47378
|
+
"""
|
|
47379
|
+
return self._DNATask
|
|
47380
|
+
|
|
47381
|
+
@DNATask.setter
|
|
47382
|
+
def DNATask(self, DNATask):
|
|
47383
|
+
self._DNATask = DNATask
|
|
47384
|
+
|
|
47385
|
+
@property
|
|
47386
|
+
def SearchMediaBySemanticsAsync(self):
|
|
47387
|
+
r"""<p>异步按语义搜索媒体任务,仅当TaskType为SearchMediaBySemanticsAsync,该字段有值。</p>
|
|
47388
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.SearchMediaBySemanticsAsync`
|
|
47389
|
+
"""
|
|
47390
|
+
return self._SearchMediaBySemanticsAsync
|
|
47391
|
+
|
|
47392
|
+
@SearchMediaBySemanticsAsync.setter
|
|
47393
|
+
def SearchMediaBySemanticsAsync(self, SearchMediaBySemanticsAsync):
|
|
47394
|
+
self._SearchMediaBySemanticsAsync = SearchMediaBySemanticsAsync
|
|
47395
|
+
|
|
46996
47396
|
@property
|
|
46997
47397
|
def RequestId(self):
|
|
46998
47398
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -47140,6 +47540,12 @@ class DescribeTaskDetailResponse(AbstractModel):
|
|
|
47140
47540
|
if params.get("VideoDepthEstimationTask") is not None:
|
|
47141
47541
|
self._VideoDepthEstimationTask = VideoDepthEstimationTask()
|
|
47142
47542
|
self._VideoDepthEstimationTask._deserialize(params.get("VideoDepthEstimationTask"))
|
|
47543
|
+
if params.get("DNATask") is not None:
|
|
47544
|
+
self._DNATask = DNATask()
|
|
47545
|
+
self._DNATask._deserialize(params.get("DNATask"))
|
|
47546
|
+
if params.get("SearchMediaBySemanticsAsync") is not None:
|
|
47547
|
+
self._SearchMediaBySemanticsAsync = SearchMediaBySemanticsAsync()
|
|
47548
|
+
self._SearchMediaBySemanticsAsync._deserialize(params.get("SearchMediaBySemanticsAsync"))
|
|
47143
47549
|
self._RequestId = params.get("RequestId")
|
|
47144
47550
|
|
|
47145
47551
|
|
|
@@ -58316,6 +58722,10 @@ class KnowledgeBaseInfo(AbstractModel):
|
|
|
58316
58722
|
:type Name: str
|
|
58317
58723
|
:param _Description: <p>知识库描述。</p>
|
|
58318
58724
|
:type Description: str
|
|
58725
|
+
:param _IndexType: <p>知识库的索引类型</p><p>枚举值:</p><ul><li>Semantic: 语义索引</li><li>DNA: DNA 索引</li></ul>
|
|
58726
|
+
:type IndexType: str
|
|
58727
|
+
:param _MediaType: <p>允许入库的媒体类型</p><p>枚举值:</p><ul><li>Video: 视频</li><li>Image: 图片</li></ul>
|
|
58728
|
+
:type MediaType: str
|
|
58319
58729
|
:param _Status: <p>知识库状态。</p><p>枚举值:</p><ul><li>creating: 创建中</li><li>active: 正常</li><li>deleting: 删除中</li></ul>
|
|
58320
58730
|
:type Status: str
|
|
58321
58731
|
:param _CreateTime: <p>知识库创建时间。</p>
|
|
@@ -58324,6 +58734,8 @@ class KnowledgeBaseInfo(AbstractModel):
|
|
|
58324
58734
|
self._KnowledgeBaseId = None
|
|
58325
58735
|
self._Name = None
|
|
58326
58736
|
self._Description = None
|
|
58737
|
+
self._IndexType = None
|
|
58738
|
+
self._MediaType = None
|
|
58327
58739
|
self._Status = None
|
|
58328
58740
|
self._CreateTime = None
|
|
58329
58741
|
|
|
@@ -58360,6 +58772,28 @@ class KnowledgeBaseInfo(AbstractModel):
|
|
|
58360
58772
|
def Description(self, Description):
|
|
58361
58773
|
self._Description = Description
|
|
58362
58774
|
|
|
58775
|
+
@property
|
|
58776
|
+
def IndexType(self):
|
|
58777
|
+
r"""<p>知识库的索引类型</p><p>枚举值:</p><ul><li>Semantic: 语义索引</li><li>DNA: DNA 索引</li></ul>
|
|
58778
|
+
:rtype: str
|
|
58779
|
+
"""
|
|
58780
|
+
return self._IndexType
|
|
58781
|
+
|
|
58782
|
+
@IndexType.setter
|
|
58783
|
+
def IndexType(self, IndexType):
|
|
58784
|
+
self._IndexType = IndexType
|
|
58785
|
+
|
|
58786
|
+
@property
|
|
58787
|
+
def MediaType(self):
|
|
58788
|
+
r"""<p>允许入库的媒体类型</p><p>枚举值:</p><ul><li>Video: 视频</li><li>Image: 图片</li></ul>
|
|
58789
|
+
:rtype: str
|
|
58790
|
+
"""
|
|
58791
|
+
return self._MediaType
|
|
58792
|
+
|
|
58793
|
+
@MediaType.setter
|
|
58794
|
+
def MediaType(self, MediaType):
|
|
58795
|
+
self._MediaType = MediaType
|
|
58796
|
+
|
|
58363
58797
|
@property
|
|
58364
58798
|
def Status(self):
|
|
58365
58799
|
r"""<p>知识库状态。</p><p>枚举值:</p><ul><li>creating: 创建中</li><li>active: 正常</li><li>deleting: 删除中</li></ul>
|
|
@@ -58387,6 +58821,8 @@ class KnowledgeBaseInfo(AbstractModel):
|
|
|
58387
58821
|
self._KnowledgeBaseId = params.get("KnowledgeBaseId")
|
|
58388
58822
|
self._Name = params.get("Name")
|
|
58389
58823
|
self._Description = params.get("Description")
|
|
58824
|
+
self._IndexType = params.get("IndexType")
|
|
58825
|
+
self._MediaType = params.get("MediaType")
|
|
58390
58826
|
self._Status = params.get("Status")
|
|
58391
58827
|
self._CreateTime = params.get("CreateTime")
|
|
58392
58828
|
memeber_set = set(params.keys())
|
|
@@ -58555,6 +58991,42 @@ class LLMComprehendAsrForUpdate(AbstractModel):
|
|
|
58555
58991
|
|
|
58556
58992
|
|
|
58557
58993
|
|
|
58994
|
+
class LLMComprehendDNA(AbstractModel):
|
|
58995
|
+
r"""大模型解析DNA解析配置
|
|
58996
|
+
|
|
58997
|
+
"""
|
|
58998
|
+
|
|
58999
|
+
def __init__(self):
|
|
59000
|
+
r"""
|
|
59001
|
+
:param _Switch: <p>DNA解析任务开关</p><p>枚举值:</p><ul><li>ON: 开启DNA解析任务</li><li>OFF: 关闭DNA解析任务</li></ul><p>默认值:OFF</p>
|
|
59002
|
+
:type Switch: str
|
|
59003
|
+
"""
|
|
59004
|
+
self._Switch = None
|
|
59005
|
+
|
|
59006
|
+
@property
|
|
59007
|
+
def Switch(self):
|
|
59008
|
+
r"""<p>DNA解析任务开关</p><p>枚举值:</p><ul><li>ON: 开启DNA解析任务</li><li>OFF: 关闭DNA解析任务</li></ul><p>默认值:OFF</p>
|
|
59009
|
+
:rtype: str
|
|
59010
|
+
"""
|
|
59011
|
+
return self._Switch
|
|
59012
|
+
|
|
59013
|
+
@Switch.setter
|
|
59014
|
+
def Switch(self, Switch):
|
|
59015
|
+
self._Switch = Switch
|
|
59016
|
+
|
|
59017
|
+
|
|
59018
|
+
def _deserialize(self, params):
|
|
59019
|
+
self._Switch = params.get("Switch")
|
|
59020
|
+
memeber_set = set(params.keys())
|
|
59021
|
+
for name, value in vars(self).items():
|
|
59022
|
+
property_name = name[1:]
|
|
59023
|
+
if property_name in memeber_set:
|
|
59024
|
+
memeber_set.remove(property_name)
|
|
59025
|
+
if len(memeber_set) > 0:
|
|
59026
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
59027
|
+
|
|
59028
|
+
|
|
59029
|
+
|
|
58558
59030
|
class LLMComprehendFaceRecognition(AbstractModel):
|
|
58559
59031
|
r"""大模型解析人脸识别配置
|
|
58560
59032
|
|
|
@@ -58880,6 +59352,8 @@ class LLMComprehendTemplateItem(AbstractModel):
|
|
|
58880
59352
|
:type Asr: :class:`tencentcloud.vod.v20180717.models.LLMComprehendAsr`
|
|
58881
59353
|
:param _FaceRecognition: <p>人脸识别解析配置</p>
|
|
58882
59354
|
:type FaceRecognition: :class:`tencentcloud.vod.v20180717.models.LLMComprehendFaceRecognition`
|
|
59355
|
+
:param _DNA: <p>DNA解析配置</p>
|
|
59356
|
+
:type DNA: :class:`tencentcloud.vod.v20180717.models.LLMComprehendDNA`
|
|
58883
59357
|
:param _CreateTime: <p>模板创建时间,使用 <a href="https://cloud.tencent.com/document/product/266/11732#I">ISO 日期格式</a>。</p>
|
|
58884
59358
|
:type CreateTime: str
|
|
58885
59359
|
:param _UpdateTime: <p>模板最后修改时间,使用 <a href="https://cloud.tencent.com/document/product/266/11732#I">ISO 日期格式</a>。</p>
|
|
@@ -58893,6 +59367,7 @@ class LLMComprehendTemplateItem(AbstractModel):
|
|
|
58893
59367
|
self._Summary = None
|
|
58894
59368
|
self._Asr = None
|
|
58895
59369
|
self._FaceRecognition = None
|
|
59370
|
+
self._DNA = None
|
|
58896
59371
|
self._CreateTime = None
|
|
58897
59372
|
self._UpdateTime = None
|
|
58898
59373
|
|
|
@@ -58984,6 +59459,17 @@ class LLMComprehendTemplateItem(AbstractModel):
|
|
|
58984
59459
|
def FaceRecognition(self, FaceRecognition):
|
|
58985
59460
|
self._FaceRecognition = FaceRecognition
|
|
58986
59461
|
|
|
59462
|
+
@property
|
|
59463
|
+
def DNA(self):
|
|
59464
|
+
r"""<p>DNA解析配置</p>
|
|
59465
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.LLMComprehendDNA`
|
|
59466
|
+
"""
|
|
59467
|
+
return self._DNA
|
|
59468
|
+
|
|
59469
|
+
@DNA.setter
|
|
59470
|
+
def DNA(self, DNA):
|
|
59471
|
+
self._DNA = DNA
|
|
59472
|
+
|
|
58987
59473
|
@property
|
|
58988
59474
|
def CreateTime(self):
|
|
58989
59475
|
r"""<p>模板创建时间,使用 <a href="https://cloud.tencent.com/document/product/266/11732#I">ISO 日期格式</a>。</p>
|
|
@@ -59022,6 +59508,9 @@ class LLMComprehendTemplateItem(AbstractModel):
|
|
|
59022
59508
|
if params.get("FaceRecognition") is not None:
|
|
59023
59509
|
self._FaceRecognition = LLMComprehendFaceRecognition()
|
|
59024
59510
|
self._FaceRecognition._deserialize(params.get("FaceRecognition"))
|
|
59511
|
+
if params.get("DNA") is not None:
|
|
59512
|
+
self._DNA = LLMComprehendDNA()
|
|
59513
|
+
self._DNA._deserialize(params.get("DNA"))
|
|
59025
59514
|
self._CreateTime = params.get("CreateTime")
|
|
59026
59515
|
self._UpdateTime = params.get("UpdateTime")
|
|
59027
59516
|
memeber_set = set(params.keys())
|
|
@@ -72966,6 +73455,8 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
|
|
|
72966
73455
|
:type Asr: :class:`tencentcloud.vod.v20180717.models.LLMComprehendAsrForUpdate`
|
|
72967
73456
|
:param _FaceRecognition: <p>人脸识别配置</p>
|
|
72968
73457
|
:type FaceRecognition: :class:`tencentcloud.vod.v20180717.models.LLMComprehendFaceRecognitionForUpdate`
|
|
73458
|
+
:param _DNA: <p>DNA解析配置</p>
|
|
73459
|
+
:type DNA: :class:`tencentcloud.vod.v20180717.models.LLMComprehendDNA`
|
|
72969
73460
|
"""
|
|
72970
73461
|
self._Definition = None
|
|
72971
73462
|
self._SubAppId = None
|
|
@@ -72975,6 +73466,7 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
|
|
|
72975
73466
|
self._Summary = None
|
|
72976
73467
|
self._Asr = None
|
|
72977
73468
|
self._FaceRecognition = None
|
|
73469
|
+
self._DNA = None
|
|
72978
73470
|
|
|
72979
73471
|
@property
|
|
72980
73472
|
def Definition(self):
|
|
@@ -73064,6 +73556,17 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
|
|
|
73064
73556
|
def FaceRecognition(self, FaceRecognition):
|
|
73065
73557
|
self._FaceRecognition = FaceRecognition
|
|
73066
73558
|
|
|
73559
|
+
@property
|
|
73560
|
+
def DNA(self):
|
|
73561
|
+
r"""<p>DNA解析配置</p>
|
|
73562
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.LLMComprehendDNA`
|
|
73563
|
+
"""
|
|
73564
|
+
return self._DNA
|
|
73565
|
+
|
|
73566
|
+
@DNA.setter
|
|
73567
|
+
def DNA(self, DNA):
|
|
73568
|
+
self._DNA = DNA
|
|
73569
|
+
|
|
73067
73570
|
|
|
73068
73571
|
def _deserialize(self, params):
|
|
73069
73572
|
self._Definition = params.get("Definition")
|
|
@@ -73080,6 +73583,9 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
|
|
|
73080
73583
|
if params.get("FaceRecognition") is not None:
|
|
73081
73584
|
self._FaceRecognition = LLMComprehendFaceRecognitionForUpdate()
|
|
73082
73585
|
self._FaceRecognition._deserialize(params.get("FaceRecognition"))
|
|
73586
|
+
if params.get("DNA") is not None:
|
|
73587
|
+
self._DNA = LLMComprehendDNA()
|
|
73588
|
+
self._DNA._deserialize(params.get("DNA"))
|
|
73083
73589
|
memeber_set = set(params.keys())
|
|
73084
73590
|
for name, value in vars(self).items():
|
|
73085
73591
|
property_name = name[1:]
|
|
@@ -93328,20 +93834,20 @@ class SceneAigcVideoOutputConfig(AbstractModel):
|
|
|
93328
93834
|
|
|
93329
93835
|
def __init__(self):
|
|
93330
93836
|
r"""
|
|
93331
|
-
:param _StorageMode:
|
|
93332
|
-
默认值:Temporary
|
|
93837
|
+
:param _StorageMode: <p>存储模式。取值有: <li>Permanent:永久存储,生成的图片文件将存储到云点播,可在事件通知中获取到 FileId;</li> <li>Temporary:临时存储,生成的图片文件不会存储到云点播,可在事件通知中获取到临时访问的 URL;</li><br>默认值:Temporary</p><p>当使用角色场景时,不支持指定为 Permanent。</p>
|
|
93333
93838
|
:type StorageMode: str
|
|
93334
|
-
:param _MediaName:
|
|
93839
|
+
:param _MediaName: <p>输出文件名,最长 64 个字符。缺省由系统指定生成文件名。</p>
|
|
93335
93840
|
:type MediaName: str
|
|
93336
|
-
:param _ClassId:
|
|
93337
|
-
<li>默认值:0,表示其他分类。</li>
|
|
93841
|
+
:param _ClassId: <p>分类ID,用于对媒体进行分类管理,可通过 <a href="/document/product/266/7812">创建分类</a> 接口,创建分类,获得分类 ID。</p><li>默认值:0,表示其他分类。</li>
|
|
93338
93842
|
:type ClassId: int
|
|
93339
|
-
:param _ExpireTime:
|
|
93843
|
+
:param _ExpireTime: <p>输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I">ISO 日期格式说明</a>。</p>
|
|
93340
93844
|
:type ExpireTime: str
|
|
93341
|
-
:param _AspectRatio:
|
|
93845
|
+
:param _AspectRatio: <p>指定所生成视频的宽高比。输入格式为 W:H。</p><ul><li>当生商品图场景时,可选:16:9、9:16。</li><li>当角色场景时,可选:21:9、16:9、9:16、4:3、3:4、1:1。</li></ul>
|
|
93342
93846
|
:type AspectRatio: str
|
|
93343
|
-
:param _Duration:
|
|
93847
|
+
:param _Duration: <p>生成视频时长。</p><ul><li>当使用生商品图场景时,可选值4、6、8秒。</li><li>当使用角色场景时,可选值为4到15秒。</li></ul>
|
|
93344
93848
|
:type Duration: float
|
|
93849
|
+
:param _Resolution: <p>分辨率。仅当角色场景时有效。取值如下:</p><ul><li>当 Model 是 character_scene_standard 时,支持 480p、720p、1080p、4K;</li><li>当 Model 是 character_scene_mini 时,支持 480p、720p;</li><li>当 Model 是 character_scene_fast 时,支持 720p。</li></ul>
|
|
93850
|
+
:type Resolution: str
|
|
93345
93851
|
"""
|
|
93346
93852
|
self._StorageMode = None
|
|
93347
93853
|
self._MediaName = None
|
|
@@ -93349,11 +93855,11 @@ class SceneAigcVideoOutputConfig(AbstractModel):
|
|
|
93349
93855
|
self._ExpireTime = None
|
|
93350
93856
|
self._AspectRatio = None
|
|
93351
93857
|
self._Duration = None
|
|
93858
|
+
self._Resolution = None
|
|
93352
93859
|
|
|
93353
93860
|
@property
|
|
93354
93861
|
def StorageMode(self):
|
|
93355
|
-
r"""
|
|
93356
|
-
默认值:Temporary
|
|
93862
|
+
r"""<p>存储模式。取值有: <li>Permanent:永久存储,生成的图片文件将存储到云点播,可在事件通知中获取到 FileId;</li> <li>Temporary:临时存储,生成的图片文件不会存储到云点播,可在事件通知中获取到临时访问的 URL;</li><br>默认值:Temporary</p><p>当使用角色场景时,不支持指定为 Permanent。</p>
|
|
93357
93863
|
:rtype: str
|
|
93358
93864
|
"""
|
|
93359
93865
|
return self._StorageMode
|
|
@@ -93364,7 +93870,7 @@ class SceneAigcVideoOutputConfig(AbstractModel):
|
|
|
93364
93870
|
|
|
93365
93871
|
@property
|
|
93366
93872
|
def MediaName(self):
|
|
93367
|
-
r"""
|
|
93873
|
+
r"""<p>输出文件名,最长 64 个字符。缺省由系统指定生成文件名。</p>
|
|
93368
93874
|
:rtype: str
|
|
93369
93875
|
"""
|
|
93370
93876
|
return self._MediaName
|
|
@@ -93375,8 +93881,7 @@ class SceneAigcVideoOutputConfig(AbstractModel):
|
|
|
93375
93881
|
|
|
93376
93882
|
@property
|
|
93377
93883
|
def ClassId(self):
|
|
93378
|
-
r"""
|
|
93379
|
-
<li>默认值:0,表示其他分类。</li>
|
|
93884
|
+
r"""<p>分类ID,用于对媒体进行分类管理,可通过 <a href="/document/product/266/7812">创建分类</a> 接口,创建分类,获得分类 ID。</p><li>默认值:0,表示其他分类。</li>
|
|
93380
93885
|
:rtype: int
|
|
93381
93886
|
"""
|
|
93382
93887
|
return self._ClassId
|
|
@@ -93387,7 +93892,7 @@ class SceneAigcVideoOutputConfig(AbstractModel):
|
|
|
93387
93892
|
|
|
93388
93893
|
@property
|
|
93389
93894
|
def ExpireTime(self):
|
|
93390
|
-
r"""
|
|
93895
|
+
r"""<p>输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I">ISO 日期格式说明</a>。</p>
|
|
93391
93896
|
:rtype: str
|
|
93392
93897
|
"""
|
|
93393
93898
|
return self._ExpireTime
|
|
@@ -93398,7 +93903,7 @@ class SceneAigcVideoOutputConfig(AbstractModel):
|
|
|
93398
93903
|
|
|
93399
93904
|
@property
|
|
93400
93905
|
def AspectRatio(self):
|
|
93401
|
-
r"""
|
|
93906
|
+
r"""<p>指定所生成视频的宽高比。输入格式为 W:H。</p><ul><li>当生商品图场景时,可选:16:9、9:16。</li><li>当角色场景时,可选:21:9、16:9、9:16、4:3、3:4、1:1。</li></ul>
|
|
93402
93907
|
:rtype: str
|
|
93403
93908
|
"""
|
|
93404
93909
|
return self._AspectRatio
|
|
@@ -93409,7 +93914,7 @@ class SceneAigcVideoOutputConfig(AbstractModel):
|
|
|
93409
93914
|
|
|
93410
93915
|
@property
|
|
93411
93916
|
def Duration(self):
|
|
93412
|
-
r"""
|
|
93917
|
+
r"""<p>生成视频时长。</p><ul><li>当使用生商品图场景时,可选值4、6、8秒。</li><li>当使用角色场景时,可选值为4到15秒。</li></ul>
|
|
93413
93918
|
:rtype: float
|
|
93414
93919
|
"""
|
|
93415
93920
|
return self._Duration
|
|
@@ -93418,6 +93923,17 @@ class SceneAigcVideoOutputConfig(AbstractModel):
|
|
|
93418
93923
|
def Duration(self, Duration):
|
|
93419
93924
|
self._Duration = Duration
|
|
93420
93925
|
|
|
93926
|
+
@property
|
|
93927
|
+
def Resolution(self):
|
|
93928
|
+
r"""<p>分辨率。仅当角色场景时有效。取值如下:</p><ul><li>当 Model 是 character_scene_standard 时,支持 480p、720p、1080p、4K;</li><li>当 Model 是 character_scene_mini 时,支持 480p、720p;</li><li>当 Model 是 character_scene_fast 时,支持 720p。</li></ul>
|
|
93929
|
+
:rtype: str
|
|
93930
|
+
"""
|
|
93931
|
+
return self._Resolution
|
|
93932
|
+
|
|
93933
|
+
@Resolution.setter
|
|
93934
|
+
def Resolution(self, Resolution):
|
|
93935
|
+
self._Resolution = Resolution
|
|
93936
|
+
|
|
93421
93937
|
|
|
93422
93938
|
def _deserialize(self, params):
|
|
93423
93939
|
self._StorageMode = params.get("StorageMode")
|
|
@@ -93426,6 +93942,7 @@ class SceneAigcVideoOutputConfig(AbstractModel):
|
|
|
93426
93942
|
self._ExpireTime = params.get("ExpireTime")
|
|
93427
93943
|
self._AspectRatio = params.get("AspectRatio")
|
|
93428
93944
|
self._Duration = params.get("Duration")
|
|
93945
|
+
self._Resolution = params.get("Resolution")
|
|
93429
93946
|
memeber_set = set(params.keys())
|
|
93430
93947
|
for name, value in vars(self).items():
|
|
93431
93948
|
property_name = name[1:]
|
|
@@ -93866,6 +94383,139 @@ class ScratchRepairInfo(AbstractModel):
|
|
|
93866
94383
|
|
|
93867
94384
|
|
|
93868
94385
|
|
|
94386
|
+
class SearchMediaBySemanticsAsync(AbstractModel):
|
|
94387
|
+
r"""异步按语义搜索媒体任务信息
|
|
94388
|
+
|
|
94389
|
+
"""
|
|
94390
|
+
|
|
94391
|
+
def __init__(self):
|
|
94392
|
+
r"""
|
|
94393
|
+
:param _TaskId: <p>任务ID。</p>
|
|
94394
|
+
:type TaskId: str
|
|
94395
|
+
:param _Status: <p>任务状态,取值:<li>PROCESSING:处理中;</li><li>FINISH:已完成。</li></p>
|
|
94396
|
+
:type Status: str
|
|
94397
|
+
:param _ErrCode: <p>错误码。源异常时返回非0错误码,返回0时请使用各个具体任务的 ErrCode。</p>
|
|
94398
|
+
:type ErrCode: int
|
|
94399
|
+
:param _ErrCodeExt: <p>扩展错误码。</p>
|
|
94400
|
+
:type ErrCodeExt: str
|
|
94401
|
+
:param _Message: <p>错误信息。</p>
|
|
94402
|
+
:type Message: str
|
|
94403
|
+
:param _QueryText: <p>本次查询文本(图片查询时为空)。</p>
|
|
94404
|
+
:type QueryText: str
|
|
94405
|
+
:param _SearchResults: <p>召回列表。</p>
|
|
94406
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
94407
|
+
:type SearchResults: list of SemanticsSearchResult
|
|
94408
|
+
"""
|
|
94409
|
+
self._TaskId = None
|
|
94410
|
+
self._Status = None
|
|
94411
|
+
self._ErrCode = None
|
|
94412
|
+
self._ErrCodeExt = None
|
|
94413
|
+
self._Message = None
|
|
94414
|
+
self._QueryText = None
|
|
94415
|
+
self._SearchResults = None
|
|
94416
|
+
|
|
94417
|
+
@property
|
|
94418
|
+
def TaskId(self):
|
|
94419
|
+
r"""<p>任务ID。</p>
|
|
94420
|
+
:rtype: str
|
|
94421
|
+
"""
|
|
94422
|
+
return self._TaskId
|
|
94423
|
+
|
|
94424
|
+
@TaskId.setter
|
|
94425
|
+
def TaskId(self, TaskId):
|
|
94426
|
+
self._TaskId = TaskId
|
|
94427
|
+
|
|
94428
|
+
@property
|
|
94429
|
+
def Status(self):
|
|
94430
|
+
r"""<p>任务状态,取值:<li>PROCESSING:处理中;</li><li>FINISH:已完成。</li></p>
|
|
94431
|
+
:rtype: str
|
|
94432
|
+
"""
|
|
94433
|
+
return self._Status
|
|
94434
|
+
|
|
94435
|
+
@Status.setter
|
|
94436
|
+
def Status(self, Status):
|
|
94437
|
+
self._Status = Status
|
|
94438
|
+
|
|
94439
|
+
@property
|
|
94440
|
+
def ErrCode(self):
|
|
94441
|
+
r"""<p>错误码。源异常时返回非0错误码,返回0时请使用各个具体任务的 ErrCode。</p>
|
|
94442
|
+
:rtype: int
|
|
94443
|
+
"""
|
|
94444
|
+
return self._ErrCode
|
|
94445
|
+
|
|
94446
|
+
@ErrCode.setter
|
|
94447
|
+
def ErrCode(self, ErrCode):
|
|
94448
|
+
self._ErrCode = ErrCode
|
|
94449
|
+
|
|
94450
|
+
@property
|
|
94451
|
+
def ErrCodeExt(self):
|
|
94452
|
+
r"""<p>扩展错误码。</p>
|
|
94453
|
+
:rtype: str
|
|
94454
|
+
"""
|
|
94455
|
+
return self._ErrCodeExt
|
|
94456
|
+
|
|
94457
|
+
@ErrCodeExt.setter
|
|
94458
|
+
def ErrCodeExt(self, ErrCodeExt):
|
|
94459
|
+
self._ErrCodeExt = ErrCodeExt
|
|
94460
|
+
|
|
94461
|
+
@property
|
|
94462
|
+
def Message(self):
|
|
94463
|
+
r"""<p>错误信息。</p>
|
|
94464
|
+
:rtype: str
|
|
94465
|
+
"""
|
|
94466
|
+
return self._Message
|
|
94467
|
+
|
|
94468
|
+
@Message.setter
|
|
94469
|
+
def Message(self, Message):
|
|
94470
|
+
self._Message = Message
|
|
94471
|
+
|
|
94472
|
+
@property
|
|
94473
|
+
def QueryText(self):
|
|
94474
|
+
r"""<p>本次查询文本(图片查询时为空)。</p>
|
|
94475
|
+
:rtype: str
|
|
94476
|
+
"""
|
|
94477
|
+
return self._QueryText
|
|
94478
|
+
|
|
94479
|
+
@QueryText.setter
|
|
94480
|
+
def QueryText(self, QueryText):
|
|
94481
|
+
self._QueryText = QueryText
|
|
94482
|
+
|
|
94483
|
+
@property
|
|
94484
|
+
def SearchResults(self):
|
|
94485
|
+
r"""<p>召回列表。</p>
|
|
94486
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
94487
|
+
:rtype: list of SemanticsSearchResult
|
|
94488
|
+
"""
|
|
94489
|
+
return self._SearchResults
|
|
94490
|
+
|
|
94491
|
+
@SearchResults.setter
|
|
94492
|
+
def SearchResults(self, SearchResults):
|
|
94493
|
+
self._SearchResults = SearchResults
|
|
94494
|
+
|
|
94495
|
+
|
|
94496
|
+
def _deserialize(self, params):
|
|
94497
|
+
self._TaskId = params.get("TaskId")
|
|
94498
|
+
self._Status = params.get("Status")
|
|
94499
|
+
self._ErrCode = params.get("ErrCode")
|
|
94500
|
+
self._ErrCodeExt = params.get("ErrCodeExt")
|
|
94501
|
+
self._Message = params.get("Message")
|
|
94502
|
+
self._QueryText = params.get("QueryText")
|
|
94503
|
+
if params.get("SearchResults") is not None:
|
|
94504
|
+
self._SearchResults = []
|
|
94505
|
+
for item in params.get("SearchResults"):
|
|
94506
|
+
obj = SemanticsSearchResult()
|
|
94507
|
+
obj._deserialize(item)
|
|
94508
|
+
self._SearchResults.append(obj)
|
|
94509
|
+
memeber_set = set(params.keys())
|
|
94510
|
+
for name, value in vars(self).items():
|
|
94511
|
+
property_name = name[1:]
|
|
94512
|
+
if property_name in memeber_set:
|
|
94513
|
+
memeber_set.remove(property_name)
|
|
94514
|
+
if len(memeber_set) > 0:
|
|
94515
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
94516
|
+
|
|
94517
|
+
|
|
94518
|
+
|
|
93869
94519
|
class SearchMediaBySemanticsRequest(AbstractModel):
|
|
93870
94520
|
r"""SearchMediaBySemantics请求参数结构体
|
|
93871
94521
|
|
|
@@ -93875,9 +94525,13 @@ class SearchMediaBySemanticsRequest(AbstractModel):
|
|
|
93875
94525
|
r"""
|
|
93876
94526
|
:param _SubAppId: <p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
|
|
93877
94527
|
:type SubAppId: int
|
|
93878
|
-
:param _Text: <p
|
|
94528
|
+
:param _Text: <p>需要进行搜索的文本内容。</p><p>入参限制:与 <code>FileId</code>、<code>Url</code> <strong>三选一且互斥</strong>。</p>
|
|
93879
94529
|
:type Text: str
|
|
93880
|
-
:param
|
|
94530
|
+
:param _FileId: <p>需要进行搜索的图片FileId。</p><p>入参限制:必须是<strong>图片</strong>类型媒资,且与 <code>Text</code>、<code>Url</code> <strong>三选一且互斥</strong>。</p>
|
|
94531
|
+
:type FileId: str
|
|
94532
|
+
:param _Url: <p>需要进行搜索的图片Url。 </p><p>入参限制:必须是<strong>图片</strong>Url,且与 <code>Text</code>、<code>FileId</code> <strong>三选一且互斥</strong>。</p>
|
|
94533
|
+
:type Url: str
|
|
94534
|
+
:param _KnowledgeBaseId: <p>知识库ID,留空时将使用默认知识库。<br>当输入为图片时,必须选择MediaType=Image的知识库。</p>
|
|
93881
94535
|
:type KnowledgeBaseId: str
|
|
93882
94536
|
:param _Limit: <p>返回的记录条数,默认值:20。</p><p>取值范围:[1, 100]</p>
|
|
93883
94537
|
:type Limit: int
|
|
@@ -93892,6 +94546,8 @@ class SearchMediaBySemanticsRequest(AbstractModel):
|
|
|
93892
94546
|
"""
|
|
93893
94547
|
self._SubAppId = None
|
|
93894
94548
|
self._Text = None
|
|
94549
|
+
self._FileId = None
|
|
94550
|
+
self._Url = None
|
|
93895
94551
|
self._KnowledgeBaseId = None
|
|
93896
94552
|
self._Limit = None
|
|
93897
94553
|
self._Categories = None
|
|
@@ -93912,7 +94568,7 @@ class SearchMediaBySemanticsRequest(AbstractModel):
|
|
|
93912
94568
|
|
|
93913
94569
|
@property
|
|
93914
94570
|
def Text(self):
|
|
93915
|
-
r"""<p
|
|
94571
|
+
r"""<p>需要进行搜索的文本内容。</p><p>入参限制:与 <code>FileId</code>、<code>Url</code> <strong>三选一且互斥</strong>。</p>
|
|
93916
94572
|
:rtype: str
|
|
93917
94573
|
"""
|
|
93918
94574
|
return self._Text
|
|
@@ -93921,9 +94577,31 @@ class SearchMediaBySemanticsRequest(AbstractModel):
|
|
|
93921
94577
|
def Text(self, Text):
|
|
93922
94578
|
self._Text = Text
|
|
93923
94579
|
|
|
94580
|
+
@property
|
|
94581
|
+
def FileId(self):
|
|
94582
|
+
r"""<p>需要进行搜索的图片FileId。</p><p>入参限制:必须是<strong>图片</strong>类型媒资,且与 <code>Text</code>、<code>Url</code> <strong>三选一且互斥</strong>。</p>
|
|
94583
|
+
:rtype: str
|
|
94584
|
+
"""
|
|
94585
|
+
return self._FileId
|
|
94586
|
+
|
|
94587
|
+
@FileId.setter
|
|
94588
|
+
def FileId(self, FileId):
|
|
94589
|
+
self._FileId = FileId
|
|
94590
|
+
|
|
94591
|
+
@property
|
|
94592
|
+
def Url(self):
|
|
94593
|
+
r"""<p>需要进行搜索的图片Url。 </p><p>入参限制:必须是<strong>图片</strong>Url,且与 <code>Text</code>、<code>FileId</code> <strong>三选一且互斥</strong>。</p>
|
|
94594
|
+
:rtype: str
|
|
94595
|
+
"""
|
|
94596
|
+
return self._Url
|
|
94597
|
+
|
|
94598
|
+
@Url.setter
|
|
94599
|
+
def Url(self, Url):
|
|
94600
|
+
self._Url = Url
|
|
94601
|
+
|
|
93924
94602
|
@property
|
|
93925
94603
|
def KnowledgeBaseId(self):
|
|
93926
|
-
r"""<p>知识库ID
|
|
94604
|
+
r"""<p>知识库ID,留空时将使用默认知识库。<br>当输入为图片时,必须选择MediaType=Image的知识库。</p>
|
|
93927
94605
|
:rtype: str
|
|
93928
94606
|
"""
|
|
93929
94607
|
return self._KnowledgeBaseId
|
|
@@ -93991,6 +94669,8 @@ class SearchMediaBySemanticsRequest(AbstractModel):
|
|
|
93991
94669
|
def _deserialize(self, params):
|
|
93992
94670
|
self._SubAppId = params.get("SubAppId")
|
|
93993
94671
|
self._Text = params.get("Text")
|
|
94672
|
+
self._FileId = params.get("FileId")
|
|
94673
|
+
self._Url = params.get("Url")
|
|
93994
94674
|
self._KnowledgeBaseId = params.get("KnowledgeBaseId")
|
|
93995
94675
|
self._Limit = params.get("Limit")
|
|
93996
94676
|
self._Categories = params.get("Categories")
|
|
@@ -5614,6 +5614,7 @@ class VodClient(AbstractClient):
|
|
|
5614
5614
|
|
|
5615
5615
|
def SearchMediaBySemantics(self, request):
|
|
5616
5616
|
r"""使用自然语言对媒体进行语义搜索。
|
|
5617
|
+
仅支持文搜视频、文搜图、图搜图,图搜视频请使用SearchMediaBySemanticsAsync.
|
|
5617
5618
|
|
|
5618
5619
|
:param request: Request instance for SearchMediaBySemantics.
|
|
5619
5620
|
:type request: :class:`tencentcloud.vod.v20180717.models.SearchMediaBySemanticsRequest`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-vod
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.196
|
|
4
4
|
Summary: Tencent Cloud Vod SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.196
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.196
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.190
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|