tencentcloud-sdk-lke 3.0.1094 → 3.0.1101

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.
@@ -202,6 +202,49 @@ module TencentCloud
202
202
  end
203
203
  end
204
204
 
205
+ # Agent 知识库检索插件支持多知识库搜索
206
+ class AgentKnowledge < TencentCloud::Common::AbstractModel
207
+ # @param KnowledgeBizId: 知识库id
208
+ # @type KnowledgeBizId: String
209
+ # @param KnowledgeType: 0-应用内知识库
210
+ # 1-共享知识库
211
+ # @type KnowledgeType: Integer
212
+ # @param Filter: 0-全部知识
213
+ # 1-按文档和问答
214
+ # 2-按标签
215
+ # @type Filter: Integer
216
+ # @param DocBizIds: 文档id
217
+ # @type DocBizIds: Array
218
+ # @param AllQa: true:包含所有问答
219
+ # false:不包含问答
220
+ # @type AllQa: Boolean
221
+ # @param Tag: 文档标签过滤器
222
+ # @type Tag: :class:`Tencentcloud::Lke.v20231130.models.AgentKnowledgeFilterTag`
223
+
224
+ attr_accessor :KnowledgeBizId, :KnowledgeType, :Filter, :DocBizIds, :AllQa, :Tag
225
+
226
+ def initialize(knowledgebizid=nil, knowledgetype=nil, filter=nil, docbizids=nil, allqa=nil, tag=nil)
227
+ @KnowledgeBizId = knowledgebizid
228
+ @KnowledgeType = knowledgetype
229
+ @Filter = filter
230
+ @DocBizIds = docbizids
231
+ @AllQa = allqa
232
+ @Tag = tag
233
+ end
234
+
235
+ def deserialize(params)
236
+ @KnowledgeBizId = params['KnowledgeBizId']
237
+ @KnowledgeType = params['KnowledgeType']
238
+ @Filter = params['Filter']
239
+ @DocBizIds = params['DocBizIds']
240
+ @AllQa = params['AllQa']
241
+ unless params['Tag'].nil?
242
+ @Tag = AgentKnowledgeFilterTag.new
243
+ @Tag.deserialize(params['Tag'])
244
+ end
245
+ end
246
+ end
247
+
205
248
  # 标签过滤器
206
249
  class AgentKnowledgeAttrLabel < TencentCloud::Common::AbstractModel
207
250
  # @param AttributeBizId: 属性ID
@@ -237,13 +280,19 @@ module TencentCloud
237
280
  # @type DocAndAnswer: :class:`Tencentcloud::Lke.v20231130.models.AgentKnowledgeFilterDocAndAnswer`
238
281
  # @param Tag: 标签过滤器
239
282
  # @type Tag: :class:`Tencentcloud::Lke.v20231130.models.AgentKnowledgeFilterTag`
283
+ # @param KnowledgeList: 知识库列表
284
+ # @type KnowledgeList: Array
285
+ # @param AllKnowledge: 是否检索全部知识
286
+ # @type AllKnowledge: Boolean
240
287
 
241
- attr_accessor :FilterType, :DocAndAnswer, :Tag
288
+ attr_accessor :FilterType, :DocAndAnswer, :Tag, :KnowledgeList, :AllKnowledge
242
289
 
243
- def initialize(filtertype=nil, docandanswer=nil, tag=nil)
290
+ def initialize(filtertype=nil, docandanswer=nil, tag=nil, knowledgelist=nil, allknowledge=nil)
244
291
  @FilterType = filtertype
245
292
  @DocAndAnswer = docandanswer
246
293
  @Tag = tag
294
+ @KnowledgeList = knowledgelist
295
+ @AllKnowledge = allknowledge
247
296
  end
248
297
 
249
298
  def deserialize(params)
@@ -256,6 +305,15 @@ module TencentCloud
256
305
  @Tag = AgentKnowledgeFilterTag.new
257
306
  @Tag.deserialize(params['Tag'])
258
307
  end
308
+ unless params['KnowledgeList'].nil?
309
+ @KnowledgeList = []
310
+ params['KnowledgeList'].each do |i|
311
+ agentknowledge_tmp = AgentKnowledge.new
312
+ agentknowledge_tmp.deserialize(i)
313
+ @KnowledgeList << agentknowledge_tmp
314
+ end
315
+ end
316
+ @AllKnowledge = params['AllKnowledge']
259
317
  end
260
318
  end
261
319
 
@@ -378,10 +436,12 @@ module TencentCloud
378
436
  # @type ModelContextWordsLimit: String
379
437
  # @param InstructionsWordsLimit: 指令长度字符限制
380
438
  # @type InstructionsWordsLimit: Integer
439
+ # @param MaxReasoningRound: 单次会话最大推理轮数
440
+ # @type MaxReasoningRound: Integer
381
441
 
382
- attr_accessor :ModelName, :ModelAliasName, :Temperature, :TopP, :IsEnabled, :HistoryLimit, :ModelContextWordsLimit, :InstructionsWordsLimit
442
+ attr_accessor :ModelName, :ModelAliasName, :Temperature, :TopP, :IsEnabled, :HistoryLimit, :ModelContextWordsLimit, :InstructionsWordsLimit, :MaxReasoningRound
383
443
 
384
- def initialize(modelname=nil, modelaliasname=nil, temperature=nil, topp=nil, isenabled=nil, historylimit=nil, modelcontextwordslimit=nil, instructionswordslimit=nil)
444
+ def initialize(modelname=nil, modelaliasname=nil, temperature=nil, topp=nil, isenabled=nil, historylimit=nil, modelcontextwordslimit=nil, instructionswordslimit=nil, maxreasoninground=nil)
385
445
  @ModelName = modelname
386
446
  @ModelAliasName = modelaliasname
387
447
  @Temperature = temperature
@@ -390,6 +450,7 @@ module TencentCloud
390
450
  @HistoryLimit = historylimit
391
451
  @ModelContextWordsLimit = modelcontextwordslimit
392
452
  @InstructionsWordsLimit = instructionswordslimit
453
+ @MaxReasoningRound = maxreasoninground
393
454
  end
394
455
 
395
456
  def deserialize(params)
@@ -401,6 +462,7 @@ module TencentCloud
401
462
  @HistoryLimit = params['HistoryLimit']
402
463
  @ModelContextWordsLimit = params['ModelContextWordsLimit']
403
464
  @InstructionsWordsLimit = params['InstructionsWordsLimit']
465
+ @MaxReasoningRound = params['MaxReasoningRound']
404
466
  end
405
467
  end
406
468
 
@@ -1411,6 +1473,38 @@ module TencentCloud
1411
1473
  end
1412
1474
  end
1413
1475
 
1476
+ # 背景图相关配置
1477
+ class BackgroundImageConfig < TencentCloud::Common::AbstractModel
1478
+ # @param LandscapeImageUrl: 横图(pc)
1479
+ # @type LandscapeImageUrl: String
1480
+ # @param OriginalImageUrl: 原始图
1481
+ # @type OriginalImageUrl: String
1482
+ # @param PortraitImageUrl: 长图(手机)
1483
+ # @type PortraitImageUrl: String
1484
+ # @param ThemeColor: 主题色
1485
+ # @type ThemeColor: String
1486
+ # @param Brightness: 亮度值
1487
+ # @type Brightness: Integer
1488
+
1489
+ attr_accessor :LandscapeImageUrl, :OriginalImageUrl, :PortraitImageUrl, :ThemeColor, :Brightness
1490
+
1491
+ def initialize(landscapeimageurl=nil, originalimageurl=nil, portraitimageurl=nil, themecolor=nil, brightness=nil)
1492
+ @LandscapeImageUrl = landscapeimageurl
1493
+ @OriginalImageUrl = originalimageurl
1494
+ @PortraitImageUrl = portraitimageurl
1495
+ @ThemeColor = themecolor
1496
+ @Brightness = brightness
1497
+ end
1498
+
1499
+ def deserialize(params)
1500
+ @LandscapeImageUrl = params['LandscapeImageUrl']
1501
+ @OriginalImageUrl = params['OriginalImageUrl']
1502
+ @PortraitImageUrl = params['PortraitImageUrl']
1503
+ @ThemeColor = params['ThemeColor']
1504
+ @Brightness = params['Brightness']
1505
+ end
1506
+ end
1507
+
1414
1508
  # 应用基础配置
