tencentcloud-sdk-lke 3.0.1142 → 3.0.1143

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: dffe425b35c9ef47a2d5db67bcfc68cedcf978f3
4
- data.tar.gz: 5af8903fd1620ca22baa757b05ccd78c6248558d
3
+ metadata.gz: 5948831e1d4b71342c33cc56536e2ef06d4d1e9d
4
+ data.tar.gz: f2dbf9bb3547911336304031aada4462a5c7c243
5
5
  SHA512:
6
- metadata.gz: 8387bd0a542712656fbc476c06d2c565879239a1a7627aaf0e8da61daf8508b4a92a0461cbc209e1a91285dacd2222630f7375f5dd2d90a40a80115463769a4d
7
- data.tar.gz: 3fe02f2a86d6dcc775a05edac63e1382184039b01b056cd7471f93cc7c18f23ba7eb5d0f0e4d96e38144707d88f13737b57a5d13720f58d753a2376c35a64ec3
6
+ metadata.gz: 0ea8ca94fa187beabfa01e7a362716c65d81c8af11d2c206871c856cf7202f1a1f0e20573ba114d21c38afbdb0ce8ceb7b0dd61d73611112bb9dd29e90488d70
7
+ data.tar.gz: ebb703bf822ed6643fa43dca2ca05c3610ff4e82fd345ba788eed46b1145f75ce6e5d8237d282b7740cf9b409c02634e87dee3c48f2e78d94c3b8c251c03b123
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1142
1
+ 3.0.1143
@@ -77,7 +77,7 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
- # 你创建一个Agent
80
+ # 创建一个Agent
81
81
 
82
82
  # @param request: Request instance for CreateAgent.
83
83
  # @type request: :class:`Tencentcloud::lke::V20231130::CreateAgentRequest`
@@ -1615,6 +1615,30 @@ module TencentCloud
1615
1615
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1616
1616
  end
1617
1617
 
1618
+ # 获取发布渠道列表
1619
+
1620
+ # @param request: Request instance for ListChannel.
1621
+ # @type request: :class:`Tencentcloud::lke::V20231130::ListChannelRequest`
1622
+ # @rtype: :class:`Tencentcloud::lke::V20231130::ListChannelResponse`
1623
+ def ListChannel(request)
1624
+ body = send_request('ListChannel', request.serialize)
1625
+ response = JSON.parse(body)
1626
+ if response['Response'].key?('Error') == false
1627
+ model = ListChannelResponse.new
1628
+ model.deserialize(response['Response'])
1629
+ model
1630
+ else
1631
+ code = response['Response']['Error']['Code']
1632
+ message = response['Response']['Error']['Message']
1633
+ reqid = response['Response']['RequestId']
1634
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1635
+ end
1636
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1637
+ raise e
1638
+ rescue StandardError => e
1639
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1640
+ end
1641
+
1618
1642
  # 文档列表
1619
1643
 
1620
1644
  # @param request: Request instance for ListDoc.
@@ -68,7 +68,7 @@ module TencentCloud
68
68
  # @type WorkflowId: String
69
69
  # @param Name: Agent名称,同一个应用内,Agent名称不能重复
70
70
  # @type Name: String
71
- # @param IconUrl: 插件图标url
71
+ # @param IconUrl: Agent图标url
72
72
  # @type IconUrl: String
73
73
  # @param Instructions: Agent指令;当该Agent被调用时,将作为“系统提示词”使用,描述Agent应执行的操作和响应方式
74
74
  # @type Instructions: String
@@ -88,10 +88,12 @@ module TencentCloud
88
88
  # @type AgentType: Integer
89
89
  # @param AgentMode: 0 自由转交,1 计划与执行
90
90
  # @type AgentMode: Integer
91
+ # @param AdvancedConfig: 高级设置
92
+ # @type AdvancedConfig: :class:`Tencentcloud::Lke.v20231130.models.AgentAdvancedConfig`
91
93
 
