antchain-bot 1.12.62__py3-none-any.whl → 1.12.69__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: antchain-bot
3
- Version: 1.12.62
3
+ Version: 1.12.69
4
4
  Summary: Ant Chain BOT SDK Library for Python
5
5
  Home-page: https://github.com/alipay/antchain-openapi-prod-sdk
6
6
  Author: Ant Chain SDK
@@ -0,0 +1,8 @@
1
+ antchain_sdk_bot/__init__.py,sha256=KEvhH0PtxKx_y_5rKb446MnZ06OU2aSxK6DBrMbIjZ4,23
2
+ antchain_sdk_bot/client.py,sha256=2IUmi9JPXQhS_HACO5s4ZO3SrNWWMEepfWkomeNiqvs,671004
3
+ antchain_sdk_bot/models.py,sha256=TSWZu0lfMd1-LyiObuGIjcXJdvbt3Jm-t4SDUpUiBlM,1725266
4
+ antchain_bot-1.12.69.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
+ antchain_bot-1.12.69.dist-info/METADATA,sha256=UwVIv-djZ1jPN2sMscCSfUPRloqmcCWissaJIMf-4I4,1989
6
+ antchain_bot-1.12.69.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
+ antchain_bot-1.12.69.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
8
+ antchain_bot-1.12.69.dist-info/RECORD,,
@@ -1 +1 @@
1
- __version__ = '1.12.62'
1
+ __version__ = '1.12.69'
@@ -135,7 +135,7 @@ class Client:
135
135
  'req_msg_id': AntchainUtils.get_nonce(),
136
136
  'access_key': self._access_key_id,
137
137
  'base_sdk_version': 'TeaSDK-2.0',
138
- 'sdk_version': '1.12.62',
138
+ 'sdk_version': '1.12.69',
139
139
  '_prod_code': 'BOT',
140
140
  '_prod_channel': 'undefined'
141
141
  }
@@ -239,7 +239,7 @@ class Client:
239
239
  'req_msg_id': AntchainUtils.get_nonce(),
240
240
  'access_key': self._access_key_id,
241
241
  'base_sdk_version': 'TeaSDK-2.0',
242
- 'sdk_version': '1.12.62',
242
+ 'sdk_version': '1.12.69',
243
243
  '_prod_code': 'BOT',
244
244
  '_prod_channel': 'undefined'
245
245
  }
@@ -2327,62 +2327,6 @@ class Client:
2327
2327
  await self.do_request_async('1.0', 'blockchain.bot.agent.chat.start', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
2328
2328
  )
2329
2329
 