1415
1509
  class BaseConfig < TencentCloud::Common::AbstractModel
1416
1510
  # @param Name: 应用名称
@@ -1810,83 +1904,6 @@ module TencentCloud
1810
1904
  end
1811
1905
  end
1812
1906
 
1813
- # ConvertDocument请求参数结构体
1814
- class ConvertDocumentRequest < TencentCloud::Common::AbstractModel
1815
- # @param FileUrl: 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1816
- # @type FileUrl: String
1817
- # @param FileBase64: 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1818
- # @type FileBase64: String
1819
- # @param FileStartPageNumber: 当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的起始页码,识别的页码包含当前值。
1820
- # @type FileStartPageNumber: Integer
1821
- # @param FileEndPageNumber: 当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的结束页码,识别的页码包含当前值。
1822
- # 建议一次请求的页面不超过3页。
1823
- # @type FileEndPageNumber: Integer
1824
-
1825
- attr_accessor :FileUrl, :FileBase64, :FileStartPageNumber, :FileEndPageNumber
1826
-
1827
- def initialize(fileurl=nil, filebase64=nil, filestartpagenumber=nil, fileendpagenumber=nil)
1828
- @FileUrl = fileurl
1829
- @FileBase64 = filebase64
1830
- @FileStartPageNumber = filestartpagenumber
1831
- @FileEndPageNumber = fileendpagenumber
1832
- end
1833
-
1834
- def deserialize(params)
1835
- @FileUrl = params['FileUrl']
1836
- @FileBase64 = params['FileBase64']
1837
- @FileStartPageNumber = params['FileStartPageNumber']
1838
- @FileEndPageNumber = params['FileEndPageNumber']
1839
- end
1840
- end
1841
-
1842
- # ConvertDocument返回参数结构体
1843
- class ConvertDocumentResponse < TencentCloud::Common::AbstractModel
1844
- # @param WordRecognizeInfo: 识别生成的word文件base64编码的字符串
1845
- # 注意:此字段可能返回 null,表示取不到有效值。
1846
- # @type WordRecognizeInfo: Array
1847
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1848
- # @type RequestId: String
1849
-
1850
- attr_accessor :WordRecognizeInfo, :RequestId
1851
-
1852
- def initialize(wordrecognizeinfo=nil, requestid=nil)
1853
- @WordRecognizeInfo = wordrecognizeinfo
1854
- @RequestId = requestid
1855
- end
1856
-
1857
- def deserialize(params)
1858
- unless params['WordRecognizeInfo'].nil?
1859
- @WordRecognizeInfo = []
1860
- params['WordRecognizeInfo'].each do |i|
1861
- wordrecognizeinfo_tmp = WordRecognizeInfo.new
1862
- wordrecognizeinfo_tmp.deserialize(i)
1863
- @WordRecognizeInfo << wordrecognizeinfo_tmp
1864
- end
1865
- end
1866
- @RequestId = params['RequestId']
1867
- end
1868
- end
1869
-
1870
- # 坐标
1871
- class Coord < TencentCloud::Common::AbstractModel
1872
- # @param X: 横坐标
1873
- # @type X: Integer
1874
- # @param Y: 纵坐标
1875
- # @type Y: Integer
1876
-
1877
- attr_accessor :X, :Y
1878
-
1879
- def initialize(x=nil, y=nil)
1880
- @X = x
1881
- @Y = y
1882
- end
1883
-
1884
- def deserialize(params)
1885
- @X = params['X']
1886
- @Y = params['Y']
1887
- end
1888
- end
1889
-
1890
1907
  # CreateAgent请求参数结构体
1891
1908
  class CreateAgentRequest < TencentCloud::Common::AbstractModel
1892
1909
  # @param AppBizId: 应用ID
@@ -2046,54 +2063,6 @@ module TencentCloud
2046
2063
  end
2047
2064
  end
2048
2065
 
2049
- # CreateCorp请求参数结构体
2050
- class CreateCorpRequest < TencentCloud::Common::AbstractModel
2051
- # @param FullName: 企业全称
2052
- # @type FullName: String
2053
- # @param ContactName: 联系人名称
2054
- # @type ContactName: String
2055
- # @param Email: 联系人邮箱
2056
- # @type Email: String
2057
- # @param Telephone: 联系人手机号
2058
- # @type Telephone: String
2059
-
2060
- attr_accessor :FullName, :ContactName, :Email, :Telephone
2061
-
2062
- def initialize(fullname=nil, contactname=nil, email=nil, telephone=nil)
2063
- @FullName = fullname
2064
- @ContactName = contactname
2065
- @Email = email
2066
- @Telephone = telephone
2067
- end
2068
-
2069
- def deserialize(params)
2070
- @FullName = params['FullName']
2071
- @ContactName = params['ContactName']
2072
- @Email = params['Email']
2073
- @Telephone = params['Telephone']
2074
- end
2075
- end
2076
-
2077
- # CreateCorp返回参数结构体
2078
- class CreateCorpResponse < TencentCloud::Common::AbstractModel
2079
- # @param CorpBizId: 企业ID
2080
- # @type CorpBizId: String
2081
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2082
- # @type RequestId: String
2083
-
2084
- attr_accessor :CorpBizId, :RequestId
2085
-
2086
- def initialize(corpbizid=nil, requestid=nil)
2087
- @CorpBizId = corpbizid
2088
- @RequestId = requestid
2089
- end
2090
-
2091
- def deserialize(params)
2092
- @CorpBizId = params['CorpBizId']
2093
- @RequestId = params['RequestId']
2094
- end
2095
- end
2096
-
2097
2066
  # CreateDocCate请求参数结构体
2098
2067
  class CreateDocCateRequest < TencentCloud::Common::AbstractModel
2099
2068
  # @param BotBizId: 应用ID
@@ -2345,17 +2314,21 @@ module TencentCloud
2345
2314
  # @type BotBizId: String
2346
2315
  # @param Desc: 发布描述
2347
2316
  # @type Desc: String
2317
+ # @param ChannelBizIds: 渠道业务ID
2318
+ # @type ChannelBizIds: Array
2348
2319
 
2349
- attr_accessor :BotBizId, :Desc
2320
+ attr_accessor :BotBizId, :Desc, :ChannelBizIds
2350
2321
 
2351
- def initialize(botbizid=nil, desc=nil)
2322
+ def initialize(botbizid=nil, desc=nil, channelbizids=nil)
2352
2323
  @BotBizId = botbizid
2353
2324
  @Desc = desc
2325
+ @ChannelBizIds = channelbizids
2354
2326
  end
2355
2327
 
2356
2328
  def deserialize(params)
2357
2329
  @BotBizId = params['BotBizId']
2358
2330
  @Desc = params['Desc']
2331
+ @ChannelBizIds = params['ChannelBizIds']
2359
2332
  end
2360
2333
  end
2361
2334
 
@@ -3088,12 +3061,14 @@ module TencentCloud
3088
3061
  # @type AppStatusDesc: String
3089
3062
  # @param IsCopying: 应用是否在复制中
3090
3063
  # @type IsCopying: Boolean
3064
+ # @param AgentType: 智能体类型 dialogue 对话式智能体,wechat 公众号智能体
3065
+ # @type AgentType: String
3091
3066
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3092
3067
  # @type RequestId: String
3093
3068
 