92
- attr_accessor :AgentId, :WorkflowId, :Name, :IconUrl, :Instructions, :HandoffDescription, :Handoffs, :Model, :Tools, :Plugins, :IsStartingAgent, :AgentType, :AgentMode
94
+ attr_accessor :AgentId, :WorkflowId, :Name, :IconUrl, :Instructions, :HandoffDescription, :Handoffs, :Model, :Tools, :Plugins, :IsStartingAgent, :AgentType, :AgentMode, :AdvancedConfig
93
95
 
94
- def initialize(agentid=nil, workflowid=nil, name=nil, iconurl=nil, instructions=nil, handoffdescription=nil, handoffs=nil, model=nil, tools=nil, plugins=nil, isstartingagent=nil, agenttype=nil, agentmode=nil)
96
+ def initialize(agentid=nil, workflowid=nil, name=nil, iconurl=nil, instructions=nil, handoffdescription=nil, handoffs=nil, model=nil, tools=nil, plugins=nil, isstartingagent=nil, agenttype=nil, agentmode=nil, advancedconfig=nil)
95
97
  @AgentId = agentid
96
98
  @WorkflowId = workflowid
97
99
  @Name = name
@@ -105,6 +107,7 @@ module TencentCloud
105
107
  @IsStartingAgent = isstartingagent
106
108
  @AgentType = agenttype
107
109
  @AgentMode = agentmode
110
+ @AdvancedConfig = advancedconfig
108
111
  end
109
112
 
110
113
  def deserialize(params)
@@ -138,6 +141,49 @@ module TencentCloud
138
141
  @IsStartingAgent = params['IsStartingAgent']
139
142
  @AgentType = params['AgentType']
140
143
  @AgentMode = params['AgentMode']
144
+ unless params['AdvancedConfig'].nil?
145
+ @AdvancedConfig = AgentAdvancedConfig.new
146
+ @AdvancedConfig.deserialize(params['AdvancedConfig'])
147
+ end
148
+ end
149
+ end
150
+
151
+ # Agent高级设置
152
+ class AgentAdvancedConfig < TencentCloud::Common::AbstractModel
153
+ # @param EnableClarification: 是否开启澄清询问
154
+ # @type EnableClarification: Boolean
155
+ # @param ThinkingMode: 思考模式,0为效果优先,1为速度优先
156
+ # @type ThinkingMode: Integer
157
+ # @param MaxReasoningRound: 最大推理轮数
158
+ # @type MaxReasoningRound: Integer
159
+ # @param HistoryLimit: 上下文轮数
160
+ # @type HistoryLimit: Integer
161
+ # @param EnableStructuredOutput: 是否开启结构化输出
162
+ # @type EnableStructuredOutput: Boolean
163
+ # @param StructuredOutputConfig: 结构化输出配置
164
+ # @type StructuredOutputConfig: :class:`Tencentcloud::Lke.v20231130.models.StructuredOutputConfig`
165
+
166
+ attr_accessor :EnableClarification, :ThinkingMode, :MaxReasoningRound, :HistoryLimit, :EnableStructuredOutput, :StructuredOutputConfig
167
+
168
+ def initialize(enableclarification=nil, thinkingmode=nil, maxreasoninground=nil, historylimit=nil, enablestructuredoutput=nil, structuredoutputconfig=nil)
169
+ @EnableClarification = enableclarification
170
+ @ThinkingMode = thinkingmode
171
+ @MaxReasoningRound = maxreasoninground
172
+ @HistoryLimit = historylimit
173
+ @EnableStructuredOutput = enablestructuredoutput
174
+ @StructuredOutputConfig = structuredoutputconfig
175
+ end
176
+
177
+ def deserialize(params)
178
+ @EnableClarification = params['EnableClarification']
179
+ @ThinkingMode = params['ThinkingMode']
180
+ @MaxReasoningRound = params['MaxReasoningRound']
181
+ @HistoryLimit = params['HistoryLimit']
182
+ @EnableStructuredOutput = params['EnableStructuredOutput']
183
+ unless params['StructuredOutputConfig'].nil?
184
+ @StructuredOutputConfig = StructuredOutputConfig.new
185
+ @StructuredOutputConfig.deserialize(params['StructuredOutputConfig'])
186
+ end
141
187
  end
142
188
  end
143
189
 
@@ -1824,6 +1870,58 @@ module TencentCloud
1824
1870
  end
