tencentcloud-sdk-ccc 3.0.1042 → 3.0.1043
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200210/client.rb +24 -0
- data/lib/v20200210/models.rb +44 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1c8c03576e2fbc133a93bce9c86bdc2c43faf7c
|
4
|
+
data.tar.gz: 41b6de207266184f8b11f540b71709a62387aab7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7f39c4b516d53b76e8994d345305b05f73a3396f77e2b7233c0133ba0ca7f37413745657484068b3f31a130fa225b1ca54913b8f30b9c7311fee71949435fc6
|
7
|
+
data.tar.gz: 8cf786149cf3e7c58990adbe8f26b8086b01f9198e8440290d98afd3c843fb90c139c62ca13609f3354847ba6439dac6ef45d0ffbb8edfacd035419039c81566
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1043
|
data/lib/v20200210/client.rb
CHANGED
@@ -517,6 +517,30 @@ module TencentCloud
|
|
517
517
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
518
518
|
end
|
519
519
|
|
520
|
+
# 删除技能组
|
521
|
+
|
522
|
+
# @param request: Request instance for DeleteCCCSkillGroup.
|
523
|
+
# @type request: :class:`Tencentcloud::ccc::V20200210::DeleteCCCSkillGroupRequest`
|
524
|
+
# @rtype: :class:`Tencentcloud::ccc::V20200210::DeleteCCCSkillGroupResponse`
|
525
|
+
def DeleteCCCSkillGroup(request)
|
526
|
+
body = send_request('DeleteCCCSkillGroup', request.serialize)
|
527
|
+
response = JSON.parse(body)
|
528
|
+
if response['Response'].key?('Error') == false
|
529
|
+
model = DeleteCCCSkillGroupResponse.new
|
530
|
+
model.deserialize(response['Response'])
|
531
|
+
model
|
532
|
+
else
|
533
|
+
code = response['Response']['Error']['Code']
|
534
|
+
message = response['Response']['Error']['Message']
|
535
|
+
reqid = response['Response']['RequestId']
|
536
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
537
|
+
end
|
538
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
539
|
+
raise e
|
540
|
+
rescue StandardError => e
|
541
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
542
|
+
end
|
543
|
+
|
520
544
|
# 删除话机账号
|
521
545
|
|
522
546
|
# @param request: Request instance for DeleteExtension.
|
data/lib/v20200210/models.rb
CHANGED
@@ -923,7 +923,7 @@ module TencentCloud
|
|
923
923
|
# @type Callers: Array
|
924
924
|
# @param PromptVariables: 提示词变量
|
925
925
|
# @type PromptVariables: Array
|
926
|
-
# @param Variables: 通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> dify变量</p>
|
926
|
+
# @param Variables: 通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> 欢迎语延迟播放(秒级):welcome-message-delay</p> <p> dify变量</p>
|
927
927
|
|
928
928
|
# 1. dify-inputs-xxx 为dify的inputs变量
|
929
929
|
# 2. dify-inputs-user 为dify的user值
|
@@ -931,6 +931,9 @@ module TencentCloud
|
|
931
931
|
# @type Variables: Array
|
932
932
|
|
933
933
|
attr_accessor :SdkAppId, :AIAgentId, :Callee, :Callers, :PromptVariables, :Variables
|
934
|
+
extend Gem::Deprecate
|
935
|
+
deprecate :PromptVariables, :none, 2025, 4
|
936
|
+
deprecate :PromptVariables=, :none, 2025, 4
|
934
937
|
|
935
938
|
def initialize(sdkappid=nil, aiagentid=nil, callee=nil, callers=nil, promptvariables=nil, variables=nil)
|
936
939
|
@SdkAppId = sdkappid
|
@@ -1209,7 +1212,7 @@ module TencentCloud
|
|
1209
1212
|
# @type ExtractConfig: Array
|
1210
1213
|
# @param Temperature: 模型温度控制
|
1211
1214
|
# @type Temperature: Float
|
1212
|
-
# @param Variables: 通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> dify变量</p>
|
1215
|
+
# @param Variables: 通用变量: <p>提示词变量</p> <p>欢迎语变量</p> <p> 欢迎语延迟播放(秒级):welcome-message-delay</p> <p> dify变量</p>
|
1213
1216
|
|
1214
1217
|
# 1. dify-inputs-xxx 为dify的inputs变量
|
1215
1218
|
# 2. dify-inputs-user 为dify的user值
|
@@ -1217,6 +1220,9 @@ module TencentCloud
|
|
1217
1220
|
# @type Variables: Array
|
1218
1221
|
|
1219
1222
|
attr_accessor :SdkAppId, :Callee, :LLMType, :APIKey, :APIUrl, :SystemPrompt, :Model, :VoiceType, :Callers, :WelcomeMessage, :WelcomeType, :WelcomeMessagePriority, :MaxDuration, :Languages, :InterruptMode, :InterruptSpeechDuration, :EndFunctionEnable, :EndFunctionDesc, :TransferFunctionEnable, :TransferItems, :NotifyDuration, :NotifyMessage, :NotifyMaxCount, :CustomTTSConfig, :PromptVariables, :VadSilenceTime, :ExtractConfig, :Temperature, :Variables
|
1223
|
+
extend Gem::Deprecate
|
1224
|
+
deprecate :PromptVariables, :none, 2025, 4
|
1225
|
+
deprecate :PromptVariables=, :none, 2025, 4
|
1220
1226
|
|
1221
1227
|
def initialize(sdkappid=nil, callee=nil, llmtype=nil, apikey=nil, apiurl=nil, systemprompt=nil, model=nil, voicetype=nil, callers=nil, welcomemessage=nil, welcometype=nil, welcomemessagepriority=nil, maxduration=nil, languages=nil, interruptmode=nil, interruptspeechduration=nil, endfunctionenable=nil, endfunctiondesc=nil, transferfunctionenable=nil, transferitems=nil, notifyduration=nil, notifymessage=nil, notifymaxcount=nil, customttsconfig=nil, promptvariables=nil, vadsilencetime=nil, extractconfig=nil, temperature=nil, variables=nil)
|
1222
1228
|
@SdkAppId = sdkappid
|
@@ -2206,6 +2212,42 @@ module TencentCloud
|
|
2206
2212
|
end
|
2207
2213
|
end
|
2208
2214
|
|
2215
|
+
# DeleteCCCSkillGroup请求参数结构体
|
2216
|
+
class DeleteCCCSkillGroupRequest < TencentCloud::Common::AbstractModel
|
2217
|
+
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
2218
|
+
# @type SdkAppId: Integer
|
2219
|
+
# @param SkillGroupId: 技能组ID
|
2220
|
+
# @type SkillGroupId: Integer
|
2221
|
+
|
2222
|
+
attr_accessor :SdkAppId, :SkillGroupId
|
2223
|
+
|
2224
|
+
def initialize(sdkappid=nil, skillgroupid=nil)
|
2225
|
+
@SdkAppId = sdkappid
|
2226
|
+
@SkillGroupId = skillgroupid
|
2227
|
+
end
|
2228
|
+
|
2229
|
+
def deserialize(params)
|
2230
|
+
@SdkAppId = params['SdkAppId']
|
2231
|
+
@SkillGroupId = params['SkillGroupId']
|
2232
|
+
end
|
2233
|
+
end
|
2234
|
+
|
2235
|
+
# DeleteCCCSkillGroup返回参数结构体
|
2236
|
+
class DeleteCCCSkillGroupResponse < TencentCloud::Common::AbstractModel
|
2237
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2238
|
+
# @type RequestId: String
|
2239
|
+
|
2240
|
+
attr_accessor :RequestId
|
2241
|
+
|
2242
|
+
def initialize(requestid=nil)
|
2243
|
+
@RequestId = requestid
|
2244
|
+
end
|
2245
|
+
|
2246
|
+
def deserialize(params)
|
2247
|
+
@RequestId = params['RequestId']
|
2248
|
+
end
|
2249
|
+
end
|
2250
|
+
|
2209
2251
|
# DeleteExtension请求参数结构体
|
2210
2252
|
class DeleteExtensionRequest < TencentCloud::Common::AbstractModel
|
2211
2253
|
# @param SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ccc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1043
|
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-04-
|
11
|
+
date: 2025-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|