3094
- attr_accessor :AppBizId, :AppType, :AppTypeDesc, :BaseConfig, :AppConfig, :AvatarInAppeal, :RoleInAppeal, :NameInAppeal, :GreetingInAppeal, :BareAnswerInAppeal, :AppKey, :AppStatus, :AppStatusDesc, :IsCopying, :RequestId
3069
+ attr_accessor :AppBizId, :AppType, :AppTypeDesc, :BaseConfig, :AppConfig, :AvatarInAppeal, :RoleInAppeal, :NameInAppeal, :GreetingInAppeal, :BareAnswerInAppeal, :AppKey, :AppStatus, :AppStatusDesc, :IsCopying, :AgentType, :RequestId
3095
3070
 
3096
- def initialize(appbizid=nil, apptype=nil, apptypedesc=nil, baseconfig=nil, appconfig=nil, avatarinappeal=nil, roleinappeal=nil, nameinappeal=nil, greetinginappeal=nil, bareanswerinappeal=nil, appkey=nil, appstatus=nil, appstatusdesc=nil, iscopying=nil, requestid=nil)
3071
+ def initialize(appbizid=nil, apptype=nil, apptypedesc=nil, baseconfig=nil, appconfig=nil, avatarinappeal=nil, roleinappeal=nil, nameinappeal=nil, greetinginappeal=nil, bareanswerinappeal=nil, appkey=nil, appstatus=nil, appstatusdesc=nil, iscopying=nil, agenttype=nil, requestid=nil)
3097
3072
  @AppBizId = appbizid
3098
3073
  @AppType = apptype
3099
3074
  @AppTypeDesc = apptypedesc
@@ -3108,6 +3083,7 @@ module TencentCloud
3108
3083
  @AppStatus = appstatus
3109
3084
  @AppStatusDesc = appstatusdesc
3110
3085
  @IsCopying = iscopying
3086
+ @AgentType = agenttype
3111
3087
  @RequestId = requestid
3112
3088
  end
3113
3089
 
@@ -3132,6 +3108,7 @@ module TencentCloud
3132
3108
  @AppStatus = params['AppStatus']
3133
3109
  @AppStatusDesc = params['AppStatusDesc']
3134
3110
  @IsCopying = params['IsCopying']
3111
+ @AgentType = params['AgentType']
3135
3112
  @RequestId = params['RequestId']
3136
3113
  end
3137
3114
  end
@@ -3431,61 +3408,6 @@ module TencentCloud
3431
3408
  end
3432
3409
  end
3433
3410
 
3434
- # DescribeCorp请求参数结构体
3435
- class DescribeCorpRequest < TencentCloud::Common::AbstractModel
3436
-
3437
-
3438
- def initialize()
3439
- end
3440
-
3441
- def deserialize(params)
3442
- end
3443
- end
3444
-
3445
- # DescribeCorp返回参数结构体
3446
- class DescribeCorpResponse < TencentCloud::Common::AbstractModel
3447
- # @param CorpBizId: 企业ID
3448
- # @type CorpBizId: String
3449
- # @param RobotQuota: 应用配额
3450
- # @type RobotQuota: Integer
3451
- # @param FullName: 企业全称
3452
- # @type FullName: String
3453
- # @param IsTrial: 是否试用
3454
- # @type IsTrial: Boolean
3455
- # @param IsTrialExpired: 是否试用过期
3456
- # @type IsTrialExpired: Boolean
3457
- # @param AvailableAppQuota: 可用应用数量
3458
- # @type AvailableAppQuota: Integer
3459
- # @param IsSupportCustomModel: 是否支持自定义模型配置
3460
- # @type IsSupportCustomModel: Boolean
3461
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3462
- # @type RequestId: String
3463
-
3464
- attr_accessor :CorpBizId, :RobotQuota, :FullName, :IsTrial, :IsTrialExpired, :AvailableAppQuota, :IsSupportCustomModel, :RequestId
3465
-
3466
- def initialize(corpbizid=nil, robotquota=nil, fullname=nil, istrial=nil, istrialexpired=nil, availableappquota=nil, issupportcustommodel=nil, requestid=nil)
3467
- @CorpBizId = corpbizid
3468
- @RobotQuota = robotquota
3469
- @FullName = fullname
3470
- @IsTrial = istrial
3471
- @IsTrialExpired = istrialexpired
3472
- @AvailableAppQuota = availableappquota
3473
- @IsSupportCustomModel = issupportcustommodel
3474
- @RequestId = requestid
3475
- end
3476
-
3477
- def deserialize(params)
3478
- @CorpBizId = params['CorpBizId']
3479
- @RobotQuota = params['RobotQuota']
3480
- @FullName = params['FullName']
3481
- @IsTrial = params['IsTrial']
3482
- @IsTrialExpired = params['IsTrialExpired']
3483
- @AvailableAppQuota = params['AvailableAppQuota']
3484
- @IsSupportCustomModel = params['IsSupportCustomModel']
3485
- @RequestId = params['RequestId']
3486
- end
3487
- end
3488
-
3489
3411
  # DescribeDoc请求参数结构体
3490
3412
  class DescribeDocRequest < TencentCloud::Common::AbstractModel
3491
3413
  # @param BotBizId: 应用ID
@@ -4755,10 +4677,12 @@ module TencentCloud
4755
4677
  # @type DocUrl: String
4756
4678
  # @param WebUrl: 文档的自定义链接
4757
4679
  # @type WebUrl: String
4680
+ # @param PageInfos: 页码信息
4681
+ # @type PageInfos: Array
4758
4682
 
4759
- attr_accessor :Id, :BusinessId, :FileType, :SegmentType, :Title, :PageContent, :OrgData, :DocId, :DocBizId, :DocUrl, :WebUrl
4683
+ attr_accessor :Id, :BusinessId, :FileType, :SegmentType, :Title, :PageContent, :OrgData, :DocId, :DocBizId, :DocUrl, :WebUrl, :PageInfos
4760
4684
 
4761
- def initialize(id=nil, businessid=nil, filetype=nil, segmenttype=nil, title=nil, pagecontent=nil, orgdata=nil, docid=nil, docbizid=nil, docurl=nil, weburl=nil)
4685
+ def initialize(id=nil, businessid=nil, filetype=nil, segmenttype=nil, title=nil, pagecontent=nil, orgdata=nil, docid=nil, docbizid=nil, docurl=nil, weburl=nil, pageinfos=nil)
4762
4686
  @Id = id
4763
4687
  @BusinessId = businessid
4764
4688
  @FileType = filetype
@@ -4770,6 +4694,7 @@ module TencentCloud
4770
4694
  @DocBizId = docbizid
4771
4695
  @DocUrl = docurl
4772
4696
  @WebUrl = weburl
4697
+ @PageInfos = pageinfos
4773
4698
  end
4774
4699
 
4775
4700
  def deserialize(params)
@@ -4784,143 +4709,7 @@ module TencentCloud
4784
4709
  @DocBizId = params['DocBizId']
4785
4710
  @DocUrl = params['DocUrl']
4786
4711
  @WebUrl = params['WebUrl']
