tencentcloud-sdk-iotexplorer 3.0.1147 → 3.0.1154

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 94c29e13a2866095340a3547030b77b04f9320b8
4
- data.tar.gz: a299b7784b323b53f772018d49f40050d406ce71
3
+ metadata.gz: 188e49f232cb995dd6008331b43391d540628c55
4
+ data.tar.gz: 40b4df0d8920b6ae54766ab16413acd1f1daa838
5
5
  SHA512:
6
- metadata.gz: 0550932bb006c5acb44233a7ed9a75609fb9a485c332ebcfe4ea56a577a4f7d88ebfd6d6c0b20b4bd9450a9693045c8e04cb25f676a13173327097579ee7b254
7
- data.tar.gz: b753e05188c87896f9cd7c92a7014a51bdf42fd762a22dbe097dab339baae691ad0568cb4b80c11cc878a7f509348b4c43e84951004880c156dd2a8c99e78ed9
6
+ metadata.gz: 857752b2797ffeb68c2929736d36a91d3bd763f7a87cf73b070f7a481a235597b46e8387a17eccd969a1e08b1a2b4fc843508017c712a482d8c03c11488ed995
7
+ data.tar.gz: 2e65db517cbbc652a6e250dc5fa520bb090b57dbbde0cbd74997bea43e38518e393492b11a2e49d5bfd4b626b33008e9783be6045a9e8ff45c4d2e32a0aebcc2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1147
1
+ 3.0.1154
@@ -775,6 +775,30 @@ module TencentCloud
775
775
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
776
776
  end
777
777
 
778
+ # 用于配置TWeTalk服务连接产品配置信息。
779
+
780
+ # @param request: Request instance for CreateTWeTalkProductConfigV2.
781
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateTWeTalkProductConfigV2Request`
782
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateTWeTalkProductConfigV2Response`
783
+ def CreateTWeTalkProductConfigV2(request)
784
+ body = send_request('CreateTWeTalkProductConfigV2', request.serialize)
785
+ response = JSON.parse(body)
786
+ if response['Response'].key?('Error') == false
787
+ model = CreateTWeTalkProductConfigV2Response.new
788
+ model.deserialize(response['Response'])
789
+ model
790
+ else
791
+ code = response['Response']['Error']['Code']
792
+ message = response['Response']['Error']['Message']
793
+ reqid = response['Response']['RequestId']
794
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
795
+ end
796
+ rescue TencentCloud::Common::TencentCloudSDKException => e
797
+ raise e
798
+ rescue StandardError => e
799
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
800
+ end
801
+
778
802
  # 本接口(CreateTopicPolicy)用于创建一个Topic
779
803
 
780
804
  # @param request: Request instance for CreateTopicPolicy.
@@ -2529,6 +2553,30 @@ module TencentCloud
2529
2553
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2530
2554
  end
2531
2555
 
2556
+ # 用于查询TWeTalk服务连接产品配置信息。
2557
+
2558
+ # @param request: Request instance for DescribeTWeTalkProductConfigV2.
2559
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeTWeTalkProductConfigV2Request`
2560
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeTWeTalkProductConfigV2Response`
2561
+ def DescribeTWeTalkProductConfigV2(request)
2562
+ body = send_request('DescribeTWeTalkProductConfigV2', request.serialize)
2563
+ response = JSON.parse(body)
2564
+ if response['Response'].key?('Error') == false
2565
+ model = DescribeTWeTalkProductConfigV2Response.new
2566
+ model.deserialize(response['Response'])
2567
+ model
2568
+ else
2569
+ code = response['Response']['Error']['Code']
2570
+ message = response['Response']['Error']['Message']
2571
+ reqid = response['Response']['RequestId']
2572
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2573
+ end
2574
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2575
+ raise e
2576
+ rescue StandardError => e
2577
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2578
+ end
2579
+
2532
2580
  # 本接口(DescribeTopicPolicy)用于查看Topic详细信息
2533
2581
 
2534
2582
  # @param request: Request instance for DescribeTopicPolicy.
@@ -3129,6 +3177,30 @@ module TencentCloud
3129
3177
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3130
3178
  end
3131
3179
 
3180
+ # 用于查询TWeTalk服务连接产品配置信息。
3181
+
3182
+ # @param request: Request instance for GetTWeTalkProductConfigListV2.
3183
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::GetTWeTalkProductConfigListV2Request`
3184
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::GetTWeTalkProductConfigListV2Response`
3185
+ def GetTWeTalkProductConfigListV2(request)
3186
+ body = send_request('GetTWeTalkProductConfigListV2', request.serialize)
3187
+ response = JSON.parse(body)
3188
+ if response['Response'].key?('Error') == false
3189
+ model = GetTWeTalkProductConfigListV2Response.new
3190
+ model.deserialize(response['Response'])
3191
+ model
3192
+ else
3193
+ code = response['Response']['Error']['Code']
3194
+ message = response['Response']['Error']['Message']
3195
+ reqid = response['Response']['RequestId']
3196
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3197
+ end
3198
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3199
+ raise e
3200
+ rescue StandardError => e
3201
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3202
+ end
3203
+
3132
3204
  # 获取规则列表
3133
3205
 
3134
3206
  # @param request: Request instance for GetTopicRuleList.
@@ -3801,6 +3873,30 @@ module TencentCloud
3801
3873
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3802
3874
  end
3803
3875
 
3876
+ # 用于修改配置TWeTalk服务连接产品配置信息。
3877
+
3878
+ # @param request: Request instance for ModifyTWeTalkProductConfigV2.
3879
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::ModifyTWeTalkProductConfigV2Request`
3880
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ModifyTWeTalkProductConfigV2Response`
3881
+ def ModifyTWeTalkProductConfigV2(request)
3882
+ body = send_request('ModifyTWeTalkProductConfigV2', request.serialize)
3883
+ response = JSON.parse(body)
3884
+ if response['Response'].key?('Error') == false
3885
+ model = ModifyTWeTalkProductConfigV2Response.new
3886
+ model.deserialize(response['Response'])
3887
+ model
3888
+ else
3889
+ code = response['Response']['Error']['Code']
3890
+ message = response['Response']['Error']['Message']
3891
+ reqid = response['Response']['RequestId']
3892
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3893
+ end
3894
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3895
+ raise e
3896
+ rescue StandardError => e
3897
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3898
+ end
3899
+
3804
3900
  # 本接口(UpdateTopicPolicy)用于更新Topic信息