1825
1871
  end
1826
1872
 
1873
+ # 渠道详情信息
1874
+ class ChannelListInfo < TencentCloud::Common::AbstractModel
1875
+ # @param ChannelType: 渠道类型 10000 微信订阅号 10001 微信服务号 10002 企微应用
1876
+ # @type ChannelType: Integer
1877
+ # @param ChannelStatus: 渠道状态 1未发布 2运行中 3已下线
1878
+ # @type ChannelStatus: Integer
1879
+ # @param ChannelName: 渠道名称
1880
+ # @type ChannelName: String
1881
+ # @param ChannelId: 渠道id 数据库主键
1882
+ # @type ChannelId: String
1883
+ # @param Comment: 备注
1884
+ # @type Comment: String
1885
+ # @param UpdateTime: 更新时间
1886
+ # @type UpdateTime: String
1887
+ # @param CreateTime: 创建时间
1888
+ # @type CreateTime: String
1889
+ # @param UpdatedUser: 最后更新人
1890
+ # @type UpdatedUser: String
1891
+ # @param YuanQiInfo: 智能体应用可见范围,public-所有人可见 private-仅自己可见 share-通过分享可见
1892
+ # 注意:此字段可能返回 null,表示取不到有效值。
1893
+ # @type YuanQiInfo: :class:`Tencentcloud::Lke.v20231130.models.YuanQi`
1894
+
1895
+ attr_accessor :ChannelType, :ChannelStatus, :ChannelName, :ChannelId, :Comment, :UpdateTime, :CreateTime, :UpdatedUser, :YuanQiInfo
1896
+
1897
+ def initialize(channeltype=nil, channelstatus=nil, channelname=nil, channelid=nil, comment=nil, updatetime=nil, createtime=nil, updateduser=nil, yuanqiinfo=nil)
1898
+ @ChannelType = channeltype
1899
+ @ChannelStatus = channelstatus
1900
+ @ChannelName = channelname
1901
+ @ChannelId = channelid
1902
+ @Comment = comment
1903
+ @UpdateTime = updatetime
1904
+ @CreateTime = createtime
1905
+ @UpdatedUser = updateduser
1906
+ @YuanQiInfo = yuanqiinfo
1907
+ end
1908
+
1909
+ def deserialize(params)
1910
+ @ChannelType = params['ChannelType']
1911
+ @ChannelStatus = params['ChannelStatus']
1912
+ @ChannelName = params['ChannelName']
1913
+ @ChannelId = params['ChannelId']
1914
+ @Comment = params['Comment']
1915
+ @UpdateTime = params['UpdateTime']
1916
+ @CreateTime = params['CreateTime']
1917
+ @UpdatedUser = params['UpdatedUser']
1918
+ unless params['YuanQiInfo'].nil?
1919
+ @YuanQiInfo = YuanQi.new
1920
+ @YuanQiInfo.deserialize(params['YuanQiInfo'])
1921
+ end
1922
+ end
1923
+ end
1924
+
1827
1925
  # CheckAttributeLabelExist请求参数结构体
1828
1926
  class CheckAttributeLabelExistRequest < TencentCloud::Common::AbstractModel
1829
1927
  # @param BotBizId: 应用ID
@@ -2487,7 +2585,7 @@ module TencentCloud
2487
2585
  # @type BotBizId: String
2488
2586
  # @param Desc: 发布描述
2489
2587
  # @type Desc: String
2490
- # @param ChannelBizIds: 渠道业务ID
2588
+ # @param ChannelBizIds: 渠道业务ID,从ListChannel接口的响应字段ChannelId获取
2491
2589
  # @type ChannelBizIds: Array
2492
2590
 
2493
2591
  attr_accessor :BotBizId, :Desc, :ChannelBizIds
@@ -7195,6 +7293,76 @@ module TencentCloud
7195
7293
  end
7196
7294
  end
7197
7295
 