4787
- end
4788
- end
4789
-
4790
- # 文档元素字段
4791
- class DocumentElement < TencentCloud::Common::AbstractModel
4792
- # @param Index: 文档元素索引
4793
- # 注意:此字段可能返回 null,表示取不到有效值。
4794
- # @type Index: Integer
4795
- # @param Type: 元素类型,包括paragraph、table、formula、figure、title、header、footer、figure_text
4796
-
4797
- # 注意:此字段可能返回 null,表示取不到有效值。
4798
- # @type Type: String
4799
- # @param Text: 元素内容,当type为figure或formula(公式识别关闭)时该字段内容为图片的位置
4800
-
4801
- # 注意:此字段可能返回 null,表示取不到有效值。
4802
- # @type Text: String
4803
- # @param Polygon: 元素坐标,左上角(x1, y1),右上角(x2, y2),右下角(x3, y3),左下角(x4, y4)
4804
-
4805
- # 注意:此字段可能返回 null,表示取不到有效值。
4806
- # @type Polygon: :class:`Tencentcloud::Lke.v20231130.models.Polygon`
4807
- # @param Level: 元素层级
4808
- # 注意:此字段可能返回 null,表示取不到有效值。
4809
- # @type Level: Integer
4810
- # @param InsetImageName: 入参开启EnableInsetImage后返回,表示在InsetImagePackage中的内嵌图片名称
4811
- # 注意:此字段可能返回 null,表示取不到有效值。
4812
- # @type InsetImageName: String
4813
- # @param Elements: 嵌套的文档元素信息,一般包含的是文档内嵌入图片的文字识别结果
4814
- # 注意:此字段可能返回 null,表示取不到有效值。
4815
- # @type Elements: Array
4816
-
4817
- attr_accessor :Index, :Type, :Text, :Polygon, :Level, :InsetImageName, :Elements
4818
-
4819
- def initialize(index=nil, type=nil, text=nil, polygon=nil, level=nil, insetimagename=nil, elements=nil)
4820
- @Index = index
4821
- @Type = type
4822
- @Text = text
4823
- @Polygon = polygon
4824
- @Level = level
4825
- @InsetImageName = insetimagename
4826
- @Elements = elements
4827
- end
4828
-
4829
- def deserialize(params)
4830
- @Index = params['Index']
4831
- @Type = params['Type']
4832
- @Text = params['Text']
4833
- unless params['Polygon'].nil?
4834
- @Polygon = Polygon.new
4835
- @Polygon.deserialize(params['Polygon'])
4836
- end
4837
- @Level = params['Level']
4838
- @InsetImageName = params['InsetImageName']
4839
- unless params['Elements'].nil?
4840
- @Elements = []
4841
- params['Elements'].each do |i|
4842
- documentelement_tmp = DocumentElement.new
4843
- documentelement_tmp.deserialize(i)
4844
- @Elements << documentelement_tmp
4845
- end
4846
- end
4847
- end
4848
- end
4849
-
4850
- # 单页文档识别的内容
4851
- class DocumentRecognizeInfo < TencentCloud::Common::AbstractModel
4852
- # @param PageNumber: 输入PDF文件的页码,从1开始。输入图片的话值始终为1
4853
- # 注意:此字段可能返回 null,表示取不到有效值。
4854
- # @type PageNumber: Integer
4855
- # @param Angle: 旋转角度
4856
-
4857
- # 注意:此字段可能返回 null,表示取不到有效值。
4858
- # @type Angle: Integer
4859
- # @param Height: AI算法识别处理后的图片高度
4860
- # 注意:此字段可能返回 null,表示取不到有效值。
4861
- # @type Height: Integer
4862
- # @param Width: AI算法识别处理后的图片宽度
4863
- # 注意:此字段可能返回 null,表示取不到有效值。
4864
- # @type Width: Integer
4865
- # @param OriginHeight: 图片的原始高度,输入PDF文件则表示单页PDF转图片之后的图片高度
4866
- # 注意:此字段可能返回 null,表示取不到有效值。
4867
- # @type OriginHeight: Integer
4868
- # @param OriginWidth: 图片的原始宽度,输入PDF文件则表示单页PDF转图片之后的图片宽度
4869
- # 注意:此字段可能返回 null,表示取不到有效值。
4870
- # @type OriginWidth: Integer
4871
- # @param Elements: 文档元素信息
4872
- # 注意:此字段可能返回 null,表示取不到有效值。
4873
- # @type Elements: Array
4874
- # @param RotatedAngle: 旋转角度
4875
-
4876
- # 注意:此字段可能返回 null,表示取不到有效值。
4877
- # @type RotatedAngle: Float
4878
-
4879
- attr_accessor :PageNumber, :Angle, :Height, :Width, :OriginHeight, :OriginWidth, :Elements, :RotatedAngle
4880
-
4881
- def initialize(pagenumber=nil, angle=nil, height=nil, width=nil, originheight=nil, originwidth=nil, elements=nil, rotatedangle=nil)
4882
- @PageNumber = pagenumber
4883
- @Angle = angle
4884
- @Height = height
4885
- @Width = width
4886
- @OriginHeight = originheight
4887
- @OriginWidth = originwidth
4888
- @Elements = elements
4889
- @RotatedAngle = rotatedangle
4890
- end
4891
-
4892
- def deserialize(params)
4893
- @PageNumber = params['PageNumber']
4894
- @Angle = params['Angle']
4895
- @Height = params['Height']
4896
- @Width = params['Width']
4897
- @OriginHeight = params['OriginHeight']
4898
- @OriginWidth = params['OriginWidth']
4899
- unless params['Elements'].nil?
4900
- @Elements = []
4901
- params['Elements'].each do |i|
4902
- documentelement_tmp = DocumentElement.new
4903
- documentelement_tmp.deserialize(i)
4904
- @Elements << documentelement_tmp
4905
- end
4906
- end
4907
- @RotatedAngle = params['RotatedAngle']
4908
- end
4909
- end
4910
-
4911
- # 向量
4912
- class EmbeddingObject < TencentCloud::Common::AbstractModel
4913
- # @param Embedding: 向量
4914
- # @type Embedding: Array
4915
-
4916
- attr_accessor :Embedding
4917
-
4918
- def initialize(embedding=nil)
4919
- @Embedding = embedding
4920
- end
4921
-
4922
- def deserialize(params)
4923
- @Embedding = params['Embedding']
4712
+ @PageInfos = params['PageInfos']
4924
4713
  end
4925
4714
  end
4926
4715
 
@@ -5450,64 +5239,6 @@ module TencentCloud
5450
5239
  end
5451
5240
  end
5452
5241
 
5453
- # GetEmbedding请求参数结构体
5454
- class GetEmbeddingRequest < TencentCloud::Common::AbstractModel
5455
- # @param Model: 模型名称
5456
- # @type Model: String
5457
- # @param Inputs: 需要 embedding 的文本, 单条文本最大长度500个字符, 总条数最大7条
5458
- # @type Inputs: Array
5459
- # @param Online: 是否在线, 后台异步任务使用离线, 实时任务使用在线, 默认值: false
5460
- # @type Online: Boolean
5461
-
5462
- attr_accessor :Model, :Inputs, :Online
5463
-
5464
- def initialize(model=nil, inputs=nil, online=nil)
5465
- @Model = model
5466
- @Inputs = inputs
5467
- @Online = online
5468
- end
5469
-
5470
- def deserialize(params)
5471
- @Model = params['Model']
5472
- @Inputs = params['Inputs']
5473
- @Online = params['Online']
5474
- end
5475
- end
5476
-
5477
- # GetEmbedding返回参数结构体
5478
- class GetEmbeddingResponse < TencentCloud::Common::AbstractModel
5479
- # @param Data: 特征
5480
- # @type Data: Array
5481
- # @param Usage: 消耗量,返回TotalToken
5482
- # @type Usage: :class:`Tencentcloud::Lke.v20231130.models.Usage`
5483
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5484
- # @type RequestId: String
5485
-
5486
- attr_accessor :Data, :Usage, :RequestId
5487
-
5488
- def initialize(data=nil, usage=nil, requestid=nil)
5489
- @Data = data
5490
- @Usage = usage
5491
- @RequestId = requestid
5492
- end
5493
-
5494
- def deserialize(params)
5495
- unless params['Data'].nil?
5496
- @Data = []
5497
- params['Data'].each do |i|
5498
- embeddingobject_tmp = EmbeddingObject.new
5499
- embeddingobject_tmp.deserialize(i)
5500
- @Data << embeddingobject_tmp
5501
- end
5502
- end
5503
- unless params['Usage'].nil?
5504
- @Usage = Usage.new
5505
- @Usage.deserialize(params['Usage'])
5506
- end
5507
- @RequestId = params['RequestId']
5508
- end
5509
- end
5510
-
5511
5242
  # GetLikeDataCount请求参数结构体