3805
3901
 
3806
3902
  # @param request: Request instance for ModifyTopicPolicy.
@@ -100,8 +100,8 @@ module TencentCloud
100
100
 
101
101
  attr_accessor :PkgType, :MiniProgramAppId, :DeviceList
102
102
  extend Gem::Deprecate
103
- deprecate :MiniProgramAppId, :none, 2025, 9
104
- deprecate :MiniProgramAppId=, :none, 2025, 9
103
+ deprecate :MiniProgramAppId, :none, 2025, 10
104
+ deprecate :MiniProgramAppId=, :none, 2025, 10
105
105
 
106
106
  def initialize(pkgtype=nil, miniprogramappid=nil, devicelist=nil)
107
107
  @PkgType = pkgtype
@@ -136,8 +136,8 @@ module TencentCloud
136
136
 
137
137
  attr_accessor :DeviceList, :FailureList, :SuccessList, :RequestId
138
138
  extend Gem::Deprecate
139
- deprecate :DeviceList, :none, 2025, 9
140
- deprecate :DeviceList=, :none, 2025, 9
139
+ deprecate :DeviceList, :none, 2025, 10
140
+ deprecate :DeviceList=, :none, 2025, 10
141
141
 
142
142
  def initialize(devicelist=nil, failurelist=nil, successlist=nil, requestid=nil)
143
143
  @DeviceList = devicelist
@@ -2499,6 +2499,85 @@ module TencentCloud
2499
2499
  end
2500
2500
  end
2501
2501
 
2502
+ # CreateTWeTalkProductConfigV2请求参数结构体
2503
+ class CreateTWeTalkProductConfigV2Request < TencentCloud::Common::AbstractModel
2504
+ # @param ProductId: 产品ID
2505
+ # @type ProductId: String
2506
+ # @param DeviceName: 设备名称
2507
+ # @type DeviceName: String
2508
+ # @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
2509
+ # @type TargetLanguage: String
2510
+ # @param ConfigName: 名称
2511
+ # @type ConfigName: String
2512
+ # @param BasicConfig: 系统基础配置,当需要使用系统三段式配置时配置。
2513
+ # @type BasicConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkBasicConfigInfo`
2514
+ # @param STTConfig: 自定义语音识别配置
2515
+ # @type STTConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkSTTConfigInfo`
2516
+ # @param LLMConfig: 自定义大模型配置
2517
+ # @type LLMConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkLLMConfigInfo`
2518
+ # @param TTSConfig: 语音合成配置
2519
+ # @type TTSConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkTTSConfigInfo`
2520
+ # @param ConversationConfig: 会话配置
2521
+ # @type ConversationConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkConversationConfigInfo`
2522
+
2523
+ attr_accessor :ProductId, :DeviceName, :TargetLanguage, :ConfigName, :BasicConfig, :STTConfig, :LLMConfig, :TTSConfig, :ConversationConfig
2524
+
2525
+ def initialize(productid=nil, devicename=nil, targetlanguage=nil, configname=nil, basicconfig=nil, sttconfig=nil, llmconfig=nil, ttsconfig=nil, conversationconfig=nil)
2526
+ @ProductId = productid
2527
+ @DeviceName = devicename
2528
+ @TargetLanguage = targetlanguage
2529
+ @ConfigName = configname
2530
+ @BasicConfig = basicconfig
2531
+ @STTConfig = sttconfig
2532
+ @LLMConfig = llmconfig
2533
+ @TTSConfig = ttsconfig
2534
+ @ConversationConfig = conversationconfig
2535
+ end
2536
+
2537
+ def deserialize(params)
2538
+ @ProductId = params['ProductId']
2539
+ @DeviceName = params['DeviceName']
2540
+ @TargetLanguage = params['TargetLanguage']
2541
+ @ConfigName = params['ConfigName']
2542
+ unless params['BasicConfig'].nil?
2543
+ @BasicConfig = TalkBasicConfigInfo.new
2544
+ @BasicConfig.deserialize(params['BasicConfig'])
2545
+ end
2546
+ unless params['STTConfig'].nil?
2547
+ @STTConfig = TalkSTTConfigInfo.new
2548
+ @STTConfig.deserialize(params['STTConfig'])
2549
+ end
2550
+ unless params['LLMConfig'].nil?
2551
+ @LLMConfig = TalkLLMConfigInfo.new
2552
+ @LLMConfig.deserialize(params['LLMConfig'])
2553
+ end
2554
+ unless params['TTSConfig'].nil?
2555
+ @TTSConfig = TalkTTSConfigInfo.new
2556
+ @TTSConfig.deserialize(params['TTSConfig'])
2557
+ end
2558
+ unless params['ConversationConfig'].nil?
2559
+ @ConversationConfig = TalkConversationConfigInfo.new
2560
+ @ConversationConfig.deserialize(params['ConversationConfig'])
2561
+ end
2562
+ end
2563
+ end
2564
+
2565
+ # CreateTWeTalkProductConfigV2返回参数结构体
2566
+ class CreateTWeTalkProductConfigV2Response < TencentCloud::Common::AbstractModel
2567
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2568
+ # @type RequestId: String
2569
+
2570
+ attr_accessor :RequestId
2571
+
2572
+ def initialize(requestid=nil)
2573
+ @RequestId = requestid
2574
+ end
2575
+
2576
+ def deserialize(params)
2577
+ @RequestId = params['RequestId']
2578
+ end
2579
+ end
2580
+
2502
2581
  # CreateTopicPolicy请求参数结构体
2503
2582
  class CreateTopicPolicyRequest < TencentCloud::Common::AbstractModel
2504
2583
  # @param ProductId: 产品ID
