tencentcloud-sdk-lke 3.0.1043 → 3.0.1044
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 +4 -2
- data/lib/v20231130/models.rb +74 -11
- 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: 27be82fc576bfb34e545673ea512a4a3e20d2d13
|
4
|
+
data.tar.gz: 7c4a78be7baf0c579ddb7560748b72e1fa585739
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 180957e8150de619b63ca10a0c1fb8a565d9671cba12379e68b518ef96ba5707548d5822bfedc7fd46e5b2fca281cfb073fb54990913e2389f8d1b8d956a3b46
|
7
|
+
data.tar.gz: 9947246bccb865003916f7c2133b1017f71cd666f78fd1d8e006451dcb939e3b59f77fa520b0d33c3f82529ed7a82f470205ae2b1731f136000c56d87fca6f8f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1044
|
data/lib/v20231130/client.rb
CHANGED
@@ -1187,6 +1187,7 @@ module TencentCloud
|
|
1187
1187
|
end
|
1188
1188
|
|
1189
1189
|
# 本接口(GetEmbedding)调用文本表示模型,将文本转化为用数值表示的向量形式,可用于文本检索、信息推荐、知识挖掘等场景。
|
1190
|
+
# 开通[产品体验](https://lke.cloud.tencent.com/lke/#/trialProduct)后可获得50wtoken体验额度。
|
1190
1191
|
# 本接口(GetEmbedding)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。
|
1191
1192
|
|
1192
1193
|
# @param request: Request instance for GetEmbedding.
|
@@ -1235,7 +1236,8 @@ module TencentCloud
|
|
1235
1236
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1236
1237
|
end
|
1237
1238
|
|
1238
|
-
#
|
1239
|
+
# 获取聊天历史
|
1240
|
+
# 根据会话session id获取聊天历史(仅保留180天内的历史对话数据)
|
1239
1241
|
|
1240
1242
|
# @param request: Request instance for GetMsgRecord.
|
1241
1243
|
# @type request: :class:`Tencentcloud::lke::V20231130::GetMsgRecordRequest`
|
@@ -2100,7 +2102,7 @@ module TencentCloud
|
|
2100
2102
|
end
|
2101
2103
|
|
2102
2104
|
# 多轮改写(QueryRewrite)主要用于多轮对话中,进行指代消解和省略补全。使用本接口,无需输入prompt描述,根据对话历史即可生成更精确的用户查询。在应用场景上,本接口可应用于智能问答、对话式搜索等多种场景。
|
2103
|
-
#
|
2105
|
+
# 开通[产品体验](https://lke.cloud.tencent.com/lke/#/trialProduct)后可获得50wtoken体验额度。本接口(QueryRewrite)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。
|
2104
2106
|
|
2105
2107
|
# @param request: Request instance for QueryRewrite.
|
2106
2108
|
# @type request: :class:`Tencentcloud::lke::V20231130::QueryRewriteRequest`
|
data/lib/v20231130/models.rb
CHANGED
@@ -17,6 +17,28 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Lke
|
19
19
|
module V20231130
|
20
|
+
# Agent调试信息
|
21
|
+
class AgentDebugInfo < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Input: 工具、大模型的输入信息,json
|
23
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24
|
+
# @type Input: String
|
25
|
+
# @param Output: 工具、大模型的输出信息,json
|
26
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
27
|
+
# @type Output: String
|
28
|
+
|
29
|
+
attr_accessor :Input, :Output
|
30
|
+
|
31
|
+
def initialize(input=nil, output=nil)
|
32
|
+
@Input = input
|
33
|
+
@Output = output
|
34
|
+
end
|
35
|
+
|
36
|
+
def deserialize(params)
|
37
|
+
@Input = params['Input']
|
38
|
+
@Output = params['Output']
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
20
42
|
# 思考事件过程信息
|
21
43
|
class AgentProcedure < TencentCloud::Common::AbstractModel
|
22
44
|
# @param Index: 索引
|
@@ -1580,7 +1602,7 @@ module TencentCloud
|
|
1580
1602
|
|
1581
1603
|
# CreateRelease请求参数结构体
|
1582
1604
|
class CreateReleaseRequest < TencentCloud::Common::AbstractModel
|
1583
|
-
# @param BotBizId:
|
1605
|
+
# @param BotBizId: 应用ID
|
1584
1606
|
# @type BotBizId: String
|
1585
1607
|
# @param Desc: 发布描述
|
1586
1608
|
# @type Desc: String
|
@@ -3800,6 +3822,23 @@ module TencentCloud
|
|
3800
3822
|
end
|
3801
3823
|
end
|
3802
3824
|
|
3825
|
+
# 扩展信息
|
3826
|
+
class ExtraInfo < TencentCloud::Common::AbstractModel
|
3827
|
+
# @param EChartsInfo: ECharts信息
|
3828
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3829
|
+
# @type EChartsInfo: Array
|
3830
|
+
|
3831
|
+
attr_accessor :EChartsInfo
|
3832
|
+
|
3833
|
+
def initialize(echartsinfo=nil)
|
3834
|
+
@EChartsInfo = echartsinfo
|
3835
|
+
end
|
3836
|
+
|
3837
|
+
def deserialize(params)
|
3838
|
+
@EChartsInfo = params['EChartsInfo']
|
3839
|
+
end
|
3840
|
+
end
|
3841
|
+
|
3803
3842
|
# 实时上传的文件信息
|
3804
3843
|
class FileInfo < TencentCloud::Common::AbstractModel
|
3805
3844
|
# @param FileName: 文件名称
|
@@ -4302,16 +4341,19 @@ module TencentCloud
|
|
4302
4341
|
# @type BotAppKey: String
|
4303
4342
|
# @param Scene: 场景, 体验: 1; 正式: 2
|
4304
4343
|
# @type Scene: Integer
|
4344
|
+
# @param MidRecordId: 传该值,代表拉取该记录id的前后总共count条消息记录
|
4345
|
+
# @type MidRecordId: String
|
4305
4346
|
|
4306
|
-
attr_accessor :Type, :Count, :SessionId, :LastRecordId, :BotAppKey, :Scene
|
4347
|
+
attr_accessor :Type, :Count, :SessionId, :LastRecordId, :BotAppKey, :Scene, :MidRecordId
|
4307
4348
|
|
4308
|
-
def initialize(type=nil, count=nil, sessionid=nil, lastrecordid=nil, botappkey=nil, scene=nil)
|
4349
|
+
def initialize(type=nil, count=nil, sessionid=nil, lastrecordid=nil, botappkey=nil, scene=nil, midrecordid=nil)
|
4309
4350
|
@Type = type
|
4310
4351
|
@Count = count
|
4311
4352
|
@SessionId = sessionid
|
4312
4353
|
@LastRecordId = lastrecordid
|
4313
4354
|
@BotAppKey = botappkey
|
4314
4355
|
@Scene = scene
|
4356
|
+
@MidRecordId = midrecordid
|
4315
4357
|
end
|
4316
4358
|
|
4317
4359
|
def deserialize(params)
|
@@ -4321,6 +4363,7 @@ module TencentCloud
|
|
4321
4363
|
@LastRecordId = params['LastRecordId']
|
4322
4364
|
@BotAppKey = params['BotAppKey']
|
4323
4365
|
@Scene = params['Scene']
|
4366
|
+
@MidRecordId = params['MidRecordId']
|
4324
4367
|
end
|
4325
4368
|
end
|
4326
4369
|
|
@@ -5782,10 +5825,12 @@ module TencentCloud
|
|
5782
5825
|
# @param CreateTime: 文档创建落库时间
|
5783
5826
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5784
5827
|
# @type CreateTime: String
|
5828
|
+
# @param CateBizId: 文档所属分类ID
|
5829
|
+
# @type CateBizId: String
|
5785
5830
|
|
5786
|
-
attr_accessor :DocBizId, :FileName, :NewName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :AttrRange, :AttrLabels, :IsAllowEdit, :ReferUrlType, :WebUrl, :ExpireStart, :ExpireEnd, :IsAllowRetry, :Processing, :CreateTime
|
5831
|
+
attr_accessor :DocBizId, :FileName, :NewName, :FileType, :CosUrl, :UpdateTime, :Status, :StatusDesc, :Reason, :IsRefer, :QaNum, :IsDeleted, :Source, :SourceDesc, :IsAllowRestart, :IsDeletedQa, :IsCreatingQa, :IsAllowDelete, :IsAllowRefer, :IsCreatedQa, :DocCharSize, :AttrRange, :AttrLabels, :IsAllowEdit, :ReferUrlType, :WebUrl, :ExpireStart, :ExpireEnd, :IsAllowRetry, :Processing, :CreateTime, :CateBizId
|
5787
5832
|
|
5788
|
-
def initialize(docbizid=nil, filename=nil, newname=nil, filetype=nil, cosurl=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, isrefer=nil, qanum=nil, isdeleted=nil, source=nil, sourcedesc=nil, isallowrestart=nil, isdeletedqa=nil, iscreatingqa=nil, isallowdelete=nil, isallowrefer=nil, iscreatedqa=nil, doccharsize=nil, attrrange=nil, attrlabels=nil, isallowedit=nil, referurltype=nil, weburl=nil, expirestart=nil, expireend=nil, isallowretry=nil, processing=nil, createtime=nil)
|
5833
|
+
def initialize(docbizid=nil, filename=nil, newname=nil, filetype=nil, cosurl=nil, updatetime=nil, status=nil, statusdesc=nil, reason=nil, isrefer=nil, qanum=nil, isdeleted=nil, source=nil, sourcedesc=nil, isallowrestart=nil, isdeletedqa=nil, iscreatingqa=nil, isallowdelete=nil, isallowrefer=nil, iscreatedqa=nil, doccharsize=nil, attrrange=nil, attrlabels=nil, isallowedit=nil, referurltype=nil, weburl=nil, expirestart=nil, expireend=nil, isallowretry=nil, processing=nil, createtime=nil, catebizid=nil)
|
5789
5834
|
@DocBizId = docbizid
|
5790
5835
|
@FileName = filename
|
5791
5836
|
@NewName = newname
|
@@ -5817,6 +5862,7 @@ module TencentCloud
|
|
5817
5862
|
@IsAllowRetry = isallowretry
|
5818
5863
|
@Processing = processing
|
5819
5864
|
@CreateTime = createtime
|
5865
|
+
@CateBizId = catebizid
|
5820
5866
|
end
|
5821
5867
|
|
5822
5868
|
def deserialize(params)
|
@@ -5858,6 +5904,7 @@ module TencentCloud
|
|
5858
5904
|
@IsAllowRetry = params['IsAllowRetry']
|
5859
5905
|
@Processing = params['Processing']
|
5860
5906
|
@CreateTime = params['CreateTime']
|
5907
|
+
@CateBizId = params['CateBizId']
|
5861
5908
|
end
|
5862
5909
|
end
|
5863
5910
|
|
@@ -6399,7 +6446,7 @@ module TencentCloud
|
|
6399
6446
|
|
6400
6447
|
# ListReleaseConfigPreview请求参数结构体
|
6401
6448
|
class ListReleaseConfigPreviewRequest < TencentCloud::Common::AbstractModel
|
6402
|
-
# @param BotBizId:
|
6449
|
+
# @param BotBizId: 应用ID
|
6403
6450
|
# @type BotBizId: String
|
6404
6451
|
# @param PageNumber: 页码
|
6405
6452
|
# @type PageNumber: Integer
|
@@ -7718,10 +7765,13 @@ module TencentCloud
|
|
7718
7765
|
# @param AgentThought: Agent的思考过程信息
|
7719
7766
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7720
7767
|
# @type AgentThought: :class:`Tencentcloud::Lke.v20231130.models.AgentThought`
|
7768
|
+
# @param ExtraInfo: 扩展信息
|
7769
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7770
|
+
# @type ExtraInfo: :class:`Tencentcloud::Lke.v20231130.models.ExtraInfo`
|
7721
7771
|
|
7722
|
-
attr_accessor :Content, :SessionId, :RecordId, :RelatedRecordId, :IsFromSelf, :FromName, :FromAvatar, :Timestamp, :HasRead, :Score, :CanRating, :CanFeedback, :Type, :References, :Reasons, :IsLlmGenerated, :ImageUrls, :TokenStat, :ReplyMethod, :OptionCards, :TaskFlow, :FileInfos, :QuoteInfos, :AgentThought
|
7772
|
+
attr_accessor :Content, :SessionId, :RecordId, :RelatedRecordId, :IsFromSelf, :FromName, :FromAvatar, :Timestamp, :HasRead, :Score, :CanRating, :CanFeedback, :Type, :References, :Reasons, :IsLlmGenerated, :ImageUrls, :TokenStat, :ReplyMethod, :OptionCards, :TaskFlow, :FileInfos, :QuoteInfos, :AgentThought, :ExtraInfo
|
7723
7773
|
|
7724
|
-
def initialize(content=nil, sessionid=nil, recordid=nil, relatedrecordid=nil, isfromself=nil, fromname=nil, fromavatar=nil, timestamp=nil, hasread=nil, score=nil, canrating=nil, canfeedback=nil, type=nil, references=nil, reasons=nil, isllmgenerated=nil, imageurls=nil, tokenstat=nil, replymethod=nil, optioncards=nil, taskflow=nil, fileinfos=nil, quoteinfos=nil, agentthought=nil)
|
7774
|
+
def initialize(content=nil, sessionid=nil, recordid=nil, relatedrecordid=nil, isfromself=nil, fromname=nil, fromavatar=nil, timestamp=nil, hasread=nil, score=nil, canrating=nil, canfeedback=nil, type=nil, references=nil, reasons=nil, isllmgenerated=nil, imageurls=nil, tokenstat=nil, replymethod=nil, optioncards=nil, taskflow=nil, fileinfos=nil, quoteinfos=nil, agentthought=nil, extrainfo=nil)
|
7725
7775
|
@Content = content
|
7726
7776
|
@SessionId = sessionid
|
7727
7777
|
@RecordId = recordid
|
@@ -7746,6 +7796,7 @@ module TencentCloud
|
|
7746
7796
|
@FileInfos = fileinfos
|
7747
7797
|
@QuoteInfos = quoteinfos
|
7748
7798
|
@AgentThought = agentthought
|
7799
|
+
@ExtraInfo = extrainfo
|
7749
7800
|
end
|
7750
7801
|
|
7751
7802
|
def deserialize(params)
|
@@ -7803,6 +7854,10 @@ module TencentCloud
|
|
7803
7854
|
@AgentThought = AgentThought.new
|
7804
7855
|
@AgentThought.deserialize(params['AgentThought'])
|
7805
7856
|
end
|
7857
|
+
unless params['ExtraInfo'].nil?
|
7858
|
+
@ExtraInfo = ExtraInfo.new
|
7859
|
+
@ExtraInfo.deserialize(params['ExtraInfo'])
|
7860
|
+
end
|
7806
7861
|
end
|
7807
7862
|
end
|
7808
7863
|
|
@@ -8023,16 +8078,20 @@ module TencentCloud
|
|
8023
8078
|
# @param WorkFlow: 工作流调试信息
|
8024
8079
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8025
8080
|
# @type WorkFlow: :class:`Tencentcloud::Lke.v20231130.models.WorkFlowSummary`
|
8081
|
+
# @param Agent: Agent调试信息
|
8082
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8083
|
+
# @type Agent: :class:`Tencentcloud::Lke.v20231130.models.AgentDebugInfo`
|
8026
8084
|
|
8027
|
-
attr_accessor :Content, :System, :Histories, :Knowledge, :TaskFlow, :WorkFlow
|
8085
|
+
attr_accessor :Content, :System, :Histories, :Knowledge, :TaskFlow, :WorkFlow, :Agent
|
8028
8086
|
|
8029
|
-
def initialize(content=nil, system=nil, histories=nil, knowledge=nil, taskflow=nil, workflow=nil)
|
8087
|
+
def initialize(content=nil, system=nil, histories=nil, knowledge=nil, taskflow=nil, workflow=nil, agent=nil)
|
8030
8088
|
@Content = content
|
8031
8089
|
@System = system
|
8032
8090
|
@Histories = histories
|
8033
8091
|
@Knowledge = knowledge
|
8034
8092
|
@TaskFlow = taskflow
|
8035
8093
|
@WorkFlow = workflow
|
8094
|
+
@Agent = agent
|
8036
8095
|
end
|
8037
8096
|
|
8038
8097
|
def deserialize(params)
|
@@ -8062,6 +8121,10 @@ module TencentCloud
|
|
8062
8121
|
@WorkFlow = WorkFlowSummary.new
|
8063
8122
|
@WorkFlow.deserialize(params['WorkFlow'])
|
8064
8123
|
end
|
8124
|
+
unless params['Agent'].nil?
|
8125
|
+
@Agent = AgentDebugInfo.new
|
8126
|
+
@Agent.deserialize(params['Agent'])
|
8127
|
+
end
|
8065
8128
|
end
|
8066
8129
|
end
|
8067
8130
|
|
@@ -8221,7 +8284,7 @@ module TencentCloud
|
|
8221
8284
|
class QueryRewriteRequest < TencentCloud::Common::AbstractModel
|
8222
8285
|
# @param Question: 需要改写的问题
|
8223
8286
|
# @type Question: String
|
8224
|
-
# @param Messages:
|
8287
|
+
# @param Messages: 需要改写的多轮历史会话,每轮历史对话需要包含user(问)和assistant(答)成对输入,由于模型字符限制,最多提供4轮对话。
|
8225
8288
|
# @type Messages: Array
|
8226
8289
|
# @param Model: 模型名称
|
8227
8290
|
# @type Model: String
|
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.1044
|
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-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|