5512
5243
  class GetLikeDataCountRequest < TencentCloud::Common::AbstractModel
5513
5244
  # @param StartTime: 开始日期
@@ -5664,57 +5395,6 @@ module TencentCloud
5664
5395
  end
5665
5396
  end
5666
5397
 
5667
- # GetReconstructDocumentResult请求参数结构体
5668
- class GetReconstructDocumentResultRequest < TencentCloud::Common::AbstractModel
5669
- # @param TaskId: 任务唯一Id。[CreateReconstructDocumentFlow](https://cloud.tencent.com/document/product/1759/107506) 返回的TaskId。
5670
- # @type TaskId: String
5671
-
5672
- attr_accessor :TaskId
5673
-
5674
- def initialize(taskid=nil)
5675
- @TaskId = taskid
5676
- end
5677
-
5678
- def deserialize(params)
5679
- @TaskId = params['TaskId']
5680
- end
5681
- end
5682
-
5683
- # GetReconstructDocumentResult返回参数结构体
5684
- class GetReconstructDocumentResultResponse < TencentCloud::Common::AbstractModel
5685
- # @param Status: 任务状态: Success->执行完成;Processing->执行中;Failed->执行失败;WaitExecute->等待执行。
5686
- # @type Status: String
5687
- # @param DocumentRecognizeResultUrl: 本次文档解析的结果文件,存储在腾讯云COS的下载URL,下载URL的有效期为10分钟。
5688
- # @type DocumentRecognizeResultUrl: String
5689
- # @param FailedPages: 本次文档解析失败的页码信息。
5690
- # @type FailedPages: Array
5691
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5692
- # @type RequestId: String
5693
-
5694
- attr_accessor :Status, :DocumentRecognizeResultUrl, :FailedPages, :RequestId
5695
-
5696
- def initialize(status=nil, documentrecognizeresulturl=nil, failedpages=nil, requestid=nil)
5697
- @Status = status
5698
- @DocumentRecognizeResultUrl = documentrecognizeresulturl
5699
- @FailedPages = failedpages
5700
- @RequestId = requestid
5701
- end
5702
-
5703
- def deserialize(params)
5704
- @Status = params['Status']
5705
- @DocumentRecognizeResultUrl = params['DocumentRecognizeResultUrl']
5706
- unless params['FailedPages'].nil?
5707
- @FailedPages = []
5708
- params['FailedPages'].each do |i|
5709
- reconstructdocumentfailedpage_tmp = ReconstructDocumentFailedPage.new
5710
- reconstructdocumentfailedpage_tmp.deserialize(i)
5711
- @FailedPages << reconstructdocumentfailedpage_tmp
5712
- end
5713
- end
5714
- @RequestId = params['RequestId']
5715
- end
5716
- end
5717
-
5718
5398
  # GetTaskStatus请求参数结构体
5719
5399
  class GetTaskStatusRequest < TencentCloud::Common::AbstractModel
5720
5400
  # @param TaskId: 任务ID
@@ -5795,16 +5475,19 @@ module TencentCloud
5795
5475
  # @type Limit: Integer
5796
5476
  # @param VarType: 按变量类型过滤,默认查询所有类型(STRING,INT,FLOAT,BOOL,OBJECT,ARRAY_STRING,ARRAY_INT,ARRAY_FLOAT,ARRAY_BOOL,ARRAY_OBJECT,FILE,DOCUMENT,IMAGE,AUDIO)
5797
5477
  # @type VarType: String
5478
+ # @param NeedInternalVar: 是否需要内部变量(默认false)
5479
+ # @type NeedInternalVar: Boolean
5798
5480
 
5799
- attr_accessor :AppBizId, :VarIds, :Keyword, :Offset, :Limit, :VarType
5481
+ attr_accessor :AppBizId, :VarIds, :Keyword, :Offset, :Limit, :VarType, :NeedInternalVar
5800
5482
 
5801
- def initialize(appbizid=nil, varids=nil, keyword=nil, offset=nil, limit=nil, vartype=nil)
5483
+ def initialize(appbizid=nil, varids=nil, keyword=nil, offset=nil, limit=nil, vartype=nil, needinternalvar=nil)
5802
5484
  @AppBizId = appbizid
5803
5485
  @VarIds = varids
5804
5486
  @Keyword = keyword
5805
5487
  @Offset = offset
5806
5488
  @Limit = limit
5807
5489
  @VarType = vartype
5490
+ @NeedInternalVar = needinternalvar
5808
5491
  end
5809
5492
 
5810
5493
  def deserialize(params)
@@ -5814,6 +5497,7 @@ module TencentCloud
5814
5497
  @Offset = params['Offset']
5815
5498
  @Limit = params['Limit']
5816
5499
  @VarType = params['VarType']
5500
+ @NeedInternalVar = params['NeedInternalVar']
5817
5501
  end
5818
5502
  end
5819
5503
 
@@ -6466,10 +6150,16 @@ module TencentCloud
6466
6150
  # @type AiCall: :class:`Tencentcloud::Lke.v20231130.models.AICallConfig`
6467
6151
  # @param ShareKnowledgeBases: 共享知识库关联配置
6468
6152
  # @type ShareKnowledgeBases: Array
6153
+ # @param BackgroundImage: 背景图相关信息
6154
+ # 注意:此字段可能返回 null,表示取不到有效值。
6155
+ # @type BackgroundImage: :class:`Tencentcloud::Lke.v20231130.models.BackgroundImageConfig`
6156
+ # @param OpeningQuestions: 开场问题
6157
+ # 注意:此字段可能返回 null,表示取不到有效值。
6158
+ # @type OpeningQuestions: Array
6469
6159
 
6470
- attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange, :Pattern, :SearchStrategy, :SingleWorkflow, :Plugins, :ThoughtModel, :IntentAchievements, :ImageTextRetrieval, :AiCall, :ShareKnowledgeBases
6160
+ attr_accessor :Greeting, :RoleDescription, :Model, :Search, :Output, :Workflow, :SearchRange, :Pattern, :SearchStrategy, :SingleWorkflow, :Plugins, :ThoughtModel, :IntentAchievements, :ImageTextRetrieval, :AiCall, :ShareKnowledgeBases, :BackgroundImage, :OpeningQuestions
6471
6161
 
6472
- def initialize(greeting=nil, roledescription=nil, model=nil, search=nil, output=nil, workflow=nil, searchrange=nil, pattern=nil, searchstrategy=nil, singleworkflow=nil, plugins=nil, thoughtmodel=nil, intentachievements=nil, imagetextretrieval=nil, aicall=nil, shareknowledgebases=nil)
6162
+ def initialize(greeting=nil, roledescription=nil, model=nil, search=nil, output=nil, workflow=nil, searchrange=nil, pattern=nil, searchstrategy=nil, singleworkflow=nil, plugins=nil, thoughtmodel=nil, intentachievements=nil, imagetextretrieval=nil, aicall=nil, shareknowledgebases=nil, backgroundimage=nil, openingquestions=nil)
6473
6163
  @Greeting = greeting
6474
6164
  @RoleDescription = roledescription
6475
6165
  @Model = model
@@ -6486,6 +6176,8 @@ module TencentCloud
6486
6176
  @ImageTextRetrieval = imagetextretrieval
6487
6177
  @AiCall = aicall
6488
6178
  @ShareKnowledgeBases = shareknowledgebases
6179
+ @BackgroundImage = backgroundimage
6180
+ @OpeningQuestions = openingquestions
6489
6181
  end
6490
6182
 
6491
6183
  def deserialize(params)
@@ -6557,6 +6249,11 @@ module TencentCloud
6557
6249
  @ShareKnowledgeBases << shareknowledgebase_tmp
6558
6250
  end
6559
6251
  end