@@ -6375,6 +6454,57 @@ module TencentCloud
6375
6454
  end
6376
6455
  end
6377
6456
 
6457
+ # DescribeTWeTalkProductConfigV2请求参数结构体
6458
+ class DescribeTWeTalkProductConfigV2Request < TencentCloud::Common::AbstractModel
6459
+ # @param ProductId: 产品ID
6460
+ # @type ProductId: String
6461
+ # @param DeviceName: 设备名称
6462
+ # @type DeviceName: String
6463
+ # @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
6464
+ # @type TargetLanguage: String
6465
+ # @param IncludeCredentials: 是否脱敏
6466
+ # @type IncludeCredentials: Boolean
6467
+
6468
+ attr_accessor :ProductId, :DeviceName, :TargetLanguage, :IncludeCredentials
6469
+
6470
+ def initialize(productid=nil, devicename=nil, targetlanguage=nil, includecredentials=nil)
6471
+ @ProductId = productid
6472
+ @DeviceName = devicename
6473
+ @TargetLanguage = targetlanguage
6474
+ @IncludeCredentials = includecredentials
6475
+ end
6476
+
6477
+ def deserialize(params)
6478
+ @ProductId = params['ProductId']
6479
+ @DeviceName = params['DeviceName']
6480
+ @TargetLanguage = params['TargetLanguage']
6481
+ @IncludeCredentials = params['IncludeCredentials']
6482
+ end
6483
+ end
6484
+
6485
+ # DescribeTWeTalkProductConfigV2返回参数结构体
6486
+ class DescribeTWeTalkProductConfigV2Response < TencentCloud::Common::AbstractModel
6487
+ # @param Data: 配置信息
6488
+ # @type Data: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkProductConfigV2Info`
6489
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6490
+ # @type RequestId: String
6491
+
6492
+ attr_accessor :Data, :RequestId
6493
+
6494
+ def initialize(data=nil, requestid=nil)
6495
+ @Data = data
6496
+ @RequestId = requestid
6497
+ end
6498
+
6499
+ def deserialize(params)
6500
+ unless params['Data'].nil?
6501
+ @Data = TalkProductConfigV2Info.new
6502
+ @Data.deserialize(params['Data'])
6503
+ end
6504
+ @RequestId = params['RequestId']
6505
+ end
6506
+ end
6507
+
6378
6508
  # DescribeTopicPolicy请求参数结构体
6379
6509
  class DescribeTopicPolicyRequest < TencentCloud::Common::AbstractModel
6380
6510
  # @param ProductId: 产品ID
@@ -6629,8 +6759,8 @@ module TencentCloud
6629
6759
 
6630
6760
  attr_accessor :ModelId, :Sn, :ErrCode, :ExpireTime
6631
6761
  extend Gem::Deprecate
6632
- deprecate :ModelId, :none, 2025, 9
6633
- deprecate :ModelId=, :none, 2025, 9
6762
+ deprecate :ModelId, :none, 2025, 10
6763
+ deprecate :ModelId=, :none, 2025, 10
6634
6764
 
6635
6765
  def initialize(modelid=nil, sn=nil, errcode=nil, expiretime=nil)
6636
6766
  @ModelId = modelid
@@ -8346,8 +8476,8 @@ module TencentCloud
8346
8476
 
8347
8477
  attr_accessor :MiniProgramAppId, :DeviceList
8348
8478
  extend Gem::Deprecate
8349
- deprecate :MiniProgramAppId, :none, 2025, 9
8350
- deprecate :MiniProgramAppId=, :none, 2025, 9
8479
+ deprecate :MiniProgramAppId, :none, 2025, 10
8480
+ deprecate :MiniProgramAppId=, :none, 2025, 10
8351
8481
 
8352
8482
  def initialize(miniprogramappid=nil, devicelist=nil)
8353
8483
  @MiniProgramAppId = miniprogramappid
@@ -8453,6 +8583,73 @@ module TencentCloud
8453
8583
  end
8454
8584
  end
8455
8585
 
8586
+ # GetTWeTalkProductConfigListV2请求参数结构体
8587
+ class GetTWeTalkProductConfigListV2Request < TencentCloud::Common::AbstractModel
8588
+ # @param ProductId: 产品ID
8589
+ # @type ProductId: String
8590
+ # @param DeviceName: 设备名称
8591
+ # @type DeviceName: String
8592
+ # @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
8593
+ # @type TargetLanguage: String
8594
+ # @param IncludeCredentials: 是否脱敏
8595
+ # @type IncludeCredentials: Boolean
8596
+ # @param Offset: 页码
8597
+ # @type Offset: Integer
8598
+ # @param Limit: 每页数据大小, 10-100
8599
+ # @type Limit: Integer
8600
+
8601
+ attr_accessor :ProductId, :DeviceName, :TargetLanguage, :IncludeCredentials, :Offset, :Limit
8602
+
8603
+ def initialize(productid=nil, devicename=nil, targetlanguage=nil, includecredentials=nil, offset=nil, limit=nil)
8604
+ @ProductId = productid
8605
+ @DeviceName = devicename
8606
+ @TargetLanguage = targetlanguage
8607
+ @IncludeCredentials = includecredentials
8608
+ @Offset = offset
8609
+ @Limit = limit
8610
+ end
8611
+
8612
+ def deserialize(params)
8613
+ @ProductId = params['ProductId']
8614
+ @DeviceName = params['DeviceName']
8615
+ @TargetLanguage = params['TargetLanguage']
8616
+ @IncludeCredentials = params['IncludeCredentials']
8617
+ @Offset = params['Offset']
8618
+ @Limit = params['Limit']
8619
+ end
8620
+ end
8621
+
8622
+ # GetTWeTalkProductConfigListV2返回参数结构体
8623
+ class GetTWeTalkProductConfigListV2Response < TencentCloud::Common::AbstractModel
8624
+ # @param Data: 配置信息
8625
+ # @type Data: Array
8626
+ # @param Total: 总数
8627
+ # @type Total: Integer
8628
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8629
+ # @type RequestId: String
8630
+
8631
+ attr_accessor :Data, :Total, :RequestId
8632
+
8633
+ def initialize(data=nil, total=nil, requestid=nil)
8634
+ @Data = data
8635
+ @Total = total
8636
+ @RequestId = requestid
8637
+ end
8638
+
8639
+ def deserialize(params)
8640
+ unless params['Data'].nil?
8641
+ @Data = []
8642
+ params['Data'].each do |i|
8643
+ talkproductconfigv2info_tmp = TalkProductConfigV2Info.new
8644
+ talkproductconfigv2info_tmp.deserialize(i)
8645
+ @Data << talkproductconfigv2info_tmp
8646
+ end
8647
+ end
8648
+ @Total = params['Total']
8649
+ @RequestId = params['RequestId']
8650
+ end
8651
+ end
8652
+
8456
8653
  # GetTopicRuleList请求参数结构体