7296
+ # ListChannel请求参数结构体
7297
+ class ListChannelRequest < TencentCloud::Common::AbstractModel
7298
+ # @param AppBizId: 应用ID
7299
+ # @type AppBizId: String
7300
+ # @param BotBizId: 应用ID
7301
+ # @type BotBizId: String
7302
+ # @param PageNumber: 页码
7303
+ # @type PageNumber: Integer
7304
+ # @param PageSize: 分页数量
7305
+ # @type PageSize: Integer
7306
+ # @param ChannelType: 渠道类型, 10000: 微信订阅号,10001: 微信服务号,10002:企微应用,10004:微信客服,10005:小程序,10009:企微智能机器人
7307
+ # @type ChannelType: Array
7308
+ # @param ChannelStatus: 渠道状态 1未发布 2运行中 3已下线
7309
+ # @type ChannelStatus: Array
7310
+
7311
+ attr_accessor :AppBizId, :BotBizId, :PageNumber, :PageSize, :ChannelType, :ChannelStatus
7312
+ extend Gem::Deprecate
7313
+ deprecate :BotBizId, :none, 2025, 9
7314
+ deprecate :BotBizId=, :none, 2025, 9
7315
+
7316
+ def initialize(appbizid=nil, botbizid=nil, pagenumber=nil, pagesize=nil, channeltype=nil, channelstatus=nil)
7317
+ @AppBizId = appbizid
7318
+ @BotBizId = botbizid
7319
+ @PageNumber = pagenumber
7320
+ @PageSize = pagesize
7321
+ @ChannelType = channeltype
7322
+ @ChannelStatus = channelstatus
7323
+ end
7324
+
7325
+ def deserialize(params)
7326
+ @AppBizId = params['AppBizId']
7327
+ @BotBizId = params['BotBizId']
7328
+ @PageNumber = params['PageNumber']
7329
+ @PageSize = params['PageSize']
7330
+ @ChannelType = params['ChannelType']
7331
+ @ChannelStatus = params['ChannelStatus']
7332
+ end
7333
+ end
7334
+
7335
+ # ListChannel返回参数结构体
7336
+ class ListChannelResponse < TencentCloud::Common::AbstractModel
7337
+ # @param Total: 返回总数
7338
+ # @type Total: Integer
7339
+ # @param ListChannel: 渠道信息列表
7340
+ # @type ListChannel: Array
7341
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7342
+ # @type RequestId: String
7343
+
7344
+ attr_accessor :Total, :ListChannel, :RequestId
7345
+
7346
+ def initialize(total=nil, listchannel=nil, requestid=nil)
7347
+ @Total = total
7348
+ @ListChannel = listchannel
7349
+ @RequestId = requestid
7350
+ end
7351
+
7352
+ def deserialize(params)
7353
+ @Total = params['Total']
7354
+ unless params['ListChannel'].nil?
7355
+ @ListChannel = []
7356
+ params['ListChannel'].each do |i|
7357
+ channellistinfo_tmp = ChannelListInfo.new
7358
+ channellistinfo_tmp.deserialize(i)
7359
+ @ListChannel << channellistinfo_tmp
7360
+ end
7361
+ end
7362
+ @RequestId = params['RequestId']
7363
+ end
7364
+ end
7365
+
7198
7366
  # ListDocCate请求参数结构体
7199
7367
  class ListDocCateRequest < TencentCloud::Common::AbstractModel
7200
7368
  # @param BotBizId: 应用ID
@@ -10054,6 +10222,67 @@ module TencentCloud
10054
10222
  end
10055
10223
  end
10056
10224
 