6252
+ unless params['BackgroundImage'].nil?
6253
+ @BackgroundImage = BackgroundImageConfig.new
6254
+ @BackgroundImage.deserialize(params['BackgroundImage'])
6255
+ end
6256
+ @OpeningQuestions = params['OpeningQuestions']
6560
6257
  end
6561
6258
  end
6562
6259
 
@@ -7250,10 +6947,12 @@ module TencentCloud
7250
6947
  # @type AttributeFlags: Array
7251
6948
  # @param IsDisabled: false:未停用,ture:已停用
7252
6949
  # @type IsDisabled: Boolean
6950
+ # @param StaffName: 员工名称
6951
+ # @type StaffName: String
7253
6952
 
7254
- 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, :CustomerKnowledgeId, :AttributeFlags, :IsDisabled
6953
+ 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, :CustomerKnowledgeId, :AttributeFlags, :IsDisabled, :StaffName
7255
6954
 
7256
- 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, customerknowledgeid=nil, attributeflags=nil, isdisabled=nil)
6955
+ 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, customerknowledgeid=nil, attributeflags=nil, isdisabled=nil, staffname=nil)
7257
6956
  @DocBizId = docbizid
7258
6957
  @FileName = filename
7259
6958
  @NewName = newname
@@ -7289,6 +6988,7 @@ module TencentCloud
7289
6988
  @CustomerKnowledgeId = customerknowledgeid
7290
6989
  @AttributeFlags = attributeflags
7291
6990
  @IsDisabled = isdisabled
6991
+ @StaffName = staffname
7292
6992
  end
7293
6993
 
7294
6994
  def deserialize(params)
@@ -7334,6 +7034,7 @@ module TencentCloud
7334
7034
  @CustomerKnowledgeId = params['CustomerKnowledgeId']
7335
7035
  @AttributeFlags = params['AttributeFlags']
7336
7036
  @IsDisabled = params['IsDisabled']
7037
+ @StaffName = params['StaffName']
7337
7038
  end
7338
7039
  end
7339
7040
 
@@ -7692,10 +7393,12 @@ module TencentCloud
7692
7393
  # @type SimilarQuestionTips: String
7693
7394
  # @param IsDisabled: 问答是否停用,false:未停用,ture:已停用
7694
7395
  # @type IsDisabled: Boolean
7396
+ # @param StaffName: 员工名称
7397
+ # @type StaffName: String
7695
7398
 
7696
- attr_accessor :QaBizId, :Question, :Answer, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :DocBizId, :CreateTime, :IsAllowEdit, :IsAllowDelete, :IsAllowAccept, :FileName, :FileType, :QaCharSize, :ExpireStart, :ExpireEnd, :AttrRange, :AttrLabels, :SimilarQuestionNum, :SimilarQuestionTips, :IsDisabled
7399
+ attr_accessor :QaBizId, :Question, :Answer, :Source, :SourceDesc, :UpdateTime, :Status, :StatusDesc, :DocBizId, :CreateTime, :IsAllowEdit, :IsAllowDelete, :IsAllowAccept, :FileName, :FileType, :QaCharSize, :ExpireStart, :ExpireEnd, :AttrRange, :AttrLabels, :SimilarQuestionNum, :SimilarQuestionTips, :IsDisabled, :StaffName
7697
7400
 
7698
- def initialize(qabizid=nil, question=nil, answer=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, docbizid=nil, createtime=nil, isallowedit=nil, isallowdelete=nil, isallowaccept=nil, filename=nil, filetype=nil, qacharsize=nil, expirestart=nil, expireend=nil, attrrange=nil, attrlabels=nil, similarquestionnum=nil, similarquestiontips=nil, isdisabled=nil)
7401
+ def initialize(qabizid=nil, question=nil, answer=nil, source=nil, sourcedesc=nil, updatetime=nil, status=nil, statusdesc=nil, docbizid=nil, createtime=nil, isallowedit=nil, isallowdelete=nil, isallowaccept=nil, filename=nil, filetype=nil, qacharsize=nil, expirestart=nil, expireend=nil, attrrange=nil, attrlabels=nil, similarquestionnum=nil, similarquestiontips=nil, isdisabled=nil, staffname=nil)
7699
7402
  @QaBizId = qabizid
7700
7403
  @Question = question
7701
7404
  @Answer = answer
@@ -7719,6 +7422,7 @@ module TencentCloud
7719
7422
  @SimilarQuestionNum = similarquestionnum
7720
7423
  @SimilarQuestionTips = similarquestiontips
7721
7424
  @IsDisabled = isdisabled
7425
+ @StaffName = staffname
7722
7426
  end
7723
7427
 
7724
7428
  def deserialize(params)
@@ -7752,6 +7456,7 @@ module TencentCloud
7752
7456
  @SimilarQuestionNum = params['SimilarQuestionNum']
7753
7457
  @SimilarQuestionTips = params['SimilarQuestionTips']
7754
7458
  @IsDisabled = params['IsDisabled']
7459
+ @StaffName = params['StaffName']
7755
7460
  end
7756
7461
  end
7757
7462
 
@@ -8609,31 +8314,6 @@ module TencentCloud
8609
8314
  end
8610
8315
  end
8611
8316
 
8612
- # 一条message代表一条对话记录
8613
- # role表示角色 user或者assistant
8614
- # content表示对话内容
8615
- class Message < TencentCloud::Common::AbstractModel
8616
- # @param Role: role表示角色 user标识用户提问,assistant标识返回的答案
8617
-
8618
- # 注意:此字段可能返回 null,表示取不到有效值。
8619
- # @type Role: String
8620
- # @param Content: 对话内容
8621
- # 注意:此字段可能返回 null,表示取不到有效值。
8622
- # @type Content: String
8623
-
8624
- attr_accessor :Role, :Content
8625
-
8626
- def initialize(role=nil, content=nil)
8627
- @Role = role
8628
- @Content = content
8629
- end
8630
-
8631
- def deserialize(params)
8632
- @Role = params['Role']
8633
- @Content = params['Content']
8634
- end
8635
- end
8636
-
8637
8317
  # 模型信息
8638
8318
  class ModelInfo < TencentCloud::Common::AbstractModel
8639
8319
  # @param ModelName: 模型名称
@@ -8815,7 +8495,7 @@ module TencentCloud
8815
8495
  class ModifyAppRequest < TencentCloud::Common::AbstractModel
8816
8496
  # @param AppBizId: 应用 ID
8817
8497
  # @type AppBizId: String
8818
- # @param AppType: 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取
8498
+ # @param AppType: 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classify-知识标签提取
8819
8499
  # @type AppType: String
8820
8500
  # @param BaseConfig: 应用基础配置
8821
8501
  # @type BaseConfig: :class:`Tencentcloud::Lke.v20231130.models.BaseConfig`
@@ -9905,47 +9585,6 @@ module TencentCloud
9905
9585
  end
9906
9586
  end
9907
9587
 
9908
- # 文本的坐标,以四个顶点坐标表示
9909
- # 注意:此字段可能返回 null,表示取不到有效值
9910
- class Polygon < TencentCloud::Common::AbstractModel
9911
- # @param LeftTop: 左上顶点坐标
9912
- # @type LeftTop: :class:`Tencentcloud::Lke.v20231130.models.Coord`
9913
- # @param RightTop: 右上顶点坐标
9914
- # @type RightTop: :class:`Tencentcloud::Lke.v20231130.models.Coord`
9915
- # @param RightBottom: 右下顶点坐标
9916
- # @type RightBottom: :class:`Tencentcloud::Lke.v20231130.models.Coord`
9917
- # @param LeftBottom: 左下顶点坐标
9918
- # @type LeftBottom: :class:`Tencentcloud::Lke.v20231130.models.Coord`
9919
-
9920
- attr_accessor :LeftTop, :RightTop, :RightBottom, :LeftBottom
9921
-
9922
- def initialize(lefttop=nil, righttop=nil, rightbottom=nil, leftbottom=nil)
9923
- @LeftTop = lefttop
9924
- @RightTop = righttop
9925
- @RightBottom = rightbottom
9926
- @LeftBottom = leftbottom
9927
- end
9928
-
9929
- def deserialize(params)
9930
- unless params['LeftTop'].nil?
9931
- @LeftTop = Coord.new
9932
- @LeftTop.deserialize(params['LeftTop'])
9933
- end
9934
- unless params['RightTop'].nil?
9935
- @RightTop = Coord.new
9936
- @RightTop.deserialize(params['RightTop'])
9937
- end
9938
- unless params['RightBottom'].nil?
9939
- @RightBottom = Coord.new
9940
- @RightBottom.deserialize(params['RightBottom'])
9941
- end
9942
- unless params['LeftBottom'].nil?
9943
- @LeftBottom = Coord.new
9944
- @LeftBottom.deserialize(params['LeftBottom'])
9945
- end
9946
- end
9947
- end
9948
-
9949
9588
  # 执行过程信息记录
