tencentcloud-sdk-python-iotexplorer 3.1.5__tar.gz → 3.1.45__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_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/setup.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/tencentcloud/iotexplorer/v20190423/errorcodes.py +6 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -25
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +18 -20
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/tencentcloud/iotexplorer/v20190423/models.py +195 -66
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_iotexplorer-3.1.45/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_iotexplorer-3.1.5/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/README.rst +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/setup.cfg +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.45
|
|
4
4
|
Summary: Tencent Cloud Iotexplorer 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.45
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-iotexplorer',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.45,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
@@ -23,6 +23,9 @@ FAILEDOPERATION = 'FailedOperation'
|
|
|
23
23
|
# 动作消息不可达。
|
|
24
24
|
FAILEDOPERATION_ACTIONUNREACHABLE = 'FailedOperation.ActionUnreachable'
|
|
25
25
|
|
|
26
|
+
# 已有操作正在进行中
|
|
27
|
+
FAILEDOPERATION_ANOTHEROPERATIONISRUNNING = 'FailedOperation.AnotherOperationIsRunning'
|
|
28
|
+
|
|
26
29
|
# 广播任务正在执行。
|
|
27
30
|
FAILEDOPERATION_BROADCASTTASKISRUNNING = 'FailedOperation.BroadcastTaskIsRunning'
|
|
28
31
|
|
|
@@ -368,6 +371,9 @@ LIMITEXCEEDED_THINGMODELEXCEEDLIMIT = 'LimitExceeded.ThingModelExceedLimit'
|
|
|
368
371
|
# Topic数量超出限制。
|
|
369
372
|
LIMITEXCEEDED_TOPICPOLICYEXCEEDLIMIT = 'LimitExceeded.TopicPolicyExceedLimit'
|
|
370
373
|
|
|
374
|
+
# 缺少参数错误。
|
|
375
|
+
MISSINGPARAMETER = 'MissingParameter'
|
|
376
|
+
|
|
371
377
|
# 物模型事件 Type 错误。
|
|
372
378
|
MISSINGPARAMETER_MODELDEFINEEVENTTYPEERROR = 'MissingParameter.ModelDefineEventTypeError'
|
|
373
379
|
|
|
@@ -256,31 +256,6 @@ class IotexplorerClient(AbstractClient):
|
|
|
256
256
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
257
257
|
|
|
258
258
|
|
|
259
|
-
def CancelAssignTWeCallLicense(self, request):
|
|
260
|
-
r"""业务已下线
|
|
261
|
-
|
|
262
|
-
取消分配
|
|
263
|
-
|
|
264
|
-
:param request: Request instance for CancelAssignTWeCallLicense.
|
|
265
|
-
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CancelAssignTWeCallLicenseRequest`
|
|
266
|
-
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CancelAssignTWeCallLicenseResponse`
|
|
267
|
-
|
|
268
|
-
"""
|
|
269
|
-
try:
|
|
270
|
-
params = request._serialize()
|
|
271
|
-
headers = request.headers
|
|
272
|
-
body = self.call("CancelAssignTWeCallLicense", params, headers=headers)
|
|
273
|
-
response = json.loads(body)
|
|
274
|
-
model = models.CancelAssignTWeCallLicenseResponse()
|
|
275
|
-
model._deserialize(response["Response"])
|
|
276
|
-
return model
|
|
277
|
-
except Exception as e:
|
|
278
|
-
if isinstance(e, TencentCloudSDKException):
|
|
279
|
-
raise
|
|
280
|
-
else:
|
|
281
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
282
|
-
|
|
283
|
-
|
|
284
259
|
def ChangeP2PRoute(self, request):
|
|
285
260
|
r"""p2p路线切换(此接口目前处于内测接口,可以联系申请加白 )
|
|
286
261
|
|
|
@@ -488,6 +463,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
488
463
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
489
464
|
|
|
490
465
|
|
|
466
|
+
def CreateDeviceSDPAnswer(self, request):
|
|
467
|
+
r"""创建设备SDP应答
|
|
468
|
+
|
|
469
|
+
:param request: Request instance for CreateDeviceSDPAnswer.
|
|
470
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateDeviceSDPAnswerRequest`
|
|
471
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateDeviceSDPAnswerResponse`
|
|
472
|
+
|
|
473
|
+
"""
|
|
474
|
+
try:
|
|
475
|
+
params = request._serialize()
|
|
476
|
+
headers = request.headers
|
|
477
|
+
body = self.call("CreateDeviceSDPAnswer", params, headers=headers)
|
|
478
|
+
response = json.loads(body)
|
|
479
|
+
model = models.CreateDeviceSDPAnswerResponse()
|
|
480
|
+
model._deserialize(response["Response"])
|
|
481
|
+
return model
|
|
482
|
+
except Exception as e:
|
|
483
|
+
if isinstance(e, TencentCloudSDKException):
|
|
484
|
+
raise
|
|
485
|
+
else:
|
|
486
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
487
|
+
|
|
488
|
+
|
|
491
489
|
def CreateExternalSourceAIServiceTask(self, request):
|
|
492
490
|
r"""创建外部视频 AI 分析任务
|
|
493
491
|
|
|
@@ -205,26 +205,6 @@ class IotexplorerClient(AbstractClient):
|
|
|
205
205
|
|
|
206
206
|
return await self.call_and_deserialize(**kwargs)
|
|
207
207
|
|
|
208
|
-
async def CancelAssignTWeCallLicense(
|
|
209
|
-
self,
|
|
210
|
-
request: models.CancelAssignTWeCallLicenseRequest,
|
|
211
|
-
opts: Dict = None,
|
|
212
|
-
) -> models.CancelAssignTWeCallLicenseResponse:
|
|
213
|
-
"""
|
|
214
|
-
业务已下线
|
|
215
|
-
|
|
216
|
-
取消分配
|
|
217
|
-
"""
|
|
218
|
-
|
|
219
|
-
kwargs = {}
|
|
220
|
-
kwargs["action"] = "CancelAssignTWeCallLicense"
|
|
221
|
-
kwargs["params"] = request._serialize()
|
|
222
|
-
kwargs["resp_cls"] = models.CancelAssignTWeCallLicenseResponse
|
|
223
|
-
kwargs["headers"] = request.headers
|
|
224
|
-
kwargs["opts"] = opts or {}
|
|
225
|
-
|
|
226
|
-
return await self.call_and_deserialize(**kwargs)
|
|
227
|
-
|
|
228
208
|
async def ChangeP2PRoute(
|
|
229
209
|
self,
|
|
230
210
|
request: models.ChangeP2PRouteRequest,
|
|
@@ -387,6 +367,24 @@ class IotexplorerClient(AbstractClient):
|
|
|
387
367
|
|
|
388
368
|
return await self.call_and_deserialize(**kwargs)
|
|
389
369
|
|
|
370
|
+
async def CreateDeviceSDPAnswer(
|
|
371
|
+
self,
|
|
372
|
+
request: models.CreateDeviceSDPAnswerRequest,
|
|
373
|
+
opts: Dict = None,
|
|
374
|
+
) -> models.CreateDeviceSDPAnswerResponse:
|
|
375
|
+
"""
|
|
376
|
+
创建设备SDP应答
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
kwargs = {}
|
|
380
|
+
kwargs["action"] = "CreateDeviceSDPAnswer"
|
|
381
|
+
kwargs["params"] = request._serialize()
|
|
382
|
+
kwargs["resp_cls"] = models.CreateDeviceSDPAnswerResponse
|
|
383
|
+
kwargs["headers"] = request.headers
|
|
384
|
+
kwargs["opts"] = opts or {}
|
|
385
|
+
|
|
386
|
+
return await self.call_and_deserialize(**kwargs)
|
|
387
|
+
|
|
390
388
|
async def CreateExternalSourceAIServiceTask(
|
|
391
389
|
self,
|
|
392
390
|
request: models.CreateExternalSourceAIServiceTaskRequest,
|
|
@@ -2145,70 +2145,6 @@ class CamTag(AbstractModel):
|
|
|
2145
2145
|
|
|
2146
2146
|
|
|
2147
2147
|
|
|
2148
|
-
class CancelAssignTWeCallLicenseRequest(AbstractModel):
|
|
2149
|
-
r"""CancelAssignTWeCallLicense请求参数结构体
|
|
2150
|
-
|
|
2151
|
-
"""
|
|
2152
|
-
|
|
2153
|
-
def __init__(self):
|
|
2154
|
-
r"""
|
|
2155
|
-
:param _PkgId: 订单号
|
|
2156
|
-
:type PkgId: str
|
|
2157
|
-
"""
|
|
2158
|
-
self._PkgId = None
|
|
2159
|
-
|
|
2160
|
-
@property
|
|
2161
|
-
def PkgId(self):
|
|
2162
|
-
r"""订单号
|
|
2163
|
-
:rtype: str
|
|
2164
|
-
"""
|
|
2165
|
-
return self._PkgId
|
|
2166
|
-
|
|
2167
|
-
@PkgId.setter
|
|
2168
|
-
def PkgId(self, PkgId):
|
|
2169
|
-
self._PkgId = PkgId
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
def _deserialize(self, params):
|
|
2173
|
-
self._PkgId = params.get("PkgId")
|
|
2174
|
-
memeber_set = set(params.keys())
|
|
2175
|
-
for name, value in vars(self).items():
|
|
2176
|
-
property_name = name[1:]
|
|
2177
|
-
if property_name in memeber_set:
|
|
2178
|
-
memeber_set.remove(property_name)
|
|
2179
|
-
if len(memeber_set) > 0:
|
|
2180
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
class CancelAssignTWeCallLicenseResponse(AbstractModel):
|
|
2185
|
-
r"""CancelAssignTWeCallLicense返回参数结构体
|
|
2186
|
-
|
|
2187
|
-
"""
|
|
2188
|
-
|
|
2189
|
-
def __init__(self):
|
|
2190
|
-
r"""
|
|
2191
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2192
|
-
:type RequestId: str
|
|
2193
|
-
"""
|
|
2194
|
-
self._RequestId = None
|
|
2195
|
-
|
|
2196
|
-
@property
|
|
2197
|
-
def RequestId(self):
|
|
2198
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2199
|
-
:rtype: str
|
|
2200
|
-
"""
|
|
2201
|
-
return self._RequestId
|
|
2202
|
-
|
|
2203
|
-
@RequestId.setter
|
|
2204
|
-
def RequestId(self, RequestId):
|
|
2205
|
-
self._RequestId = RequestId
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
def _deserialize(self, params):
|
|
2209
|
-
self._RequestId = params.get("RequestId")
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
2148
|
class ChangeP2PRouteRequest(AbstractModel):
|
|
2213
2149
|
r"""ChangeP2PRoute请求参数结构体
|
|
2214
2150
|
|
|
@@ -4661,6 +4597,115 @@ class CreateDeviceResponse(AbstractModel):
|
|
|
4661
4597
|
self._RequestId = params.get("RequestId")
|
|
4662
4598
|
|
|
4663
4599
|
|
|
4600
|
+
class CreateDeviceSDPAnswerRequest(AbstractModel):
|
|
4601
|
+
r"""CreateDeviceSDPAnswer请求参数结构体
|
|
4602
|
+
|
|
4603
|
+
"""
|
|
4604
|
+
|
|
4605
|
+
def __init__(self):
|
|
4606
|
+
r"""
|
|
4607
|
+
:param _ProductId: 产品ID
|
|
4608
|
+
:type ProductId: str
|
|
4609
|
+
:param _DeviceName: 设备名称
|
|
4610
|
+
:type DeviceName: str
|
|
4611
|
+
:param _SDPOffer: SDP提议
|
|
4612
|
+
:type SDPOffer: str
|
|
4613
|
+
"""
|
|
4614
|
+
self._ProductId = None
|
|
4615
|
+
self._DeviceName = None
|
|
4616
|
+
self._SDPOffer = None
|
|
4617
|
+
|
|
4618
|
+
@property
|
|
4619
|
+
def ProductId(self):
|
|
4620
|
+
r"""产品ID
|
|
4621
|
+
:rtype: str
|
|
4622
|
+
"""
|
|
4623
|
+
return self._ProductId
|
|
4624
|
+
|
|
4625
|
+
@ProductId.setter
|
|
4626
|
+
def ProductId(self, ProductId):
|
|
4627
|
+
self._ProductId = ProductId
|
|
4628
|
+
|
|
4629
|
+
@property
|
|
4630
|
+
def DeviceName(self):
|
|
4631
|
+
r"""设备名称
|
|
4632
|
+
:rtype: str
|
|
4633
|
+
"""
|
|
4634
|
+
return self._DeviceName
|
|
4635
|
+
|
|
4636
|
+
@DeviceName.setter
|
|
4637
|
+
def DeviceName(self, DeviceName):
|
|
4638
|
+
self._DeviceName = DeviceName
|
|
4639
|
+
|
|
4640
|
+
@property
|
|
4641
|
+
def SDPOffer(self):
|
|
4642
|
+
r"""SDP提议
|
|
4643
|
+
:rtype: str
|
|
4644
|
+
"""
|
|
4645
|
+
return self._SDPOffer
|
|
4646
|
+
|
|
4647
|
+
@SDPOffer.setter
|
|
4648
|
+
def SDPOffer(self, SDPOffer):
|
|
4649
|
+
self._SDPOffer = SDPOffer
|
|
4650
|
+
|
|
4651
|
+
|
|
4652
|
+
def _deserialize(self, params):
|
|
4653
|
+
self._ProductId = params.get("ProductId")
|
|
4654
|
+
self._DeviceName = params.get("DeviceName")
|
|
4655
|
+
self._SDPOffer = params.get("SDPOffer")
|
|
4656
|
+
memeber_set = set(params.keys())
|
|
4657
|
+
for name, value in vars(self).items():
|
|
4658
|
+
property_name = name[1:]
|
|
4659
|
+
if property_name in memeber_set:
|
|
4660
|
+
memeber_set.remove(property_name)
|
|
4661
|
+
if len(memeber_set) > 0:
|
|
4662
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4663
|
+
|
|
4664
|
+
|
|
4665
|
+
|
|
4666
|
+
class CreateDeviceSDPAnswerResponse(AbstractModel):
|
|
4667
|
+
r"""CreateDeviceSDPAnswer返回参数结构体
|
|
4668
|
+
|
|
4669
|
+
"""
|
|
4670
|
+
|
|
4671
|
+
def __init__(self):
|
|
4672
|
+
r"""
|
|
4673
|
+
:param _SDPAnswer: SDP应答
|
|
4674
|
+
:type SDPAnswer: str
|
|
4675
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4676
|
+
:type RequestId: str
|
|
4677
|
+
"""
|
|
4678
|
+
self._SDPAnswer = None
|
|
4679
|
+
self._RequestId = None
|
|
4680
|
+
|
|
4681
|
+
@property
|
|
4682
|
+
def SDPAnswer(self):
|
|
4683
|
+
r"""SDP应答
|
|
4684
|
+
:rtype: str
|
|
4685
|
+
"""
|
|
4686
|
+
return self._SDPAnswer
|
|
4687
|
+
|
|
4688
|
+
@SDPAnswer.setter
|
|
4689
|
+
def SDPAnswer(self, SDPAnswer):
|
|
4690
|
+
self._SDPAnswer = SDPAnswer
|
|
4691
|
+
|
|
4692
|
+
@property
|
|
4693
|
+
def RequestId(self):
|
|
4694
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4695
|
+
:rtype: str
|
|
4696
|
+
"""
|
|
4697
|
+
return self._RequestId
|
|
4698
|
+
|
|
4699
|
+
@RequestId.setter
|
|
4700
|
+
def RequestId(self, RequestId):
|
|
4701
|
+
self._RequestId = RequestId
|
|
4702
|
+
|
|
4703
|
+
|
|
4704
|
+
def _deserialize(self, params):
|
|
4705
|
+
self._SDPAnswer = params.get("SDPAnswer")
|
|
4706
|
+
self._RequestId = params.get("RequestId")
|
|
4707
|
+
|
|
4708
|
+
|
|
4664
4709
|
class CreateExternalSourceAIServiceTaskRequest(AbstractModel):
|
|
4665
4710
|
r"""CreateExternalSourceAIServiceTask请求参数结构体
|
|
4666
4711
|
|
|
@@ -7228,6 +7273,8 @@ class CreateTWeTalkAIBotRequest(AbstractModel):
|
|
|
7228
7273
|
:type AgentConfig: :class:`tencentcloud.iotexplorer.v20190423.models.TalkAgentConfigInfo`
|
|
7229
7274
|
:param _InstanceId: 实例ID
|
|
7230
7275
|
:type InstanceId: str
|
|
7276
|
+
:param _CustomTools: 自定义工具配置,最多可创建10个
|
|
7277
|
+
:type CustomTools: str
|
|
7231
7278
|
"""
|
|
7232
7279
|
self._Name = None
|
|
7233
7280
|
self._Description = None
|
|
@@ -7237,6 +7284,7 @@ class CreateTWeTalkAIBotRequest(AbstractModel):
|
|
|
7237
7284
|
self._TTSConfig = None
|
|
7238
7285
|
self._AgentConfig = None
|
|
7239
7286
|
self._InstanceId = None
|
|
7287
|
+
self._CustomTools = None
|
|
7240
7288
|
|
|
7241
7289
|
@property
|
|
7242
7290
|
def Name(self):
|
|
@@ -7326,6 +7374,17 @@ class CreateTWeTalkAIBotRequest(AbstractModel):
|
|
|
7326
7374
|
def InstanceId(self, InstanceId):
|
|
7327
7375
|
self._InstanceId = InstanceId
|
|
7328
7376
|
|
|
7377
|
+
@property
|
|
7378
|
+
def CustomTools(self):
|
|
7379
|
+
r"""自定义工具配置,最多可创建10个
|
|
7380
|
+
:rtype: str
|
|
7381
|
+
"""
|
|
7382
|
+
return self._CustomTools
|
|
7383
|
+
|
|
7384
|
+
@CustomTools.setter
|
|
7385
|
+
def CustomTools(self, CustomTools):
|
|
7386
|
+
self._CustomTools = CustomTools
|
|
7387
|
+
|
|
7329
7388
|
|
|
7330
7389
|
def _deserialize(self, params):
|
|
7331
7390
|
self._Name = params.get("Name")
|
|
@@ -7344,6 +7403,7 @@ class CreateTWeTalkAIBotRequest(AbstractModel):
|
|
|
7344
7403
|
self._AgentConfig = TalkAgentConfigInfo()
|
|
7345
7404
|
self._AgentConfig._deserialize(params.get("AgentConfig"))
|
|
7346
7405
|
self._InstanceId = params.get("InstanceId")
|
|
7406
|
+
self._CustomTools = params.get("CustomTools")
|
|
7347
7407
|
memeber_set = set(params.keys())
|
|
7348
7408
|
for name, value in vars(self).items():
|
|
7349
7409
|
property_name = name[1:]
|
|
@@ -23183,6 +23243,8 @@ class GetTWeTalkAIBotListRequest(AbstractModel):
|
|
|
23183
23243
|
r"""
|
|
23184
23244
|
:param _BotId: 智能体ID
|
|
23185
23245
|
:type BotId: str
|
|
23246
|
+
:param _Name: 智能体名称
|
|
23247
|
+
:type Name: str
|
|
23186
23248
|
:param _ProductId: 产品ID
|
|
23187
23249
|
:type ProductId: str
|
|
23188
23250
|
:param _InstanceId: 实例ID
|
|
@@ -23195,6 +23257,7 @@ class GetTWeTalkAIBotListRequest(AbstractModel):
|
|
|
23195
23257
|
:type Limit: int
|
|
23196
23258
|
"""
|
|
23197
23259
|
self._BotId = None
|
|
23260
|
+
self._Name = None
|
|
23198
23261
|
self._ProductId = None
|
|
23199
23262
|
self._InstanceId = None
|
|
23200
23263
|
self._IncludeCredentials = None
|
|
@@ -23212,6 +23275,17 @@ class GetTWeTalkAIBotListRequest(AbstractModel):
|
|
|
23212
23275
|
def BotId(self, BotId):
|
|
23213
23276
|
self._BotId = BotId
|
|
23214
23277
|
|
|
23278
|
+
@property
|
|
23279
|
+
def Name(self):
|
|
23280
|
+
r"""智能体名称
|
|
23281
|
+
:rtype: str
|
|
23282
|
+
"""
|
|
23283
|
+
return self._Name
|
|
23284
|
+
|
|
23285
|
+
@Name.setter
|
|
23286
|
+
def Name(self, Name):
|
|
23287
|
+
self._Name = Name
|
|
23288
|
+
|
|
23215
23289
|
@property
|
|
23216
23290
|
def ProductId(self):
|
|
23217
23291
|
r"""产品ID
|
|
@@ -23270,6 +23344,7 @@ class GetTWeTalkAIBotListRequest(AbstractModel):
|
|
|
23270
23344
|
|
|
23271
23345
|
def _deserialize(self, params):
|
|
23272
23346
|
self._BotId = params.get("BotId")
|
|
23347
|
+
self._Name = params.get("Name")
|
|
23273
23348
|
self._ProductId = params.get("ProductId")
|
|
23274
23349
|
self._InstanceId = params.get("InstanceId")
|
|
23275
23350
|
self._IncludeCredentials = params.get("IncludeCredentials")
|
|
@@ -29724,6 +29799,8 @@ class ModifyTWeTalkAIBotRequest(AbstractModel):
|
|
|
29724
29799
|
:type TTSConfig: :class:`tencentcloud.iotexplorer.v20190423.models.TalkTTSConfigInfo`
|
|
29725
29800
|
:param _AgentConfig: 智能体配置
|
|
29726
29801
|
:type AgentConfig: :class:`tencentcloud.iotexplorer.v20190423.models.TalkAgentConfigInfo`
|
|
29802
|
+
:param _CustomTools: 自定义工具配置,最多可创建10个
|
|
29803
|
+
:type CustomTools: str
|
|
29727
29804
|
"""
|
|
29728
29805
|
self._BotId = None
|
|
29729
29806
|
self._Name = None
|
|
@@ -29733,6 +29810,7 @@ class ModifyTWeTalkAIBotRequest(AbstractModel):
|
|
|
29733
29810
|
self._LLMConfig = None
|
|
29734
29811
|
self._TTSConfig = None
|
|
29735
29812
|
self._AgentConfig = None
|
|
29813
|
+
self._CustomTools = None
|
|
29736
29814
|
|
|
29737
29815
|
@property
|
|
29738
29816
|
def BotId(self):
|
|
@@ -29822,6 +29900,17 @@ class ModifyTWeTalkAIBotRequest(AbstractModel):
|
|
|
29822
29900
|
def AgentConfig(self, AgentConfig):
|
|
29823
29901
|
self._AgentConfig = AgentConfig
|
|
29824
29902
|
|
|
29903
|
+
@property
|
|
29904
|
+
def CustomTools(self):
|
|
29905
|
+
r"""自定义工具配置,最多可创建10个
|
|
29906
|
+
:rtype: str
|
|
29907
|
+
"""
|
|
29908
|
+
return self._CustomTools
|
|
29909
|
+
|
|
29910
|
+
@CustomTools.setter
|
|
29911
|
+
def CustomTools(self, CustomTools):
|
|
29912
|
+
self._CustomTools = CustomTools
|
|
29913
|
+
|
|
29825
29914
|
|
|
29826
29915
|
def _deserialize(self, params):
|
|
29827
29916
|
self._BotId = params.get("BotId")
|
|
@@ -29840,6 +29929,7 @@ class ModifyTWeTalkAIBotRequest(AbstractModel):
|
|
|
29840
29929
|
if params.get("AgentConfig") is not None:
|
|
29841
29930
|
self._AgentConfig = TalkAgentConfigInfo()
|
|
29842
29931
|
self._AgentConfig._deserialize(params.get("AgentConfig"))
|
|
29932
|
+
self._CustomTools = params.get("CustomTools")
|
|
29843
29933
|
memeber_set = set(params.keys())
|
|
29844
29934
|
for name, value in vars(self).items():
|
|
29845
29935
|
property_name = name[1:]
|
|
@@ -34354,6 +34444,10 @@ class TalkAIBotInfo(AbstractModel):
|
|
|
34354
34444
|
:type CreateTime: int
|
|
34355
34445
|
:param _UpdateTime: 更新时间
|
|
34356
34446
|
:type UpdateTime: int
|
|
34447
|
+
:param _BoundProducts: 已关联产品信息列表
|
|
34448
|
+
:type BoundProducts: list of TalkProductInfo
|
|
34449
|
+
:param _CustomTools: 自定义工具列表,最多可创建10个
|
|
34450
|
+
:type CustomTools: str
|
|
34357
34451
|
"""
|
|
34358
34452
|
self._Uin = None
|
|
34359
34453
|
self._AppId = None
|
|
@@ -34369,6 +34463,8 @@ class TalkAIBotInfo(AbstractModel):
|
|
|
34369
34463
|
self._ProductList = None
|
|
34370
34464
|
self._CreateTime = None
|
|
34371
34465
|
self._UpdateTime = None
|
|
34466
|
+
self._BoundProducts = None
|
|
34467
|
+
self._CustomTools = None
|
|
34372
34468
|
|
|
34373
34469
|
@property
|
|
34374
34470
|
def Uin(self):
|
|
@@ -34493,6 +34589,8 @@ class TalkAIBotInfo(AbstractModel):
|
|
|
34493
34589
|
|
|
34494
34590
|
@property
|
|
34495
34591
|
def ProductList(self):
|
|
34592
|
+
warnings.warn("parameter `ProductList` is deprecated", DeprecationWarning)
|
|
34593
|
+
|
|
34496
34594
|
r"""产品信息列表
|
|
34497
34595
|
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.TalkProductInfo`
|
|
34498
34596
|
"""
|
|
@@ -34500,6 +34598,8 @@ class TalkAIBotInfo(AbstractModel):
|
|
|
34500
34598
|
|
|
34501
34599
|
@ProductList.setter
|
|
34502
34600
|
def ProductList(self, ProductList):
|
|
34601
|
+
warnings.warn("parameter `ProductList` is deprecated", DeprecationWarning)
|
|
34602
|
+
|
|
34503
34603
|
self._ProductList = ProductList
|
|
34504
34604
|
|
|
34505
34605
|
@property
|
|
@@ -34524,6 +34624,28 @@ class TalkAIBotInfo(AbstractModel):
|
|
|
34524
34624
|
def UpdateTime(self, UpdateTime):
|
|
34525
34625
|
self._UpdateTime = UpdateTime
|
|
34526
34626
|
|
|
34627
|
+
@property
|
|
34628
|
+
def BoundProducts(self):
|
|
34629
|
+
r"""已关联产品信息列表
|
|
34630
|
+
:rtype: list of TalkProductInfo
|
|
34631
|
+
"""
|
|
34632
|
+
return self._BoundProducts
|
|
34633
|
+
|
|
34634
|
+
@BoundProducts.setter
|
|
34635
|
+
def BoundProducts(self, BoundProducts):
|
|
34636
|
+
self._BoundProducts = BoundProducts
|
|
34637
|
+
|
|
34638
|
+
@property
|
|
34639
|
+
def CustomTools(self):
|
|
34640
|
+
r"""自定义工具列表,最多可创建10个
|
|
34641
|
+
:rtype: str
|
|
34642
|
+
"""
|
|
34643
|
+
return self._CustomTools
|
|
34644
|
+
|
|
34645
|
+
@CustomTools.setter
|
|
34646
|
+
def CustomTools(self, CustomTools):
|
|
34647
|
+
self._CustomTools = CustomTools
|
|
34648
|
+
|
|
34527
34649
|
|
|
34528
34650
|
def _deserialize(self, params):
|
|
34529
34651
|
self._Uin = params.get("Uin")
|
|
@@ -34550,6 +34672,13 @@ class TalkAIBotInfo(AbstractModel):
|
|
|
34550
34672
|
self._ProductList._deserialize(params.get("ProductList"))
|
|
34551
34673
|
self._CreateTime = params.get("CreateTime")
|
|
34552
34674
|
self._UpdateTime = params.get("UpdateTime")
|
|
34675
|
+
if params.get("BoundProducts") is not None:
|
|
34676
|
+
self._BoundProducts = []
|
|
34677
|
+
for item in params.get("BoundProducts"):
|
|
34678
|
+
obj = TalkProductInfo()
|
|
34679
|
+
obj._deserialize(item)
|
|
34680
|
+
self._BoundProducts.append(obj)
|
|
34681
|
+
self._CustomTools = params.get("CustomTools")
|
|
34553
34682
|
memeber_set = set(params.keys())
|
|
34554
34683
|
for name, value in vars(self).items():
|
|
34555
34684
|
property_name = name[1:]
|
|
@@ -34585,7 +34714,7 @@ class TalkAgentConfigInfo(AbstractModel):
|
|
|
34585
34714
|
:type SilenceTime: int
|
|
34586
34715
|
:param _NoiseFilterEnabled: 是否启用噪声过滤
|
|
34587
34716
|
:type NoiseFilterEnabled: bool
|
|
34588
|
-
:param _LongTermMemoryEnabled:
|
|
34717
|
+
:param _LongTermMemoryEnabled: 是否开启长记忆,默认关闭
|
|
34589
34718
|
:type LongTermMemoryEnabled: bool
|
|
34590
34719
|
:param _SystemPrompt: 系统提示词,仅当未配置LLMConfig时使用
|
|
34591
34720
|
:type SystemPrompt: str
|
|
@@ -34712,7 +34841,7 @@ class TalkAgentConfigInfo(AbstractModel):
|
|
|
34712
34841
|
|
|
34713
34842
|
@property
|
|
34714
34843
|
def LongTermMemoryEnabled(self):
|
|
34715
|
-
r"""
|
|
34844
|
+
r"""是否开启长记忆,默认关闭
|
|
34716
34845
|
:rtype: bool
|
|
34717
34846
|
"""
|
|
34718
34847
|
return self._LongTermMemoryEnabled
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.45
|
|
4
4
|
Summary: Tencent Cloud Iotexplorer 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.45
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
tencentcloud_sdk_python_iotexplorer-3.1.45/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.45
|
tencentcloud_sdk_python_iotexplorer-3.1.5/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.5
|
{tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_iotexplorer-3.1.5 → tencentcloud_sdk_python_iotexplorer-3.1.45}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|