8457
8654
  class GetTopicRuleListRequest < TencentCloud::Common::AbstractModel
8458
8655
  # @param PageNum: 请求的页数
@@ -8559,6 +8756,26 @@ module TencentCloud
8559
8756
  end
8560
8757
  end
8561
8758
 
8759
+ # 空闲检测配置信息。
8760
+ class IdleResponseInfo < TencentCloud::Common::AbstractModel
8761
+ # @param RetryCount: 重试次数(1-3)
8762
+ # @type RetryCount: Integer
8763
+ # @param Message: 响应信息
8764
+ # @type Message: String
8765
+
8766
+ attr_accessor :RetryCount, :Message
8767
+
8768
+ def initialize(retrycount=nil, message=nil)
8769
+ @RetryCount = retrycount
8770
+ @Message = message
8771
+ end
8772
+
8773
+ def deserialize(params)
8774
+ @RetryCount = params['RetryCount']
8775
+ @Message = params['Message']
8776
+ end
8777
+ end
8778
+
8562
8779
  # InheritCloudStorageUser请求参数结构体
8563
8780
  class InheritCloudStorageUserRequest < TencentCloud::Common::AbstractModel
8564
8781
  # @param ProductId: 产品ID
@@ -10546,6 +10763,85 @@ module TencentCloud
10546
10763
  end
10547
10764
  end
10548
10765
 
10766
+ # ModifyTWeTalkProductConfigV2请求参数结构体
10767
+ class ModifyTWeTalkProductConfigV2Request < TencentCloud::Common::AbstractModel
10768
+ # @param ProductId: 产品ID
10769
+ # @type ProductId: String
10770
+ # @param DeviceName: 设备名称
10771
+ # @type DeviceName: String
10772
+ # @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
10773
+ # @type TargetLanguage: String
10774
+ # @param ConfigName: 名称
10775
+ # @type ConfigName: String
10776
+ # @param BasicConfig: 系统基础配置,当需要使用系统三段式配置时配置。
10777
+ # @type BasicConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkBasicConfigInfo`
10778
+ # @param STTConfig: 自定义语音识别配置
10779
+ # @type STTConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkSTTConfigInfo`
10780
+ # @param LLMConfig: 自定义大模型配置
10781
+ # @type LLMConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkLLMConfigInfo`
10782
+ # @param TTSConfig: 语音合成配置
10783
+ # @type TTSConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkTTSConfigInfo`
10784
+ # @param ConversationConfig: 会话配置
10785
+ # @type ConversationConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkConversationConfigInfo`
10786
+
10787
+ attr_accessor :ProductId, :DeviceName, :TargetLanguage, :ConfigName, :BasicConfig, :STTConfig, :LLMConfig, :TTSConfig, :ConversationConfig
10788
+
10789
+ def initialize(productid=nil, devicename=nil, targetlanguage=nil, configname=nil, basicconfig=nil, sttconfig=nil, llmconfig=nil, ttsconfig=nil, conversationconfig=nil)
10790
+ @ProductId = productid
10791
+ @DeviceName = devicename
10792
+ @TargetLanguage = targetlanguage
10793
+ @ConfigName = configname
10794
+ @BasicConfig = basicconfig
10795
+ @STTConfig = sttconfig
10796
+ @LLMConfig = llmconfig
10797
+ @TTSConfig = ttsconfig
10798
+ @ConversationConfig = conversationconfig
10799
+ end
10800
+
10801
+ def deserialize(params)
10802
+ @ProductId = params['ProductId']
10803
+ @DeviceName = params['DeviceName']
10804
+ @TargetLanguage = params['TargetLanguage']
10805
+ @ConfigName = params['ConfigName']
10806
+ unless params['BasicConfig'].nil?
10807
+ @BasicConfig = TalkBasicConfigInfo.new
10808
+ @BasicConfig.deserialize(params['BasicConfig'])
10809
+ end
10810
+ unless params['STTConfig'].nil?
10811
+ @STTConfig = TalkSTTConfigInfo.new
10812
+ @STTConfig.deserialize(params['STTConfig'])
10813
+ end
10814
+ unless params['LLMConfig'].nil?
10815
+ @LLMConfig = TalkLLMConfigInfo.new
10816
+ @LLMConfig.deserialize(params['LLMConfig'])
10817
+ end
10818
+ unless params['TTSConfig'].nil?
10819
+ @TTSConfig = TalkTTSConfigInfo.new
10820
+ @TTSConfig.deserialize(params['TTSConfig'])
10821
+ end
10822
+ unless params['ConversationConfig'].nil?
10823
+ @ConversationConfig = TalkConversationConfigInfo.new
10824
+ @ConversationConfig.deserialize(params['ConversationConfig'])
10825
+ end
10826
+ end
10827
+ end
10828
+
10829
+ # ModifyTWeTalkProductConfigV2返回参数结构体
10830
+ class ModifyTWeTalkProductConfigV2Response < TencentCloud::Common::AbstractModel
10831
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10832
+ # @type RequestId: String
10833
+
10834
+ attr_accessor :RequestId
10835
+
10836
+ def initialize(requestid=nil)
10837
+ @RequestId = requestid
10838
+ end
10839
+
10840
+ def deserialize(params)
10841
+ @RequestId = params['RequestId']
10842
+ end
10843
+ end
10844
+
10549
10845
  # ModifyTopicPolicy请求参数结构体