9950
9589
  class Procedure < TencentCloud::Common::AbstractModel
9951
9590
  # @param Name: 执行过程英语名
@@ -10217,64 +9856,6 @@ module TencentCloud
10217
9856
  end
10218
9857
  end
10219
9858
 
10220
- # QueryRewrite请求参数结构体
10221
- class QueryRewriteRequest < TencentCloud::Common::AbstractModel
10222
- # @param Question: 需要改写的问题
10223
- # @type Question: String
10224
- # @param Messages: 需要改写的多轮历史会话,每轮历史对话需要包含user(问)和assistant(答)成对输入,由于模型字符限制,最多提供4轮对话。
10225
- # @type Messages: Array
10226
- # @param Model: 模型名称
10227
- # @type Model: String
10228
-
10229
- attr_accessor :Question, :Messages, :Model
10230
-
10231
- def initialize(question=nil, messages=nil, model=nil)
10232
- @Question = question
10233
- @Messages = messages
10234
- @Model = model
10235
- end
10236
-
10237
- def deserialize(params)
10238
- @Question = params['Question']
10239
- unless params['Messages'].nil?
10240
- @Messages = []
10241
- params['Messages'].each do |i|
10242
- message_tmp = Message.new
10243
- message_tmp.deserialize(i)
10244
- @Messages << message_tmp
10245
- end
10246
- end
10247
- @Model = params['Model']
10248
- end
10249
- end
10250
-
10251
- # QueryRewrite返回参数结构体
10252
- class QueryRewriteResponse < TencentCloud::Common::AbstractModel
10253
- # @param Content: 改写结果
10254
- # @type Content: String
10255
- # @param Usage: 消耗量,返回输入token数,输出token数以及总token数
10256
- # @type Usage: :class:`Tencentcloud::Lke.v20231130.models.Usage`
10257
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10258
- # @type RequestId: String
10259
-
10260
- attr_accessor :Content, :Usage, :RequestId
10261
-
10262
- def initialize(content=nil, usage=nil, requestid=nil)
10263
- @Content = content
10264
- @Usage = usage
10265
- @RequestId = requestid
10266
- end
10267
-
10268
- def deserialize(params)
10269
- @Content = params['Content']
10270
- unless params['Usage'].nil?
10271
- @Usage = Usage.new
10272
- @Usage.deserialize(params['Usage'])
10273
- end
10274
- @RequestId = params['RequestId']
10275
- end
10276
- end
10277
-
10278
9859
  # 搜索引擎参考来源索引
10279
9860
  class QuoteInfo < TencentCloud::Common::AbstractModel
10280
9861
  # @param Position: 参考来源位置
@@ -10341,132 +9922,6 @@ module TencentCloud
10341
9922
  end
10342
9923
  end
10343
9924
 
10344
- # 重排数据, 计算2段内容的关联性
10345
- class ReRankDataObject < TencentCloud::Common::AbstractModel
10346
- # @param PromptA: 第一段内容
10347
- # @type PromptA: String
10348
- # @param PromptB: 第二段内容
10349
- # @type PromptB: String
10350
-
10351
- attr_accessor :PromptA, :PromptB
10352
-
10353
- def initialize(prompta=nil, promptb=nil)
10354
- @PromptA = prompta
10355
- @PromptB = promptb
10356
- end
10357
-
10358
- def deserialize(params)
10359
- @PromptA = params['PromptA']
10360
- @PromptB = params['PromptB']
10361
- end
10362
- end
10363
-
10364
- # ReconstructDocument配置选项
10365
- class ReconstructDocumentConfig < TencentCloud::Common::AbstractModel
10366
- # @param EnableInsetImage: 生成的Markdown中是否嵌入图片
10367
- # @type EnableInsetImage: Boolean
10368
-
10369
- attr_accessor :EnableInsetImage
10370
-
10371
- def initialize(enableinsetimage=nil)
10372
- @EnableInsetImage = enableinsetimage
10373
- end
10374
-
10375
- def deserialize(params)
10376
- @EnableInsetImage = params['EnableInsetImage']
10377
- end
10378
- end
10379
-
10380
- # 文档解析失败记录
10381
- class ReconstructDocumentFailedPage < TencentCloud::Common::AbstractModel
10382
- # @param PageNumber: 失败页码
10383
- # 注意:此字段可能返回 null,表示取不到有效值。
10384
- # @type PageNumber: Integer
10385
-
10386
- attr_accessor :PageNumber
10387
-
10388
- def initialize(pagenumber=nil)
10389
- @PageNumber = pagenumber
10390
- end
10391
-
10392
- def deserialize(params)
10393
- @PageNumber = params['PageNumber']
10394
- end
10395
- end
10396
-
10397
- # ReconstructDocument请求参数结构体
10398
- class ReconstructDocumentRequest < TencentCloud::Common::AbstractModel
10399
- # @param FileBase64: 文件的 Base64 值。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
10400
- # @type FileBase64: String
10401
- # @param FileUrl: 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
10402
- # @type FileUrl: String
10403
- # @param FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。
10404
- # @type FileStartPageNumber: Integer
10405
- # @param FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为10,表示识别到pdf文件的第10页。单次调用最多支持识别10页内容,即FileEndPageNumber-FileStartPageNumber需要不大于10。
10406
- # @type FileEndPageNumber: Integer
10407
- # @param Config: 配置选项,支持配置是否在生成的Markdown中是否嵌入图片
10408
- # @type Config: :class:`Tencentcloud::Lke.v20231130.models.ReconstructDocumentConfig`
10409
-
10410
- attr_accessor :FileBase64, :FileUrl, :FileStartPageNumber, :FileEndPageNumber, :Config
10411
-
10412
- def initialize(filebase64=nil, fileurl=nil, filestartpagenumber=nil, fileendpagenumber=nil, config=nil)
10413
- @FileBase64 = filebase64
10414
- @FileUrl = fileurl
10415
- @FileStartPageNumber = filestartpagenumber
10416
- @FileEndPageNumber = fileendpagenumber
10417
- @Config = config
10418
- end
10419
-
10420
- def deserialize(params)
10421
- @FileBase64 = params['FileBase64']
10422
- @FileUrl = params['FileUrl']
10423
- @FileStartPageNumber = params['FileStartPageNumber']
10424
- @FileEndPageNumber = params['FileEndPageNumber']
10425
- unless params['Config'].nil?
10426
- @Config = ReconstructDocumentConfig.new
10427
- @Config.deserialize(params['Config'])
10428
- end
10429
- end
10430
- end
10431
-
10432
- # ReconstructDocument返回参数结构体
10433
- class ReconstructDocumentResponse < TencentCloud::Common::AbstractModel
10434
- # @param MarkdownBase64: 识别生成的Markdown文件base64编码的字符串
10435
- # 注意:此字段可能返回 null,表示取不到有效值。
10436
- # @type MarkdownBase64: String
10437
- # @param InsetImagePackage: 输入文件中嵌入的图片放在一个文件夹中打包为.zip压缩文件,识别生成的Markdown文件通过路径关联插入本文件夹中的图片。
10438
- # 注意:此字段可能返回 null,表示取不到有效值。
10439
- # @type InsetImagePackage: String
10440
- # @param DocumentRecognizeInfo: 输入文件中嵌入的图片中文字内容的识别结果
10441
- # 注意:此字段可能返回 null,表示取不到有效值。
10442
- # @type DocumentRecognizeInfo: Array
10443
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10444
- # @type RequestId: String
10445
-
10446
- attr_accessor :MarkdownBase64, :InsetImagePackage, :DocumentRecognizeInfo, :RequestId
10447
-
10448
- def initialize(markdownbase64=nil, insetimagepackage=nil, documentrecognizeinfo=nil, requestid=nil)
10449
- @MarkdownBase64 = markdownbase64
10450
- @InsetImagePackage = insetimagepackage
10451
- @DocumentRecognizeInfo = documentrecognizeinfo
10452
- @RequestId = requestid
10453
- end
10454
-
10455
- def deserialize(params)
10456
- @MarkdownBase64 = params['MarkdownBase64']
10457
- @InsetImagePackage = params['InsetImagePackage']
10458
- unless params['DocumentRecognizeInfo'].nil?
10459
- @DocumentRecognizeInfo = []
10460
- params['DocumentRecognizeInfo'].each do |i|
10461
- documentrecognizeinfo_tmp = DocumentRecognizeInfo.new
10462
- documentrecognizeinfo_tmp.deserialize(i)
10463
- @DocumentRecognizeInfo << documentrecognizeinfo_tmp
10464
- end
10465
- end
10466
- @RequestId = params['RequestId']
10467
- end
10468
- end
10469
-
10470
9925
  # 引用来源详情
