tencentcloud-sdk-lke 3.0.1143 → 3.0.1146
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/v20231130/client.rb +0 -48
- data/lib/v20231130/models.rb +18 -91
- 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: 52233cd8c26d9a91f3dca4d1fb09e21d29d344ff
|
4
|
+
data.tar.gz: 15979621571deb3e29a005baa44a976683ad39ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc78ad057fa807646af8837fb0d5f5fe9d02bfdbea10d43019a1d1496ddb1b4e38a6af84c0eaa7fb19c6211ad6a02fe6dbb0dbf832029711c896b530fd02c6f2
|
7
|
+
data.tar.gz: 77eebafc88316f5082ec860f926c9cad5584471c7c2686d490e2fba2579b348270877bb88eb30018d06dff951847bfbd0708b26a87fe8476df8b6c7d900dd1e7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1146
|
data/lib/v20231130/client.rb
CHANGED
@@ -77,30 +77,6 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
-
# 创建一个Agent
|
81
|
-
|
82
|
-
# @param request: Request instance for CreateAgent.
|
83
|
-
# @type request: :class:`Tencentcloud::lke::V20231130::CreateAgentRequest`
|
84
|
-
# @rtype: :class:`Tencentcloud::lke::V20231130::CreateAgentResponse`
|
85
|
-
def CreateAgent(request)
|
86
|
-
body = send_request('CreateAgent', request.serialize)
|
87
|
-
response = JSON.parse(body)
|
88
|
-
if response['Response'].key?('Error') == false
|
89
|
-
model = CreateAgentResponse.new
|
90
|
-
model.deserialize(response['Response'])
|
91
|
-
model
|
92
|
-
else
|
93
|
-
code = response['Response']['Error']['Code']
|
94
|
-
message = response['Response']['Error']['Message']
|
95
|
-
reqid = response['Response']['RequestId']
|
96
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
-
end
|
98
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
-
raise e
|
100
|
-
rescue StandardError => e
|
101
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
-
end
|
103
|
-
|
104
80
|
# 创建知识引擎应用。
|
105
81
|
|
106
82
|
# @param request: Request instance for CreateApp.
|
@@ -2047,30 +2023,6 @@ module TencentCloud
|
|
2047
2023
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2048
2024
|
end
|
2049
2025
|
|
2050
|
-
# 修改Agent信息
|
2051
|
-
|
2052
|
-
# @param request: Request instance for ModifyAgent.
|
2053
|
-
# @type request: :class:`Tencentcloud::lke::V20231130::ModifyAgentRequest`
|
2054
|
-
# @rtype: :class:`Tencentcloud::lke::V20231130::ModifyAgentResponse`
|
2055
|
-
def ModifyAgent(request)
|
2056
|
-
body = send_request('ModifyAgent', request.serialize)
|
2057
|
-
response = JSON.parse(body)
|
2058
|
-
if response['Response'].key?('Error') == false
|
2059
|
-
model = ModifyAgentResponse.new
|
2060
|
-
model.deserialize(response['Response'])
|
2061
|
-
model
|
2062
|
-
else
|
2063
|
-
code = response['Response']['Error']['Code']
|
2064
|
-
message = response['Response']['Error']['Message']
|
2065
|
-
reqid = response['Response']['RequestId']
|
2066
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2067
|
-
end
|
2068
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2069
|
-
raise e
|
2070
|
-
rescue StandardError => e
|
2071
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2072
|
-
end
|
2073
|
-
|
2074
2026
|
# 修改应用请求结构体
|
2075
2027
|
|
2076
2028
|
# @param request: Request instance for ModifyApp.
|
data/lib/v20231130/models.rb
CHANGED
@@ -2160,49 +2160,6 @@ module TencentCloud
|
|
2160
2160
|
end
|
2161
2161
|
end
|
2162
2162
|
|
2163
|
-
# CreateAgent请求参数结构体
|
2164
|
-
class CreateAgentRequest < TencentCloud::Common::AbstractModel
|
2165
|
-
# @param AppBizId: 应用ID
|
2166
|
-
# @type AppBizId: String
|
2167
|
-
# @param Agent: 要增加的Agent的信息
|
2168
|
-
# @type Agent: :class:`Tencentcloud::Lke.v20231130.models.Agent`
|
2169
|
-
|
2170
|
-
attr_accessor :AppBizId, :Agent
|
2171
|
-
|
2172
|
-
def initialize(appbizid=nil, agent=nil)
|
2173
|
-
@AppBizId = appbizid
|
2174
|
-
@Agent = agent
|
2175
|
-
end
|
2176
|
-
|
2177
|
-
def deserialize(params)
|
2178
|
-
@AppBizId = params['AppBizId']
|
2179
|
-
unless params['Agent'].nil?
|
2180
|
-
@Agent = Agent.new
|
2181
|
-
@Agent.deserialize(params['Agent'])
|
2182
|
-
end
|
2183
|
-
end
|
2184
|
-
end
|
2185
|
-
|
2186
|
-
# CreateAgent返回参数结构体
|
2187
|
-
class CreateAgentResponse < TencentCloud::Common::AbstractModel
|
2188
|
-
# @param AgentId: 新建的AgentID
|
2189
|
-
# @type AgentId: String
|
2190
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2191
|
-
# @type RequestId: String
|
2192
|
-
|
2193
|
-
attr_accessor :AgentId, :RequestId
|
2194
|
-
|
2195
|
-
def initialize(agentid=nil, requestid=nil)
|
2196
|
-
@AgentId = agentid
|
2197
|
-
@RequestId = requestid
|
2198
|
-
end
|
2199
|
-
|
2200
|
-
def deserialize(params)
|
2201
|
-
@AgentId = params['AgentId']
|
2202
|
-
@RequestId = params['RequestId']
|
2203
|
-
end
|
2204
|
-
end
|
2205
|
-
|
2206
2163
|
# CreateApp请求参数结构体
|
2207
2164
|
class CreateAppRequest < TencentCloud::Common::AbstractModel
|
2208
2165
|
# @param AppType: 应用类型;knowledge_qa-知识问答管理
|
@@ -7165,7 +7122,7 @@ module TencentCloud
|
|
7165
7122
|
# @type LoginSubAccountUin: String
|
7166
7123
|
# @param AgentType: 智能体类型 dialogue:对话智能体,wechat:公众号智能体
|
7167
7124
|
# @type AgentType: String
|
7168
|
-
# @param AppStatus: 应用状态 1:未上线
|
7125
|
+
# @param AppStatus: 应用状态 1:未上线 2:运行中
|
7169
7126
|
# @type AppStatus: String
|
7170
7127
|
|
7171
7128
|
attr_accessor :AppType, :PageSize, :PageNumber, :Keyword, :LoginSubAccountUin, :AgentType, :AppStatus
|
@@ -8950,10 +8907,14 @@ module TencentCloud
|
|
8950
8907
|
# @type ProviderAliasName: String
|
8951
8908
|
# @param ProviderType: 提供商类型 Self:提供商,Custom:自定义模型提供商,Third:第三方模型提供商
|
8952
8909
|
# @type ProviderType: String
|
8910
|
+
# @param IsCloseModelParams: 是否关闭模型超参
|
8911
|
+
# @type IsCloseModelParams: Boolean
|
8912
|
+
# @param IsDeepThinking: 是否支持深度思考
|
8913
|
+
# @type IsDeepThinking: Boolean
|
8953
8914
|
|
8954
|
-
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit, :TopP, :Temperature, :MaxTokens, :Source, :Icon, :IsFree, :InputLenLimit, :SupportWorkflowStatus, :ModelCategory, :IsDefault, :RoleLenLimit, :IsExclusive, :SupportAiCallStatus, :Concurrency, :ModelTags, :ModelParams, :ProviderName, :ProviderAliasName, :ProviderType
|
8915
|
+
attr_accessor :ModelName, :ModelDesc, :AliasName, :ResourceStatus, :PromptWordsLimit, :TopP, :Temperature, :MaxTokens, :Source, :Icon, :IsFree, :InputLenLimit, :SupportWorkflowStatus, :ModelCategory, :IsDefault, :RoleLenLimit, :IsExclusive, :SupportAiCallStatus, :Concurrency, :ModelTags, :ModelParams, :ProviderName, :ProviderAliasName, :ProviderType, :IsCloseModelParams, :IsDeepThinking
|
8955
8916
|
|
8956
|
-
def initialize(modelname=nil, modeldesc=nil, aliasname=nil, resourcestatus=nil, promptwordslimit=nil, topp=nil, temperature=nil, maxtokens=nil, source=nil, icon=nil, isfree=nil, inputlenlimit=nil, supportworkflowstatus=nil, modelcategory=nil, isdefault=nil, rolelenlimit=nil, isexclusive=nil, supportaicallstatus=nil, concurrency=nil, modeltags=nil, modelparams=nil, providername=nil, provideraliasname=nil, providertype=nil)
|
8917
|
+
def initialize(modelname=nil, modeldesc=nil, aliasname=nil, resourcestatus=nil, promptwordslimit=nil, topp=nil, temperature=nil, maxtokens=nil, source=nil, icon=nil, isfree=nil, inputlenlimit=nil, supportworkflowstatus=nil, modelcategory=nil, isdefault=nil, rolelenlimit=nil, isexclusive=nil, supportaicallstatus=nil, concurrency=nil, modeltags=nil, modelparams=nil, providername=nil, provideraliasname=nil, providertype=nil, isclosemodelparams=nil, isdeepthinking=nil)
|
8957
8918
|
@ModelName = modelname
|
8958
8919
|
@ModelDesc = modeldesc
|
8959
8920
|
@AliasName = aliasname
|
@@ -8978,6 +8939,8 @@ module TencentCloud
|
|
8978
8939
|
@ProviderName = providername
|
8979
8940
|
@ProviderAliasName = provideraliasname
|
8980
8941
|
@ProviderType = providertype
|
8942
|
+
@IsCloseModelParams = isclosemodelparams
|
8943
|
+
@IsDeepThinking = isdeepthinking
|
8981
8944
|
end
|
8982
8945
|
|
8983
8946
|
def deserialize(params)
|
@@ -9021,6 +8984,8 @@ module TencentCloud
|
|
9021
8984
|
@ProviderName = params['ProviderName']
|
9022
8985
|
@ProviderAliasName = params['ProviderAliasName']
|
9023
8986
|
@ProviderType = params['ProviderType']
|
8987
|
+
@IsCloseModelParams = params['IsCloseModelParams']
|
8988
|
+
@IsDeepThinking = params['IsDeepThinking']
|
9024
8989
|
end
|
9025
8990
|
end
|
9026
8991
|
|
@@ -9104,49 +9069,6 @@ module TencentCloud
|
|
9104
9069
|
end
|
9105
9070
|
end
|
9106
9071
|
|
9107
|
-
# ModifyAgent请求参数结构体
|
9108
|
-
class ModifyAgentRequest < TencentCloud::Common::AbstractModel
|
9109
|
-
# @param AppBizId: 需要修改的应用ID
|
9110
|
-
# @type AppBizId: String
|
9111
|
-
# @param Agent: 修改后的Agent的信息
|
9112
|
-
# @type Agent: :class:`Tencentcloud::Lke.v20231130.models.Agent`
|
9113
|
-
|
9114
|
-
attr_accessor :AppBizId, :Agent
|
9115
|
-
|
9116
|
-
def initialize(appbizid=nil, agent=nil)
|
9117
|
-
@AppBizId = appbizid
|
9118
|
-
@Agent = agent
|
9119
|
-
end
|
9120
|
-
|
9121
|
-
def deserialize(params)
|
9122
|
-
@AppBizId = params['AppBizId']
|
9123
|
-
unless params['Agent'].nil?
|
9124
|
-
@Agent = Agent.new
|
9125
|
-
@Agent.deserialize(params['Agent'])
|
9126
|
-
end
|
9127
|
-
end
|
9128
|
-
end
|
9129
|
-
|
9130
|
-
# ModifyAgent返回参数结构体
|
9131
|
-
class ModifyAgentResponse < TencentCloud::Common::AbstractModel
|
9132
|
-
# @param AgentId: 修改的AgentId
|
9133
|
-
# @type AgentId: String
|
9134
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9135
|
-
# @type RequestId: String
|
9136
|
-
|
9137
|
-
attr_accessor :AgentId, :RequestId
|
9138
|
-
|
9139
|
-
def initialize(agentid=nil, requestid=nil)
|
9140
|
-
@AgentId = agentid
|
9141
|
-
@RequestId = requestid
|
9142
|
-
end
|
9143
|
-
|
9144
|
-
def deserialize(params)
|
9145
|
-
@AgentId = params['AgentId']
|
9146
|
-
@RequestId = params['RequestId']
|
9147
|
-
end
|
9148
|
-
end
|
9149
|
-
|
9150
9072
|
# ModifyApp请求参数结构体
|
9151
9073
|
class ModifyAppRequest < TencentCloud::Common::AbstractModel
|
9152
9074
|
# @param AppBizId: 应用 ID
|
@@ -12888,10 +12810,13 @@ module TencentCloud
|
|
12888
12810
|
# @param StatisticInfos: 大模型输出信息
|
12889
12811
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12890
12812
|
# @type StatisticInfos: Array
|
12813
|
+
# @param FailCode: 错误代码
|
12814
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
12815
|
+
# @type FailCode: String
|
12891
12816
|
|
12892
|
-
attr_accessor :NodeId, :NodeType, :NodeName, :Status, :Input, :Output, :TaskOutput, :FailMessage, :CostMilliSeconds, :StatisticInfos
|
12817
|
+
attr_accessor :NodeId, :NodeType, :NodeName, :Status, :Input, :Output, :TaskOutput, :FailMessage, :CostMilliSeconds, :StatisticInfos, :FailCode
|
12893
12818
|
|
12894
|
-
def initialize(nodeid=nil, nodetype=nil, nodename=nil, status=nil, input=nil, output=nil, taskoutput=nil, failmessage=nil, costmilliseconds=nil, statisticinfos=nil)
|
12819
|
+
def initialize(nodeid=nil, nodetype=nil, nodename=nil, status=nil, input=nil, output=nil, taskoutput=nil, failmessage=nil, costmilliseconds=nil, statisticinfos=nil, failcode=nil)
|
12895
12820
|
@NodeId = nodeid
|
12896
12821
|
@NodeType = nodetype
|
12897
12822
|
@NodeName = nodename
|
@@ -12902,6 +12827,7 @@ module TencentCloud
|
|
12902
12827
|
@FailMessage = failmessage
|
12903
12828
|
@CostMilliSeconds = costmilliseconds
|
12904
12829
|
@StatisticInfos = statisticinfos
|
12830
|
+
@FailCode = failcode
|
12905
12831
|
end
|
12906
12832
|
|
12907
12833
|
def deserialize(params)
|
@@ -12922,6 +12848,7 @@ module TencentCloud
|
|
12922
12848
|
@StatisticInfos << statisticinfo_tmp
|
12923
12849
|
end
|
12924
12850
|
end
|
12851
|
+
@FailCode = params['FailCode']
|
12925
12852
|
end
|
12926
12853
|
end
|
12927
12854
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1146
|
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-
|
11
|
+
date: 2025-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|