2330
- def start_agent_thingmodel(
2331
- self,
2332
- request: bot_models.StartAgentThingmodelRequest,
2333
- ) -> bot_models.StartAgentThingmodelResponse:
2334
- """
2335
- Description: 智能体流式物模型上报接口
2336
- Summary: 智能体流式物模型上报接口
2337
- """
2338
- runtime = util_models.RuntimeOptions()
2339
- headers = {}
2340
- return self.start_agent_thingmodel_ex(request, headers, runtime)
2341
-
2342
- async def start_agent_thingmodel_async(
2343
- self,
2344
- request: bot_models.StartAgentThingmodelRequest,
2345
- ) -> bot_models.StartAgentThingmodelResponse:
2346
- """
2347
- Description: 智能体流式物模型上报接口
2348
- Summary: 智能体流式物模型上报接口
2349
- """
2350
- runtime = util_models.RuntimeOptions()
2351
- headers = {}
2352
- return await self.start_agent_thingmodel_ex_async(request, headers, runtime)
2353
-
2354
- def start_agent_thingmodel_ex(
2355
- self,
2356
- request: bot_models.StartAgentThingmodelRequest,
2357
- headers: Dict[str, str],
2358
- runtime: util_models.RuntimeOptions,
2359
- ) -> bot_models.StartAgentThingmodelResponse:
2360
- """
2361
- Description: 智能体流式物模型上报接口
2362
- Summary: 智能体流式物模型上报接口
2363
- """
2364
- UtilClient.validate_model(request)
2365
- return TeaCore.from_map(
2366
- bot_models.StartAgentThingmodelResponse(),
2367
- self.do_request('1.0', 'blockchain.bot.agent.thingmodel.start', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
2368
- )
2369
-
2370
- async def start_agent_thingmodel_ex_async(
2371
- self,
2372
- request: bot_models.StartAgentThingmodelRequest,
2373
- headers: Dict[str, str],
2374
- runtime: util_models.RuntimeOptions,
2375
- ) -> bot_models.StartAgentThingmodelResponse:
2376
- """
2377
- Description: 智能体流式物模型上报接口
2378
- Summary: 智能体流式物模型上报接口
2379
- """
2380
- UtilClient.validate_model(request)
2381
- return TeaCore.from_map(
2382
- bot_models.StartAgentThingmodelResponse(),
2383
- await self.do_request_async('1.0', 'blockchain.bot.agent.thingmodel.start', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
2384
- )
2385
-
2386
2330
  def create_acs_device(
2387
2331
  self,
2388
2332
  request: bot_models.CreateAcsDeviceRequest,
@@ -8635,6 +8579,62 @@ class Client:
8635
8579
  await self.do_request_async('1.0', 'blockchain.bot.electrocar.devicehistoryproperties.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8636
8580
  )
8637
8581
 
8582
+ def query_electrocar_deviceinfos(
8583
+ self,
8584
+ request: bot_models.QueryElectrocarDeviceinfosRequest,
8585
+ ) -> bot_models.QueryElectrocarDeviceinfosResponse:
8586
+ """
8587
+ Description: iotx二轮车设备信息
8588
+ Summary: iotx二轮车设备信息
8589
+ """
8590
+ runtime = util_models.RuntimeOptions()
8591
+ headers = {}
8592
+ return self.query_electrocar_deviceinfos_ex(request, headers, runtime)
8593
+
8594
+ async def query_electrocar_deviceinfos_async(
8595
+ self,
8596
+ request: bot_models.QueryElectrocarDeviceinfosRequest,
8597
+ ) -> bot_models.QueryElectrocarDeviceinfosResponse:
8598
+ """
8599
+ Description: iotx二轮车设备信息
8600
+ Summary: iotx二轮车设备信息
8601
+ """
8602
+ runtime = util_models.RuntimeOptions()
8603
+ headers = {}
8604
+ return await self.query_electrocar_deviceinfos_ex_async(request, headers, runtime)
8605
+
8606
+ def query_electrocar_deviceinfos_ex(
8607
+ self,
8608
+ request: bot_models.QueryElectrocarDeviceinfosRequest,
8609
+ headers: Dict[str, str],
8610
+ runtime: util_models.RuntimeOptions,
8611
+ ) -> bot_models.QueryElectrocarDeviceinfosResponse:
8612
+ """
8613
+ Description: iotx二轮车设备信息
8614
+ Summary: iotx二轮车设备信息
8615
+ """
8616
+ UtilClient.validate_model(request)
8617
+ return TeaCore.from_map(
8618
+ bot_models.QueryElectrocarDeviceinfosResponse(),
8619
+ self.do_request('1.0', 'blockchain.bot.electrocar.deviceinfos.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8620
+ )
8621
+
8622
+ async def query_electrocar_deviceinfos_ex_async(
8623
+ self,
8624
+ request: bot_models.QueryElectrocarDeviceinfosRequest,
8625
+ headers: Dict[str, str],
8626
+ runtime: util_models.RuntimeOptions,
8627
+ ) -> bot_models.QueryElectrocarDeviceinfosResponse:
8628
+ """
8629
+ Description: iotx二轮车设备信息
8630
+ Summary: iotx二轮车设备信息
8631
+ """
8632
+ UtilClient.validate_model(request)
8633
+ return TeaCore.from_map(
8634
+ bot_models.QueryElectrocarDeviceinfosResponse(),
8635
+ await self.do_request_async('1.0', 'blockchain.bot.electrocar.deviceinfos.query', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
8636
+ )
8637
+
8638
8638
  def query_iotplatform_purchaseorder(
8639
8639
  self,
8640
8640
  request: bot_models.QueryIotplatformPurchaseorderRequest,
@@ -15635,6 +15635,62 @@ class Client:
15635
15635
  await self.do_request_async('1.0', 'blockchain.bot.iotagent.chat.start', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
15636
15636
  )
15637
15637
 
15638
+ def start_iotagent_thingmodel(
15639
+ self,
15640
+ request: bot_models.StartIotagentThingmodelRequest,
15641
+ ) -> bot_models.StartIotagentThingmodelResponse:
15642
+ """
15643
+ Description: 智能体流式物模型上报接口
15644
+ Summary: 智能体流式物模型上报接口
15645
+ """
15646
+ runtime = util_models.RuntimeOptions()
15647
+ headers = {}
15648
+ return self.start_iotagent_thingmodel_ex(request, headers, runtime)
15649
+
15650
+ async def start_iotagent_thingmodel_async(
15651
+ self,
15652
+ request: bot_models.StartIotagentThingmodelRequest,
15653
+ ) -> bot_models.StartIotagentThingmodelResponse:
15654
+ """
15655
+ Description: 智能体流式物模型上报接口
15656
+ Summary: 智能体流式物模型上报接口
15657
+ """
15658
+ runtime = util_models.RuntimeOptions()
15659
+ headers = {}
15660
+ return await self.start_iotagent_thingmodel_ex_async(request, headers, runtime)
15661
+
15662
+ def start_iotagent_thingmodel_ex(
15663
+ self,
15664
+ request: bot_models.StartIotagentThingmodelRequest,
15665
+ headers: Dict[str, str],
15666
+ runtime: util_models.RuntimeOptions,
15667
+ ) -> bot_models.StartIotagentThingmodelResponse:
15668
+ """
15669
+ Description: 智能体流式物模型上报接口
15670
+ Summary: 智能体流式物模型上报接口
15671
+ """
15672
+ UtilClient.validate_model(request)
15673
+ return TeaCore.from_map(
15674
+ bot_models.StartIotagentThingmodelResponse(),
15675
+ self.do_request('1.0', 'blockchain.bot.iotagent.thingmodel.start', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
15676
+ )
15677
+
15678
+ async def start_iotagent_thingmodel_ex_async(
15679
+ self,
15680
+ request: bot_models.StartIotagentThingmodelRequest,
15681
+ headers: Dict[str, str],
15682
+ runtime: util_models.RuntimeOptions,
15683
+ ) -> bot_models.StartIotagentThingmodelResponse:
15684
+ """
15685
+ Description: 智能体流式物模型上报接口
15686
+ Summary: 智能体流式物模型上报接口
15687
+ """
15688
+ UtilClient.validate_model(request)
15689
+ return TeaCore.from_map(
15690
+ bot_models.StartIotagentThingmodelResponse(),
15691
+ await self.do_request_async('1.0', 'blockchain.bot.iotagent.thingmodel.start', 'HTTPS', 'POST', f'/gateway.do', TeaCore.to_map(request), headers, runtime)
15692
+ )
15693
+
15638
15694
  def exec_thingsdid_oneapi(
15639
15695
  self,
15640
15696
  request: bot_models.ExecThingsdidOneapiRequest,
@@ -15785,96 +15785,6 @@ class StartAgentChatResponse(TeaModel):
15785
15785
  return self
15786
15786
 
15787
15787
 
15788
- class StartAgentThingmodelRequest(TeaModel):
15789
- def __init__(
15790
- self,
15791
- auth_token: str = None,
15792
- product_instance_id: str = None,
15793
- agent_thing_model_request: str = None,
15794
- ):
15795
- # OAuth模式下的授权token
15796
- self.auth_token = auth_token
15797
- self.product_instance_id = product_instance_id
15798
- # 请求内容,内容为 AgentThingModelReq 对象的json字符串
15799
- self.agent_thing_model_request = agent_thing_model_request
15800
-
15801
- def validate(self):
15802
- self.validate_required(self.agent_thing_model_request, 'agent_thing_model_request')
15803
-
15804
- def to_map(self):
15805
- _map = super().to_map()
15806
- if _map is not None:
15807
- return _map
15808
-
15809
- result = dict()
15810
- if self.auth_token is not None:
15811
- result['auth_token'] = self.auth_token
15812
- if self.product_instance_id is not None:
15813
- result['product_instance_id'] = self.product_instance_id
15814
- if self.agent_thing_model_request is not None:
15815
- result['agent_thing_model_request'] = self.agent_thing_model_request
15816
- return result
15817
-
15818
- def from_map(self, m: dict = None):
15819
- m = m or dict()
15820
- if m.get('auth_token') is not None:
15821
- self.auth_token = m.get('auth_token')
15822
- if m.get('product_instance_id') is not None:
15823
- self.product_instance_id = m.get('product_instance_id')
15824
- if m.get('agent_thing_model_request') is not None:
15825
- self.agent_thing_model_request = m.get('agent_thing_model_request')
15826
- return self
15827
-
15828
-
15829
- class StartAgentThingmodelResponse(TeaModel):
15830
- def __init__(
15831
- self,
15832
- req_msg_id: str = None,
15833
- result_code: str = None,
15834
- result_msg: str = None,
15835
- thing_model_completion_object: str = None,
15836
- ):
15837
- # 请求唯一ID,用于链路跟踪和问题排查
15838
- self.req_msg_id = req_msg_id
15839
- # 结果码,一般OK表示调用成功
15840
- self.result_code = result_code
15841
- # 异常信息的文本描述
15842
- self.result_msg = result_msg
15843
- # 物模型上报结果
15844
- self.thing_model_completion_object = thing_model_completion_object
15845
-
15846
- def validate(self):
15847
- pass
15848
-
15849
- def to_map(self):
15850
- _map = super().to_map()
15851
- if _map is not None:
15852
- return _map
15853
-
15854
- result = dict()
15855
- if self.req_msg_id is not None:
15856
- result['req_msg_id'] = self.req_msg_id
15857
- if self.result_code is not None:
15858
- result['result_code'] = self.result_code
15859
- if self.result_msg is not None:
15860
- result['result_msg'] = self.result_msg
15861
- if self.thing_model_completion_object is not None:
15862
- result['thing_model_completion_object'] = self.thing_model_completion_object
15863
- return result
15864
-
15865
- def from_map(self, m: dict = None):
15866
- m = m or dict()
15867
- if m.get('req_msg_id') is not None:
15868
- self.req_msg_id = m.get('req_msg_id')
15869
- if m.get('result_code') is not None:
15870
- self.result_code = m.get('result_code')
15871
- if m.get('result_msg') is not None:
15872
- self.result_msg = m.get('result_msg')
15873
- if m.get('thing_model_completion_object') is not None:
15874
- self.thing_model_completion_object = m.get('thing_model_completion_object')
15875
- return self
15876
-
15877
-
15878
15788
  class CreateAcsDeviceRequest(TeaModel):
15879
15789
  def __init__(
15880
15790
  self,
@@ -30622,6 +30532,173 @@ class QueryElectrocarDevicehistorypropertiesResponse(TeaModel):
30622
30532
  return self
30623
30533
 
30624
30534
 
30535
+ class QueryElectrocarDeviceinfosRequest(TeaModel):
30536
+ def __init__(
30537
+ self,
30538
+ auth_token: str = None,
30539
+ product_instance_id: str = None,
30540
+ tuid: str = None,
30541
+ ):
30542
+ # OAuth模式下的授权token
30543
+ self.auth_token = auth_token
30544
+ self.product_instance_id = product_instance_id
30545
+ # tuid
30546
+ self.tuid = tuid
30547
+
30548
+ def validate(self):
30549
+ self.validate_required(self.tuid, 'tuid')
30550
+
30551
+ def to_map(self):
30552
+ _map = super().to_map()
30553
+ if _map is not None:
30554
+ return _map
30555
+
30556
+ result = dict()
30557
+ if self.auth_token is not None:
30558
+ result['auth_token'] = self.auth_token
30559
+ if self.product_instance_id is not None:
30560
+ result['product_instance_id'] = self.product_instance_id
30561
+ if self.tuid is not None:
30562
+ result['tuid'] = self.tuid
30563
+ return result
30564
+
30565
+ def from_map(self, m: dict = None):
30566
+ m = m or dict()
30567
+ if m.get('auth_token') is not None:
30568
+ self.auth_token = m.get('auth_token')
30569
+ if m.get('product_instance_id') is not None:
30570
+ self.product_instance_id = m.get('product_instance_id')
30571
+ if m.get('tuid') is not None:
30572
+ self.tuid = m.get('tuid')
30573
+ return self
30574
+
30575
+
30576
+ class QueryElectrocarDeviceinfosResponse(TeaModel):
30577
+ def __init__(
30578
+ self,
30579
+ req_msg_id: str = None,
30580
+ result_code: str = None,
30581
+ result_msg: str = None,
30582
+ trust_product_key: str = None,
30583
+ product_key: str = None,
30584
+ trust_device_id: str = None,
30585
+ device_name: str = None,
30586
+ nick_name: str = None,
30587
+ device_status: str = None,
30588
+ device_register_time: str = None,
30589
+ device_active_time: str = None,
30590
+ last_online_time: str = None,
30591
+ last_offline_time: str = None,
30592
+ last_communication_time: str = None,
30593
+ device_ota_version: str = None,
30594
+ ):
30595
+ # 请求唯一ID,用于链路跟踪和问题排查
30596
+ self.req_msg_id = req_msg_id
30597
+ # 结果码,一般OK表示调用成功
30598
+ self.result_code = result_code
30599
+ # 异常信息的文本描述
30600
+ self.result_msg = result_msg
30601
+ # key
30602
+ self.trust_product_key = trust_product_key
30603
+ # 产品key
30604
+ self.product_key = product_key
30605
+ # 设备唯一id
30606
+ self.trust_device_id = trust_device_id
30607
+ # 设备tuid
30608
+ self.device_name = device_name
30609
+ # 设备名称
30610
+ self.nick_name = nick_name
30611
+ # 设备在线状态
30612
+ self.device_status = device_status
30613
+ # 设备注册时间
30614
+ self.device_register_time = device_register_time
30615
+ # 设备激活时间
30616
+ self.device_active_time = device_active_time
30617
+ # 最后在线时间
30618
+ self.last_online_time = last_online_time
30619
+ # 最后离线时间
30620
+ self.last_offline_time = last_offline_time
30621
+ # 最后通讯时间
30622
+ self.last_communication_time = last_communication_time
30623
+ # ota版本
30624
+ self.device_ota_version = device_ota_version
30625
+
30626
+ def validate(self):
30627
+ pass
30628
+
30629
+ def to_map(self):
30630
+ _map = super().to_map()
30631
+ if _map is not None:
30632
+ return _map
30633
+
30634
+ result = dict()
30635
+ if self.req_msg_id is not None:
30636
+ result['req_msg_id'] = self.req_msg_id
30637
+ if self.result_code is not None:
30638
+ result['result_code'] = self.result_code
30639
+ if self.result_msg is not None:
30640
+ result['result_msg'] = self.result_msg
30641
+ if self.trust_product_key is not None:
30642
+ result['trust_product_key'] = self.trust_product_key
30643
+ if self.product_key is not None:
30644
+ result['product_key'] = self.product_key
30645
+ if self.trust_device_id is not None:
30646
+ result['trust_device_id'] = self.trust_device_id
30647
+ if self.device_name is not None:
30648
+ result['device_name'] = self.device_name
30649
+ if self.nick_name is not None:
30650
+ result['nick_name'] = self.nick_name
30651
+ if self.device_status is not None:
30652
+ result['device_status'] = self.device_status
30653
+ if self.device_register_time is not None:
30654
+ result['device_register_time'] = self.device_register_time
30655
+ if self.device_active_time is not None:
30656
+ result['device_active_time'] = self.device_active_time
30657
+ if self.last_online_time is not None:
30658
+ result['last_online_time'] = self.last_online_time
30659
+ if self.last_offline_time is not None:
30660
+ result['last_offline_time'] = self.last_offline_time
30661
+ if self.last_communication_time is not None:
30662
+ result['last_communication_time'] = self.last_communication_time
30663
+ if self.device_ota_version is not None:
30664
+ result['device_ota_version'] = self.device_ota_version
30665
+ return result
30666
+
30667
+ def from_map(self, m: dict = None):
30668
+ m = m or dict()
30669
+ if m.get('req_msg_id') is not None:
30670
+ self.req_msg_id = m.get('req_msg_id')
30671
+ if m.get('result_code') is not None:
30672
+ self.result_code = m.get('result_code')
30673
+ if m.get('result_msg') is not None:
30674
+ self.result_msg = m.get('result_msg')
30675
+ if m.get('trust_product_key') is not None:
30676
+ self.trust_product_key = m.get('trust_product_key')
30677
+ if m.get('product_key') is not None:
30678
+ self.product_key = m.get('product_key')
30679
+ if m.get('trust_device_id') is not None:
30680
+ self.trust_device_id = m.get('trust_device_id')
30681
+ if m.get('device_name') is not None:
30682
+ self.device_name = m.get('device_name')
30683
+ if m.get('nick_name') is not None:
30684
+ self.nick_name = m.get('nick_name')
30685
+ if m.get('device_status') is not None:
30686
+ self.device_status = m.get('device_status')
30687
+ if m.get('device_register_time') is not None:
30688
+ self.device_register_time = m.get('device_register_time')
30689
+ if m.get('device_active_time') is not None:
30690
+ self.device_active_time = m.get('device_active_time')
30691
+ if m.get('last_online_time') is not None:
30692
+ self.last_online_time = m.get('last_online_time')
30693
+ if m.get('last_offline_time') is not None:
30694
+ self.last_offline_time = m.get('last_offline_time')
30695
+ if m.get('last_communication_time') is not None:
30696
+ self.last_communication_time = m.get('last_communication_time')
30697
+ if m.get('device_ota_version') is not None:
30698
+ self.device_ota_version = m.get('device_ota_version')
30699
+ return self
30700
+
30701
+
30625
30702
  class QueryIotplatformPurchaseorderRequest(TeaModel):
30626
30703
  def __init__(
30627
30704
  self,
@@ -46055,6 +46132,96 @@ class StartIotagentChatResponse(TeaModel):
46055
46132
  return self
46056
46133
 
46057
46134
 
46135
+ class StartIotagentThingmodelRequest(TeaModel):
46136
+ def __init__(
46137
+ self,
46138
+ auth_token: str = None,
46139
+ product_instance_id: str = None,
46140
+ agent_chat_request: str = None,
46141
+ ):
46142
+ # OAuth模式下的授权token
46143
+ self.auth_token = auth_token
46144
+ self.product_instance_id = product_instance_id
46145
+ # 请求内容,内容为json字符串
46146
+ self.agent_chat_request = agent_chat_request
46147
+
46148
+ def validate(self):
46149
+ self.validate_required(self.agent_chat_request, 'agent_chat_request')
46150
+
46151
+ def to_map(self):
46152
+ _map = super().to_map()
46153
+ if _map is not None:
46154
+ return _map
46155
+
46156
+ result = dict()
46157
+ if self.auth_token is not None:
46158
+ result['auth_token'] = self.auth_token
46159
+ if self.product_instance_id is not None:
46160
+ result['product_instance_id'] = self.product_instance_id
46161
+ if self.agent_chat_request is not None:
46162
+ result['agent_chat_request'] = self.agent_chat_request
46163
+ return result
46164
+
46165
+ def from_map(self, m: dict = None):
46166
+ m = m or dict()
46167
+ if m.get('auth_token') is not None:
46168
+ self.auth_token = m.get('auth_token')
46169
+ if m.get('product_instance_id') is not None:
46170
+ self.product_instance_id = m.get('product_instance_id')
46171
+ if m.get('agent_chat_request') is not None:
46172
+ self.agent_chat_request = m.get('agent_chat_request')
46173
+ return self
46174
+
46175
+
46176
+ class StartIotagentThingmodelResponse(TeaModel):
46177
+ def __init__(
46178
+ self,
46179
+ req_msg_id: str = None,
46180
+ result_code: str = None,
46181
+ result_msg: str = None,
46182
+ chat_completion_object: str = None,
46183
+ ):
46184
+ # 请求唯一ID,用于链路跟踪和问题排查
46185
+ self.req_msg_id = req_msg_id
46186
+ # 结果码,一般OK表示调用成功
46187
+ self.result_code = result_code
46188
+ # 异常信息的文本描述
46189
+ self.result_msg = result_msg
46190
+ # 物模型上报结果
46191
+ self.chat_completion_object = chat_completion_object
46192
+
46193
+ def validate(self):
46194
+ pass
46195
+
46196
+ def to_map(self):
46197
+ _map = super().to_map()
46198
+ if _map is not None:
46199
+ return _map
46200
+
46201
+ result = dict()
46202
+ if self.req_msg_id is not None:
46203
+ result['req_msg_id'] = self.req_msg_id
46204
+ if self.result_code is not None:
46205
+ result['result_code'] = self.result_code
46206
+ if self.result_msg is not None:
46207
+ result['result_msg'] = self.result_msg
46208
+ if self.chat_completion_object is not None:
46209
+ result['chat_completion_object'] = self.chat_completion_object
46210
+ return result
46211
+
46212
+ def from_map(self, m: dict = None):
46213
+ m = m or dict()
46214
+ if m.get('req_msg_id') is not None:
46215
+ self.req_msg_id = m.get('req_msg_id')
46216
+ if m.get('result_code') is not None:
46217
+ self.result_code = m.get('result_code')
46218
+ if m.get('result_msg') is not None:
46219
+ self.result_msg = m.get('result_msg')
46220
+ if m.get('chat_completion_object') is not None:
46221
+ self.chat_completion_object = m.get('chat_completion_object')
46222
+ return self
46223
+
46224
+
46058
46225
  class ExecThingsdidOneapiRequest(TeaModel):
46059
46226
  def __init__(
46060
46227
  self,
@@ -1,8 +0,0 @@
1
- antchain_sdk_bot/__init__.py,sha256=d1y6_6QMOIciBjJ9gop7uwjIqvlvQUVAiWJG3RBa4L8,23
2
- antchain_sdk_bot/client.py,sha256=MPEwHzvLhZ42NggaDlGlPxx0E5qoccJexAMGvIMeoX8,668692
3
- antchain_sdk_bot/models.py,sha256=agzYAz_1MqzofcWLwAy-IE805hY4IvWBWJ-LF6ZeDL0,1718932
4
- antchain_bot-1.12.62.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
5
- antchain_bot-1.12.62.dist-info/METADATA,sha256=2ugcL862pbkKeXnMr0UB3GcnLgSAtFdVecTSwo1bx4U,1989
6
- antchain_bot-1.12.62.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
7
- antchain_bot-1.12.62.dist-info/top_level.txt,sha256=gpn1OPRhS8ydjW8IxqApJiA6jx285ves96g9kcJN9iA,17
8
- antchain_bot-1.12.62.dist-info/RECORD,,