10550
10846
  class ModifyTopicPolicyRequest < TencentCloud::Common::AbstractModel
10551
10847
  # @param ProductId: 产品ID
@@ -12016,8 +12312,8 @@ module TencentCloud
12016
12312
 
12017
12313
  attr_accessor :ModelId, :Sn, :ExpireTime, :PkgType
12018
12314
  extend Gem::Deprecate
12019
- deprecate :ModelId, :none, 2025, 9
12020
- deprecate :ModelId=, :none, 2025, 9
12315
+ deprecate :ModelId, :none, 2025, 10
12316
+ deprecate :ModelId=, :none, 2025, 10
12021
12317
 
12022
12318
  def initialize(modelid=nil, sn=nil, expiretime=nil, pkgtype=nil)
12023
12319
  @ModelId = modelid
@@ -12047,10 +12343,10 @@ module TencentCloud
12047
12343
 
12048
12344
  attr_accessor :Sn, :ModelId, :ActiveNum
12049
12345
  extend Gem::Deprecate
12050
- deprecate :ModelId, :none, 2025, 9
12051
- deprecate :ModelId=, :none, 2025, 9
12052
- deprecate :ActiveNum, :none, 2025, 9
12053
- deprecate :ActiveNum=, :none, 2025, 9
12346
+ deprecate :ModelId, :none, 2025, 10
12347
+ deprecate :ModelId=, :none, 2025, 10
12348
+ deprecate :ActiveNum, :none, 2025, 10
12349
+ deprecate :ActiveNum=, :none, 2025, 10
12054
12350
 
12055
12351
  def initialize(sn=nil, modelid=nil, activenum=nil)
12056
12352
  @Sn = sn
@@ -12089,6 +12385,211 @@ module TencentCloud
12089
12385
  end
12090
12386
  end
12091
12387
 