10471
9926
  class ReferDetail < TencentCloud::Common::AbstractModel
10472
9927
  # @param ReferBizId: 引用ID
@@ -11039,77 +10494,6 @@ module TencentCloud
11039
10494
  end
11040
10495
  end
11041
10496
 
11042
- # RunReRank请求参数结构体
11043
- class RunReRankRequest < TencentCloud::Common::AbstractModel
11044
- # @param Query: 查询内容,必填
11045
- # @type Query: String
11046
- # @param Docs: 文档列表,必填,最多20个
11047
- # @type Docs: Array
11048
- # @param Model: 模型名称, 非必填,默认: lke-reranker-base
11049
- # @type Model: String
11050
- # @param DataList: 需要计算关联性的2段内容
11051
- # @type DataList: Array
11052
- # @param Online: 是否在线, 后台异步任务使用离线, 实时任务使用在线, 默认值: false
11053
- # @type Online: Boolean
11054
-
11055
- attr_accessor :Query, :Docs, :Model, :DataList, :Online
11056
- extend Gem::Deprecate
11057
- deprecate :DataList, :none, 2025, 6
11058
- deprecate :DataList=, :none, 2025, 6
11059
- deprecate :Online, :none, 2025, 6
11060
- deprecate :Online=, :none, 2025, 6
11061
-
11062
- def initialize(query=nil, docs=nil, model=nil, datalist=nil, online=nil)
11063
- @Query = query
11064
- @Docs = docs
11065
- @Model = model
11066
- @DataList = datalist
11067
- @Online = online
11068
- end
11069
-
11070
- def deserialize(params)
11071
- @Query = params['Query']
11072
- @Docs = params['Docs']
11073
- @Model = params['Model']
11074
- unless params['DataList'].nil?
11075
- @DataList = []
11076
- params['DataList'].each do |i|
11077
- rerankdataobject_tmp = ReRankDataObject.new
11078
- rerankdataobject_tmp.deserialize(i)
11079
- @DataList << rerankdataobject_tmp
11080
- end
11081
- end
11082
- @Online = params['Online']
11083
- end
11084
- end
11085
-
11086
- # RunReRank返回参数结构体
11087
- class RunReRankResponse < TencentCloud::Common::AbstractModel
11088
- # @param ScoreList: 相关性, 数值越大越相关
11089
- # @type ScoreList: Array
11090
- # @param Usage: 消耗量,仅返回TotalToken
11091
- # @type Usage: :class:`Tencentcloud::Lke.v20231130.models.Usage`
11092
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11093
- # @type RequestId: String
11094
-
11095
- attr_accessor :ScoreList, :Usage, :RequestId
11096
-
11097
- def initialize(scorelist=nil, usage=nil, requestid=nil)
11098
- @ScoreList = scorelist
11099
- @Usage = usage
11100
- @RequestId = requestid
11101
- end
11102
-
11103
- def deserialize(params)
11104
- @ScoreList = params['ScoreList']
11105
- unless params['Usage'].nil?
11106
- @Usage = Usage.new
11107
- @Usage.deserialize(params['Usage'])
11108
- end
11109
- @RequestId = params['RequestId']
11110
- end
11111
- end
11112
-
11113
10497
  # SaveDoc请求参数结构体
11114
10498
  class SaveDocRequest < TencentCloud::Common::AbstractModel
11115
10499
  # @param BotBizId: 应用ID
@@ -12025,34 +11409,6 @@ module TencentCloud
12025
11409
  end
12026
11410
  end
12027
11411
 
12028
- # 消耗量
12029
- class Usage < TencentCloud::Common::AbstractModel
12030
- # @param TotalPages: 文档页数
12031
- # @type TotalPages: Integer
12032
- # @param InputTokens: 输入token数
12033
- # @type InputTokens: Integer
12034
- # @param OutputTokens: 输出token数
12035
- # @type OutputTokens: Integer
12036
- # @param TotalTokens: 总token数
12037
- # @type TotalTokens: Integer
12038
-
12039
- attr_accessor :TotalPages, :InputTokens, :OutputTokens, :TotalTokens
12040
-
12041
- def initialize(totalpages=nil, inputtokens=nil, outputtokens=nil, totaltokens=nil)
12042
- @TotalPages = totalpages
12043
- @InputTokens = inputtokens
12044
- @OutputTokens = outputtokens
12045
- @TotalTokens = totaltokens
12046
- end
12047
-
12048
- def deserialize(params)
12049
- @TotalPages = params['TotalPages']
12050
- @InputTokens = params['InputTokens']
12051
- @OutputTokens = params['OutputTokens']
12052
- @TotalTokens = params['TotalTokens']
12053
- end
12054
- end
12055
-
12056
11412
  # 用户基础信息
12057
11413
  class UserBaseInfo < TencentCloud::Common::AbstractModel
12058
11414
  # @param UserBizId: 用户ID
@@ -12204,28 +11560,6 @@ module TencentCloud
12204
11560
  end
12205
11561
  end
12206
11562
 
12207
- # 解析为 word 文档的结果
12208
- class WordRecognizeInfo < TencentCloud::Common::AbstractModel
12209
- # @param PageNumber: 输入文件的页码数
12210
- # 注意:此字段可能返回 null,表示取不到有效值。
12211
- # @type PageNumber: Integer
12212
- # @param WordBase64: word的base64
12213
- # 注意:此字段可能返回 null,表示取不到有效值。
12214
- # @type WordBase64: String
12215
-
12216
- attr_accessor :PageNumber, :WordBase64
12217
-
12218
- def initialize(pagenumber=nil, wordbase64=nil)
12219
- @PageNumber = pagenumber
12220
- @WordBase64 = wordbase64
12221
- end
12222
-
12223
- def deserialize(params)
12224
- @PageNumber = params['PageNumber']
12225
- @WordBase64 = params['WordBase64']
12226
- end
12227
- end
12228
-
12229
11563
  # 工作流程调试信息
12230
11564
  class WorkFlowSummary < TencentCloud::Common::AbstractModel
12231
11565
  # @param WorkflowId: 工作流ID