10225
+ # 参数配置列表
10226
+ class ParameterConfig < TencentCloud::Common::AbstractModel
10227
+ # @param Name: 字段名称
10228
+ # @type Name: String
10229
+ # @param Description: 字段描述
10230
+ # @type Description: String
10231
+ # @param Type: 字段类型
10232
+ # @type Type: Integer
10233
+ # @param IsRequired: 是否必填
10234
+ # @type IsRequired: Boolean
10235
+ # @param SubParams: 子参数
10236
+ # @type SubParams: Array
10237
+ # @param OneOf: OneOf类型的参数
10238
+ # @type OneOf: Array
10239
+ # @param AnyOf: AnyOf类型的参数
10240
+ # @type AnyOf: Array
10241
+
10242
+ attr_accessor :Name, :Description, :Type, :IsRequired, :SubParams, :OneOf, :AnyOf
10243
+
10244
+ def initialize(name=nil, description=nil, type=nil, isrequired=nil, subparams=nil, oneof=nil, anyof=nil)
10245
+ @Name = name
10246
+ @Description = description
10247
+ @Type = type
10248
+ @IsRequired = isrequired
10249
+ @SubParams = subparams
10250
+ @OneOf = oneof
10251
+ @AnyOf = anyof
10252
+ end
10253
+
10254
+ def deserialize(params)
10255
+ @Name = params['Name']
10256
+ @Description = params['Description']
10257
+ @Type = params['Type']
10258
+ @IsRequired = params['IsRequired']
10259
+ unless params['SubParams'].nil?
10260
+ @SubParams = []
10261
+ params['SubParams'].each do |i|
10262
+ parameterconfig_tmp = ParameterConfig.new
10263
+ parameterconfig_tmp.deserialize(i)
10264
+ @SubParams << parameterconfig_tmp
10265
+ end
10266
+ end
10267
+ unless params['OneOf'].nil?
10268
+ @OneOf = []
10269
+ params['OneOf'].each do |i|
10270
+ parameterconfig_tmp = ParameterConfig.new
10271
+ parameterconfig_tmp.deserialize(i)
10272
+ @OneOf << parameterconfig_tmp
10273
+ end
10274
+ end
10275
+ unless params['AnyOf'].nil?
10276
+ @AnyOf = []
10277
+ params['AnyOf'].each do |i|
10278
+ parameterconfig_tmp = ParameterConfig.new
10279
+ parameterconfig_tmp.deserialize(i)
10280
+ @AnyOf << parameterconfig_tmp
10281
+ end
10282
+ end
10283
+ end
10284
+ end
10285
+
10057
10286
  # 插件参数请求结构
10058
10287
  class PluginToolReqParam < TencentCloud::Common::AbstractModel
10059
10288
  # @param Name: 参数名称
@@ -11644,6 +11873,29 @@ module TencentCloud
11644
11873
  end
11645
11874
  end
11646
11875
 
11876
+ # 结构化输出的配置项
11877
+ class StructuredOutputConfig < TencentCloud::Common::AbstractModel
11878
+ # @param StructuredOutputParams: 参数列表
11879
+ # @type StructuredOutputParams: Array
11880
+
11881
+ attr_accessor :StructuredOutputParams
11882
+
11883
+ def initialize(structuredoutputparams=nil)
11884
+ @StructuredOutputParams = structuredoutputparams
11885
+ end
11886
+
11887
+ def deserialize(params)
11888
+ unless params['StructuredOutputParams'].nil?
11889
+ @StructuredOutputParams = []
11890
+ params['StructuredOutputParams'].each do |i|
11891
+ parameterconfig_tmp = ParameterConfig.new
11892
+ parameterconfig_tmp.deserialize(i)
11893
+ @StructuredOutputParams << parameterconfig_tmp
11894
+ end
11895
+ end
11896
+ end
11897
+ end
11898
+
11647
11899
  # 知识摘要应用配置
11648
11900
  class SummaryConfig < TencentCloud::Common::AbstractModel
11649
11901
  # @param Model: 模型配置
@@ -12673,6 +12925,22 @@ module TencentCloud
12673
12925
  end
12674
12926
  end
12675
12927
 
12928
+ # //智能体应用可见范围,public-所有人可见 private-仅自己可见 share-通过分享可见
12929
+ class YuanQi < TencentCloud::Common::AbstractModel
12930
+ # @param VisibleRange: public-所有人可见
12931
+ # @type VisibleRange: String
12932
+
12933
+ attr_accessor :VisibleRange
12934
+
12935
+ def initialize(visiblerange=nil)
12936
+ @VisibleRange = visiblerange
12937
+ end
12938
+
12939
+ def deserialize(params)
12940
+ @VisibleRange = params['VisibleRange']
12941
+ end
12942
+ end
12943
+
12676
12944
  end
12677
12945
  end
12678
12946
  end
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.1142
4
+ version: 3.0.1143
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-17 00:00:00.000000000 Z
11
+ date: 2025-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common