12388
+ # 基础配置信息。
12389
+ class TalkBasicConfigInfo < TencentCloud::Common::AbstractModel
12390
+ # @param SystemPrompt: 系统提示词
12391
+ # @type SystemPrompt: String
12392
+ # @param GreetingMessage: 欢迎语,支持多个欢迎语随机切换,格式:字符串数组,JSON字符串。
12393
+ # @type GreetingMessage: String
12394
+ # @param DefaultVoiceType: 音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。
12395
+ # @type DefaultVoiceType: Integer
12396
+
12397
+ attr_accessor :SystemPrompt, :GreetingMessage, :DefaultVoiceType
12398
+
12399
+ def initialize(systemprompt=nil, greetingmessage=nil, defaultvoicetype=nil)
12400
+ @SystemPrompt = systemprompt
12401
+ @GreetingMessage = greetingmessage
12402
+ @DefaultVoiceType = defaultvoicetype
12403
+ end
12404
+
12405
+ def deserialize(params)
12406
+ @SystemPrompt = params['SystemPrompt']
12407
+ @GreetingMessage = params['GreetingMessage']
12408
+ @DefaultVoiceType = params['DefaultVoiceType']
12409
+ end
12410
+ end
12411
+
12412
+ # 会话配置信息。
12413
+ class TalkConversationConfigInfo < TencentCloud::Common::AbstractModel
12414
+ # @param SessionTimeout: 会话超时(秒)
12415
+ # @type SessionTimeout: Integer
12416
+ # @param InterruptionEnabled: 允许打断
12417
+ # @type InterruptionEnabled: Boolean
12418
+ # @param MaxContextTokens: 最大上下文
12419
+ # @type MaxContextTokens: Integer
12420
+ # @param IdleDetection: 空闲检测配置
12421
+ # @type IdleDetection: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkIdleDetectionConfigInfo`
12422
+ # @param EmotionEnabled: 是否启用情绪识别
12423
+ # @type EmotionEnabled: Boolean
12424
+ # @param SemanticVADEnabled: 是否启用语义vad
12425
+ # @type SemanticVADEnabled: Boolean
12426
+ # @param NoiseFilterEnabled: 是否启用噪声过滤
12427
+ # @type NoiseFilterEnabled: Boolean
12428
+
12429
+ attr_accessor :SessionTimeout, :InterruptionEnabled, :MaxContextTokens, :IdleDetection, :EmotionEnabled, :SemanticVADEnabled, :NoiseFilterEnabled
12430
+
12431
+ def initialize(sessiontimeout=nil, interruptionenabled=nil, maxcontexttokens=nil, idledetection=nil, emotionenabled=nil, semanticvadenabled=nil, noisefilterenabled=nil)
12432
+ @SessionTimeout = sessiontimeout
12433
+ @InterruptionEnabled = interruptionenabled
12434
+ @MaxContextTokens = maxcontexttokens
12435
+ @IdleDetection = idledetection
12436
+ @EmotionEnabled = emotionenabled
12437
+ @SemanticVADEnabled = semanticvadenabled
12438
+ @NoiseFilterEnabled = noisefilterenabled
12439
+ end
12440
+
12441
+ def deserialize(params)
12442
+ @SessionTimeout = params['SessionTimeout']
12443
+ @InterruptionEnabled = params['InterruptionEnabled']
12444
+ @MaxContextTokens = params['MaxContextTokens']
12445
+ unless params['IdleDetection'].nil?
12446
+ @IdleDetection = TalkIdleDetectionConfigInfo.new
12447
+ @IdleDetection.deserialize(params['IdleDetection'])
12448
+ end
12449
+ @EmotionEnabled = params['EmotionEnabled']
12450
+ @SemanticVADEnabled = params['SemanticVADEnabled']
12451
+ @NoiseFilterEnabled = params['NoiseFilterEnabled']
12452
+ end
12453
+ end
12454
+
12455
+ # 空闲检测信息。
12456
+ class TalkIdleDetectionConfigInfo < TencentCloud::Common::AbstractModel
12457
+ # @param Enabled: 是否启用
12458
+ # @type Enabled: Boolean
12459
+ # @param TimeoutSeconds: 用户沉默多少秒后触发空闲回调
12460
+ # @type TimeoutSeconds: Float
12461
+ # @param MaxRetries: 最大重试次数(1-3)
12462
+ # @type MaxRetries: Integer
12463
+ # @param IdleResponses: 空闲响应
12464
+ # @type IdleResponses: Array
12465
+
12466
+ attr_accessor :Enabled, :TimeoutSeconds, :MaxRetries, :IdleResponses
12467
+
12468
+ def initialize(enabled=nil, timeoutseconds=nil, maxretries=nil, idleresponses=nil)
12469
+ @Enabled = enabled
12470
+ @TimeoutSeconds = timeoutseconds
12471
+ @MaxRetries = maxretries
12472
+ @IdleResponses = idleresponses
12473
+ end
12474
+
12475
+ def deserialize(params)
12476
+ @Enabled = params['Enabled']
12477
+ @TimeoutSeconds = params['TimeoutSeconds']
12478
+ @MaxRetries = params['MaxRetries']
12479
+ unless params['IdleResponses'].nil?
12480
+ @IdleResponses = []
12481
+ params['IdleResponses'].each do |i|
12482
+ idleresponseinfo_tmp = IdleResponseInfo.new
12483
+ idleresponseinfo_tmp.deserialize(i)
12484
+ @IdleResponses << idleresponseinfo_tmp
12485
+ end
12486
+ end
12487
+ end
12488
+ end
12489
+
12490
+ # LLM配置信息。
12491
+ class TalkLLMConfigInfo < TencentCloud::Common::AbstractModel
12492
+ # @param LLMType: 支持的LLM类型,tencent-腾讯;openai-OPENAI格式;anthropic-ANTHROPIC;gemini-GEMINI;gemini-GEMINI;coze-扣子;dify-DIFY;tencent_lke-腾讯智能体平台;系统默认-openai。
12493
+ # @type LLMType: String
12494
+ # @param Enabled: 是否开启
12495
+ # @type Enabled: Boolean
12496
+ # @param Model: 模型
12497
+ # @type Model: String
12498
+ # @param Streaming: 是否开启
12499
+ # @type Streaming: Boolean
12500
+ # @param Config: 配置信息JSON字符串,根据`LLMType`进行不同的值匹配。例如`LLMType`是`openai`,`Config`值是`{\"ApiKey\":\"sk-09***\",\"ApiUrl\":\"base_url\",\"SystemPrompt\":\"你是一个语音助手\",\"Timeout\":30,\"History\":0,\"MetaInfo\":{\"productID\":\"test\"}}`
12501
+
12502
+ # ## openai
12503
+ # ```
12504
+ # {
12505
+ # "ApiKey": "sk-XXXXXXXXXXXX",
12506
+ # "ApiUrl": "https://api.openai.com/v1",
12507
+ # "SystemPrompt": "一个小小助手",
12508
+ # "Timeout":20,
12509
+ # "History":10,
12510
+ # "MetaInfo":{}
12511
+ # }
12512
+ # ```
12513
+
12514
+ # ## anthropic
12515
+ # ```
12516
+ # {
12517
+ # "ApiKey": "sk-XXXXXXXXXXXX",
12518
+ # "ApiUrl": "https://api.openai.com/v1",
12519
+ # "SystemPrompt": "一个小小助手"
12520
+ # }
12521
+ # ```
12522
+ # ## gemini
12523
+ # ```
12524
+ # {
12525
+ # "AppId": 123456,
12526
+ # "AccessToken": "*****",
12527
+ # "ResourceId": "SecretKey****",
12528
+ # "ModelName": "16k_zh",
12529
+ # "Language":""
12530
+ # }
12531
+ # ```
12532
+ # ## coze
12533
+ # ```
12534
+ # {
12535
+ # "ApiKey": "sk-XXXXXXXXXXXX",
12536
+ # "BotId": "v1",
12537
+ # "UserId": "xxx",
12538
+ # "ApiUrl": "https://api.coze.cn/v3/chat"
12539
+ # }
12540
+ # ```
12541
+ # ## dify
12542
+ # ```
12543
+ # {
12544
+ # "ApiKey": "sk-XXXXXXXXXXXX",
12545
+ # "ApiUrl": "https://api.openai.com/v1",
12546
+ # "User": "xxx",
12547
+ # "Inputs":{},
12548
+ # "ConversationId":"c1"
12549
+ # }
12550
+ # ```
12551
+ # ## tencent_lke
12552
+ # ```
12553
+ # {
12554
+ # "ApiKey": "sk-XXXXXXXXXXXX",
12555
+ # "ApiUrl": "https://api.openai.com/v1",
12556
+ # "SystemRole": "一个小小助手",
12557
+ # "SessionId":"123456"
12558
+ # }
12559
+ # ```
12560
+ # @type Config: String
12561
+ # @param Temperature: 温度
12562
+ # @type Temperature: Float
12563
+ # @param MaxTokens: 最大token数
12564
+ # @type MaxTokens: Integer
12565
+ # @param TopP: topP
12566
+ # @type TopP: Float
12567
+
12568
+ attr_accessor :LLMType, :Enabled, :Model, :Streaming, :Config, :Temperature, :MaxTokens, :TopP
12569
+
12570
+ def initialize(llmtype=nil, enabled=nil, model=nil, streaming=nil, config=nil, temperature=nil, maxtokens=nil, topp=nil)
12571
+ @LLMType = llmtype
12572
+ @Enabled = enabled
12573
+ @Model = model
12574
+ @Streaming = streaming
12575
+ @Config = config
12576
+ @Temperature = temperature
12577
+ @MaxTokens = maxtokens
12578
+ @TopP = topp
12579
+ end
12580
+
12581
+ def deserialize(params)
12582
+ @LLMType = params['LLMType']
12583
+ @Enabled = params['Enabled']
12584
+ @Model = params['Model']
12585
+ @Streaming = params['Streaming']
12586
+ @Config = params['Config']
12587
+ @Temperature = params['Temperature']
12588
+ @MaxTokens = params['MaxTokens']
12589
+ @TopP = params['TopP']
12590
+ end
12591
+ end
12592
+
12092
12593
  # Talk配置信息描述。
12093
12594
  class TalkProductConfigInfo < TencentCloud::Common::AbstractModel
12094
12595
  # @param ProductId: 产品ID
@@ -12129,6 +12630,251 @@ module TencentCloud
12129
12630
  end
12130
12631
  end
12131
12632
 
12633
+ # twetalk连接配置信息。
12634
+ class TalkProductConfigV2Info < TencentCloud::Common::AbstractModel
12635
+ # @param Uin: UIN
12636
+ # @type Uin: Integer
12637
+ # @param AppId: APPID
12638
+ # @type AppId: Integer
12639
+ # @param ProductId: 产品ID
12640
+ # @type ProductId: String
12641
+ # @param DeviceName: 设备名称
12642
+ # @type DeviceName: String
12643
+ # @param ConfigName: 配置名称
12644
+ # @type ConfigName: String
12645
+ # @param TargetLanguage: 语言,默认zh;zh-中文;en-英文
12646
+ # @type TargetLanguage: String
12647
+ # @param BasicConfig: 基础配置
12648
+ # @type BasicConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkBasicConfigInfo`
12649
+ # @param STTConfig: 语音识别配置
12650
+ # @type STTConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkSTTConfigInfo`
12651
+ # @param LLMConfig: 大模型配置
12652
+ # @type LLMConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkLLMConfigInfo`
12653
+ # @param TTSConfig: 语音合成配置
12654
+ # @type TTSConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkTTSConfigInfo`
12655
+ # @param ConversationConfig: 会话配置
12656
+ # @type ConversationConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.TalkConversationConfigInfo`
12657
+ # @param Version: 版本号
12658
+ # @type Version: Integer
12659
+ # @param CreateTime: 创建时间,秒级时间戳
12660
+ # @type CreateTime: Integer
12661
+ # @param UpdateTime: 更新时间,秒级时间戳
12662
+ # @type UpdateTime: Integer
12663
+
12664
+ attr_accessor :Uin, :AppId, :ProductId, :DeviceName, :ConfigName, :TargetLanguage, :BasicConfig, :STTConfig, :LLMConfig, :TTSConfig, :ConversationConfig, :Version, :CreateTime, :UpdateTime
12665
+
12666
+ def initialize(uin=nil, appid=nil, productid=nil, devicename=nil, configname=nil, targetlanguage=nil, basicconfig=nil, sttconfig=nil, llmconfig=nil, ttsconfig=nil, conversationconfig=nil, version=nil, createtime=nil, updatetime=nil)
12667
+ @Uin = uin
12668
+ @AppId = appid
12669
+ @ProductId = productid
12670
+ @DeviceName = devicename
12671
+ @ConfigName = configname
12672
+ @TargetLanguage = targetlanguage
12673
+ @BasicConfig = basicconfig
12674
+ @STTConfig = sttconfig
12675
+ @LLMConfig = llmconfig
12676
+ @TTSConfig = ttsconfig
12677
+ @ConversationConfig = conversationconfig
12678
+ @Version = version
12679
+ @CreateTime = createtime
12680
+ @UpdateTime = updatetime
12681
+ end
12682
+
12683
+ def deserialize(params)
12684
+ @Uin = params['Uin']
12685
+ @AppId = params['AppId']
12686
+ @ProductId = params['ProductId']
12687
+ @DeviceName = params['DeviceName']
12688
+ @ConfigName = params['ConfigName']
12689
+ @TargetLanguage = params['TargetLanguage']
12690
+ unless params['BasicConfig'].nil?
12691
+ @BasicConfig = TalkBasicConfigInfo.new
12692
+ @BasicConfig.deserialize(params['BasicConfig'])
12693
+ end
12694
+ unless params['STTConfig'].nil?
12695
+ @STTConfig = TalkSTTConfigInfo.new
12696
+ @STTConfig.deserialize(params['STTConfig'])
12697
+ end
12698
+ unless params['LLMConfig'].nil?
12699
+ @LLMConfig = TalkLLMConfigInfo.new
12700
+ @LLMConfig.deserialize(params['LLMConfig'])
12701
+ end
12702
+ unless params['TTSConfig'].nil?
12703
+ @TTSConfig = TalkTTSConfigInfo.new
12704
+ @TTSConfig.deserialize(params['TTSConfig'])
12705
+ end
12706
+ unless params['ConversationConfig'].nil?
12707
+ @ConversationConfig = TalkConversationConfigInfo.new
12708
+ @ConversationConfig.deserialize(params['ConversationConfig'])
12709
+ end
12710
+ @Version = params['Version']
12711
+ @CreateTime = params['CreateTime']
12712
+ @UpdateTime = params['UpdateTime']
12713
+ end
12714
+ end
12715
+
12716
+ # STT配置信息。
12717
+ class TalkSTTConfigInfo < TencentCloud::Common::AbstractModel
12718
+ # @param STTType: 支持的STT类型,tencent-腾讯;azure-亚马逊;volcengine-火山引擎;deepgram-Deepgram;系统默认-tencent。
12719
+ # @type STTType: String
12720
+ # @param Enabled: 是否开启
12721
+ # @type Enabled: Boolean
12722
+ # @param Config: 配置信息JSON字符串,根据STTType进行不同的值匹配。例如`STTType`是`tencent`,`Config`值是`{\"AppId\":123456,\"SecretId\":\"secretId*****\",\"SecretKey\":\"SecretKey****\",\"EngineType\":\"16k_zh\"}`
12723
+
12724
+ # ## tencent
12725
+ # ```
12726
+ # {
12727
+ # "AppId": 123456,
12728
+ # "SecretId": "secretId*****",
12729
+ # "SecretKey": "SecretKey****",
12730
+ # "EngineType": "16k_zh"
12731
+ # }
12732
+ # ```
12733
+
12734
+ # ## azure
12735
+ # ```
12736
+ # {
12737
+ # "Region": "",
12738
+ # "EndpointId": "id",
12739
+ # "Language": "zh-CN",
12740
+ # "SubscriptionKey": "*****"
12741
+ # }
12742
+ # ```
12743
+ # ## volcengine
12744
+ # ```
12745
+ # {
12746
+ # "AppId": 123456,
12747
+ # "AccessToken": "*****",
12748
+ # "ResourceId": "SecretKey****",
12749
+ # "ModelName": "16k_zh",
12750
+ # "Language":""
12751
+ # }
12752
+ # ```
12753
+ # ## deepgram
12754
+ # ```
12755
+ # {
12756
+ # "Model": "nova-2",
12757
+ # "Language": "zh",
12758
+ # "BaseUrl":"http://www.deepgram.com",
12759
+ # "ApiKey": "SecretKey****"
12760
+ # }
12761
+ # ```
12762
+ # @type Config: String
12763
+
12764
+ attr_accessor :STTType, :Enabled, :Config
12765
+
12766
+ def initialize(stttype=nil, enabled=nil, config=nil)
12767
+ @STTType = stttype
12768
+ @Enabled = enabled
12769
+ @Config = config
12770
+ end
12771
+
12772
+ def deserialize(params)
12773
+ @STTType = params['STTType']
12774
+ @Enabled = params['Enabled']
12775
+ @Config = params['Config']
12776
+ end
12777
+ end
12778
+
12779
+ # TTS配置信息。
12780
+ class TalkTTSConfigInfo < TencentCloud::Common::AbstractModel
12781
+ # @param TTSType: 支持的LLM类型,支持tencent-腾讯;azure-亚马逊;volcengine-火山引擎;elevenlabs-ELEVENLABS;minimax-MINIMAX;cartesia-CARTESIA;aliyun-阿里;系统默认-tencent。
12782
+ # @type TTSType: String
12783
+ # @param Enabled: 是否开启
12784
+ # @type Enabled: Boolean
12785
+ # @param Config: 配置信息JSON字符串,根据`TTSType`进行不同的值匹配。例如`TTSType`是`tencent`,`Config`值是`{\"AppId\":123456,\"SecretId\":\"secretId*****\",\"SecretKey\":\"SecretKey****\",\"VoiceType\":10001}`
12786
+
12787
+ # ## tencent
12788
+ # ```
12789
+ # {
12790
+ # "AppId": 100203,
12791
+ # "SecretId": "XXXX",
12792
+ # "SecretKey": "XXXXX",
12793
+ # "VoiceType":123456
12794
+ # }
12795
+ # ```
12796
+
12797
+ # ## azure
12798
+ # ```
12799
+ # {
12800
+ # "SubscriptionKey": 100203,
12801
+ # "Region": "ch-zn",
12802
+ # "VoiceName": "XXXXX",
12803
+ # "Language":"zh"
12804
+ # }
12805
+ # ```
12806
+ # ## elevenlabs
12807
+ # ```
12808
+ # {
12809
+ # "ModelId": 100203,
12810
+ # "VoiceId": "ch-zn",
12811
+ # "ApiKey": "XXXXX"
12812
+ # }
12813
+ # ```
12814
+ # ## minimax
12815
+ # ```
12816
+ # {
12817
+ # "Model":"xxxx",
12818
+ # "ApiUrl": "346w34",
12819
+ # "ApiKey": "xxx",
12820
+ # "GroupId": "ion",
12821
+ # "VoiceType":"xioawei"
12822
+ # }
12823
+ # ```
12824
+ # ## cartesia
12825
+ # ```
12826
+ # {
12827
+ # "Model":"xxxx",
12828
+ # "ApiKey": "xxx",
12829
+ # "VoiceId":"xioawei"
12830
+ # }
12831
+ # ```
12832
+ # ## aliyun
12833
+ # ```
12834
+ # {
12835
+ # "VoiceType": 100203,
12836
+ # "RegionId": "XXXX",
12837
+ # "ApiKey": "XXXXX"
12838
+ # }
12839
+ # ```
12840
+ # ## volcengine
12841
+ # ```
12842
+ # {
12843
+ # "AppId": "346w34",
12844
+ # "AccessToken": "xxx",
12845
+ # "ResourceId": "volc.bigasr.sauc.duration",
12846
+ # "VoiceType":"xioawei"
12847
+ # }
12848
+ # ```
12849
+ # @type Config: String
12850
+ # @param Speed: 温度
12851
+ # @type Speed: Float
12852
+ # @param Volume: 最大token数
12853
+ # @type Volume: Float
12854
+ # @param Pitch: PITCH
12855
+ # @type Pitch: Float
12856
+
12857
+ attr_accessor :TTSType, :Enabled, :Config, :Speed, :Volume, :Pitch
12858
+
12859
+ def initialize(ttstype=nil, enabled=nil, config=nil, speed=nil, volume=nil, pitch=nil)
12860
+ @TTSType = ttstype
12861
+ @Enabled = enabled
12862
+ @Config = config
12863
+ @Speed = speed
12864
+ @Volume = volume
12865
+ @Pitch = pitch
12866
+ end
12867
+
12868
+ def deserialize(params)
12869
+ @TTSType = params['TTSType']
12870
+ @Enabled = params['Enabled']
12871
+ @Config = params['Config']
12872
+ @Speed = params['Speed']
12873
+ @Volume = params['Volume']
12874
+ @Pitch = params['Pitch']
12875
+ end
12876
+ end
12877
+
12132
12878
  # 视频语义搜索结果
12133
12879
  class TargetInfo < TencentCloud::Common::AbstractModel
12134
12880
  # @param Id: 视频唯一ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-iotexplorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1147
4
+ version: 3.0.1154
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-25 00:00:00.000000000 Z
11
+ date: 2025-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-iotexplorer.rb
37
- - lib/v20190423/client.rb
38
36
  - lib/v20190423/models.rb
37
+ - lib/v20190423/client.rb
38
+ - lib/tencentcloud-sdk-iotexplorer.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: