tencentcloud-sdk-lke 3.0.954 → 3.0.955

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf3f66a89900e7c8cd53edd807bfc6ba134f20c9
4
- data.tar.gz: 4cd60a34afd19eea25c048eb877b118fe33bc9f6
3
+ metadata.gz: cf7421db6a21a7b5a6cbaab6a519dc8a589161c0
4
+ data.tar.gz: ab7c411c335e574e34a5c0a9d911b83ebaa5ff7e
5
5
  SHA512:
6
- metadata.gz: c53015d6155aec1efde9621e59fb780ba453e97ab320ffa4918c4681915f6d7a27162dabb6f08fc5e573df210030cefa2c24cdaaf7d2708889ea47ff114f4ff5
7
- data.tar.gz: 9baac7df4e2a028e344a78f653bd8994ad4c308b1698a8777664925a462548589736b14f786f6465199f8dbf1eb33b3a31fb175ad696f73fa2c0086dad51c8d5
6
+ metadata.gz: 5c61e3040f72b785fb78b8aa1a6fa7182aeeba196c55bfbca0377eb27de66dffa8510ff580cfe0c08967d575e78ef3445709555affd863148d79d90c7925132e
7
+ data.tar.gz: 533137663069273c92e6c3772814ba6621e22121ab7ddda7867307ba0ccc8a888d77becd141d8c85e5459099761927716ae103795f9c1994d90e8d29a3e25bd8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.954
1
+ 3.0.955
@@ -175,6 +175,30 @@ module TencentCloud
175
175
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
176
176
  end
177
177
 
178
+ # 创建Doc分类
179
+
180
+ # @param request: Request instance for CreateDocCate.
181
+ # @type request: :class:`Tencentcloud::lke::V20231130::CreateDocCateRequest`
182
+ # @rtype: :class:`Tencentcloud::lke::V20231130::CreateDocCateResponse`
183
+ def CreateDocCate(request)
184
+ body = send_request('CreateDocCate', request.serialize)
185
+ response = JSON.parse(body)
186
+ if response['Response'].key?('Error') == false
187
+ model = CreateDocCateResponse.new
188
+ model.deserialize(response['Response'])
189
+ model
190
+ else
191
+ code = response['Response']['Error']['Code']
192
+ message = response['Response']['Error']['Message']
193
+ reqid = response['Response']['RequestId']
194
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
195
+ end
196
+ rescue TencentCloud::Common::TencentCloudSDKException => e
197
+ raise e
198
+ rescue StandardError => e
199
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
200
+ end
201
+
178
202
  # 录入问答
179
203
 
180
204
  # @param request: Request instance for CreateQA.
@@ -370,6 +394,30 @@ module TencentCloud
370
394
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
371
395
  end
372
396
 
397
+ # Doc分类删除
398
+
399
+ # @param request: Request instance for DeleteDocCate.
400
+ # @type request: :class:`Tencentcloud::lke::V20231130::DeleteDocCateRequest`
401
+ # @rtype: :class:`Tencentcloud::lke::V20231130::DeleteDocCateResponse`
402
+ def DeleteDocCate(request)
403
+ body = send_request('DeleteDocCate', request.serialize)
404
+ response = JSON.parse(body)
405
+ if response['Response'].key?('Error') == false
406
+ model = DeleteDocCateResponse.new
407
+ model.deserialize(response['Response'])
408
+ model
409
+ else
410
+ code = response['Response']['Error']['Code']
411
+ message = response['Response']['Error']['Message']
412
+ reqid = response['Response']['RequestId']
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
414
+ end
415
+ rescue TencentCloud::Common::TencentCloudSDKException => e
416
+ raise e
417
+ rescue StandardError => e
418
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
419
+ end
420
+
373
421
  # 删除问答
374
422
 
375
423
  # @param request: Request instance for DeleteQA.
@@ -1259,6 +1307,30 @@ module TencentCloud
1259
1307
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1260
1308
  end
1261
1309
 
1310
+ # Doc分组
1311
+
1312
+ # @param request: Request instance for GroupDoc.
1313
+ # @type request: :class:`Tencentcloud::lke::V20231130::GroupDocRequest`
1314
+ # @rtype: :class:`Tencentcloud::lke::V20231130::GroupDocResponse`
1315
+ def GroupDoc(request)
1316
+ body = send_request('GroupDoc', request.serialize)
1317
+ response = JSON.parse(body)
1318
+ if response['Response'].key?('Error') == false
1319
+ model = GroupDocResponse.new
1320
+ model.deserialize(response['Response'])
1321
+ model
1322
+ else
1323
+ code = response['Response']['Error']['Code']
1324
+ message = response['Response']['Error']['Message']
1325
+ reqid = response['Response']['RequestId']
1326
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1327
+ end
1328
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1329
+ raise e
1330
+ rescue StandardError => e
1331
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1332
+ end
1333
+
1262
1334
  # QA分组
1263
1335
 
1264
1336
  # @param request: Request instance for GroupQA.
@@ -1379,6 +1451,30 @@ module TencentCloud
1379
1451
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1380
1452
  end
1381
1453
 
1454
+ # 列表查询知识库容量详情
1455
+
1456
+ # @param request: Request instance for ListAppKnowledgeDetail.
1457
+ # @type request: :class:`Tencentcloud::lke::V20231130::ListAppKnowledgeDetailRequest`
1458
+ # @rtype: :class:`Tencentcloud::lke::V20231130::ListAppKnowledgeDetailResponse`
1459
+ def ListAppKnowledgeDetail(request)
1460
+ body = send_request('ListAppKnowledgeDetail', request.serialize)
1461
+ response = JSON.parse(body)
1462
+ if response['Response'].key?('Error') == false
1463
+ model = ListAppKnowledgeDetailResponse.new
1464
+ model.deserialize(response['Response'])
1465
+ model
1466
+ else
1467
+ code = response['Response']['Error']['Code']
1468
+ message = response['Response']['Error']['Message']
1469
+ reqid = response['Response']['RequestId']
1470
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1471
+ end
1472
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1473
+ raise e
1474
+ rescue StandardError => e
1475
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1476
+ end
1477
+
1382
1478
  # 查询属性标签列表
1383
1479
 
1384
1480
  # @param request: Request instance for ListAttributeLabel.
@@ -1427,6 +1523,30 @@ module TencentCloud
1427
1523
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1428
1524
  end
1429
1525
 
1526
+ # 获取Doc分类
1527
+
1528
+ # @param request: Request instance for ListDocCate.
1529
+ # @type request: :class:`Tencentcloud::lke::V20231130::ListDocCateRequest`
1530
+ # @rtype: :class:`Tencentcloud::lke::V20231130::ListDocCateResponse`
1531
+ def ListDocCate(request)
1532
+ body = send_request('ListDocCate', request.serialize)
1533
+ response = JSON.parse(body)
1534
+ if response['Response'].key?('Error') == false
1535
+ model = ListDocCateResponse.new
1536
+ model.deserialize(response['Response'])
1537
+ model
1538
+ else
1539
+ code = response['Response']['Error']['Code']
1540
+ message = response['Response']['Error']['Message']
1541
+ reqid = response['Response']['RequestId']
1542
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1543
+ end
1544
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1545
+ raise e
1546
+ rescue StandardError => e
1547
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1548
+ end
1549
+
1430
1550
  # 获取模型列表
1431
1551
 
1432
1552
  # @param request: Request instance for ListModel.
@@ -1691,6 +1811,30 @@ module TencentCloud
1691
1811
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1692
1812
  end
1693
1813
 
1814
+ # 列表查询单次调用明细
1815
+
1816
+ # @param request: Request instance for ListUsageCallDetail.
1817
+ # @type request: :class:`Tencentcloud::lke::V20231130::ListUsageCallDetailRequest`
1818
+ # @rtype: :class:`Tencentcloud::lke::V20231130::ListUsageCallDetailResponse`
1819
+ def ListUsageCallDetail(request)
1820
+ body = send_request('ListUsageCallDetail', request.serialize)
1821
+ response = JSON.parse(body)
1822
+ if response['Response'].key?('Error') == false
1823
+ model = ListUsageCallDetailResponse.new
1824
+ model.deserialize(response['Response'])
1825
+ model
1826
+ else
1827
+ code = response['Response']['Error']['Code']
1828
+ message = response['Response']['Error']['Message']
1829
+ reqid = response['Response']['RequestId']
1830
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1831
+ end
1832
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1833
+ raise e
1834
+ rescue StandardError => e
1835
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1836
+ end
1837
+
1694
1838
  # 修改应用请求结构体
1695
1839
 
1696
1840
  # @param request: Request instance for ModifyApp.
@@ -1787,6 +1931,30 @@ module TencentCloud
1787
1931
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1788
1932
  end
1789
1933
 
1934
+ # 修改Doc分类
1935
+
1936
+ # @param request: Request instance for ModifyDocCate.
1937
+ # @type request: :class:`Tencentcloud::lke::V20231130::ModifyDocCateRequest`
1938
+ # @rtype: :class:`Tencentcloud::lke::V20231130::ModifyDocCateResponse`
1939
+ def ModifyDocCate(request)
1940
+ body = send_request('ModifyDocCate', request.serialize)
1941
+ response = JSON.parse(body)
1942
+ if response['Response'].key?('Error') == false
1943
+ model = ModifyDocCateResponse.new
1944
+ model.deserialize(response['Response'])
1945
+ model
1946
+ else
1947
+ code = response['Response']['Error']['Code']
1948
+ message = response['Response']['Error']['Message']
1949
+ reqid = response['Response']['RequestId']
1950
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1951
+ end
1952
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1953
+ raise e
1954
+ rescue StandardError => e
1955
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1956
+ end
1957
+
1790
1958
  # 更新问答
1791
1959
 
1792
1960
  # @param request: Request instance for ModifyQA.
@@ -384,6 +384,136 @@ module TencentCloud
384
384
  end
385
385
  end
386
386
 
387
+ # 调用类型
388
+ class CallDetail < TencentCloud::Common::AbstractModel
389
+ # @param Id: 关联ID
390
+ # 注意:此字段可能返回 null,表示取不到有效值。
391
+ # @type Id: String
392
+ # @param CallTime: 调用时间
393
+ # 注意:此字段可能返回 null,表示取不到有效值。
394
+ # @type CallTime: String
395
+ # @param TotalTokenUsage: 总token消耗
396
+ # 注意:此字段可能返回 null,表示取不到有效值。
397
+ # @type TotalTokenUsage: Float
398
+ # @param InputTokenUsage: 输入token消耗
399
+ # 注意:此字段可能返回 null,表示取不到有效值。
400
+ # @type InputTokenUsage: Float
401
+ # @param OutputTokenUsage: 输出token消耗
402
+ # 注意:此字段可能返回 null,表示取不到有效值。
403
+ # @type OutputTokenUsage: Float
404
+ # @param SearchUsage: 搜索服务调用次数
405
+ # 注意:此字段可能返回 null,表示取不到有效值。
406
+ # @type SearchUsage: Integer
407
+ # @param ModelName: 模型名称
408
+ # 注意:此字段可能返回 null,表示取不到有效值。
409
+ # @type ModelName: String
410
+ # @param CallType: 调用类型
411
+ # 注意:此字段可能返回 null,表示取不到有效值。
412
+ # @type CallType: String
413
+ # @param UinAccount: 账号
414
+ # 注意:此字段可能返回 null,表示取不到有效值。
415
+ # @type UinAccount: String
416
+ # @param AppName: 应用名称
417
+ # 注意:此字段可能返回 null,表示取不到有效值。
418
+ # @type AppName: String
419
+ # @param PageUsage: 总消耗页数
420
+ # 注意:此字段可能返回 null,表示取不到有效值。
421
+ # @type PageUsage: Integer
422
+ # @param SubScene: 筛选子场景
423
+ # 注意:此字段可能返回 null,表示取不到有效值。
424
+ # @type SubScene: String
425
+
426
+ attr_accessor :Id, :CallTime, :TotalTokenUsage, :InputTokenUsage, :OutputTokenUsage, :SearchUsage, :ModelName, :CallType, :UinAccount, :AppName, :PageUsage, :SubScene
427
+
428
+ def initialize(id=nil, calltime=nil, totaltokenusage=nil, inputtokenusage=nil, outputtokenusage=nil, searchusage=nil, modelname=nil, calltype=nil, uinaccount=nil, appname=nil, pageusage=nil, subscene=nil)
429
+ @Id = id
430
+ @CallTime = calltime
431
+ @TotalTokenUsage = totaltokenusage
432
+ @InputTokenUsage = inputtokenusage
433
+ @OutputTokenUsage = outputtokenusage
434
+ @SearchUsage = searchusage
435
+ @ModelName = modelname
436
+ @CallType = calltype
437
+ @UinAccount = uinaccount
438
+ @AppName = appname
439
+ @PageUsage = pageusage
440
+ @SubScene = subscene
441
+ end
442
+
443
+ def deserialize(params)
444
+ @Id = params['Id']
445
+ @CallTime = params['CallTime']
446
+ @TotalTokenUsage = params['TotalTokenUsage']
447
+ @InputTokenUsage = params['InputTokenUsage']
448
+ @OutputTokenUsage = params['OutputTokenUsage']
449
+ @SearchUsage = params['SearchUsage']
450
+ @ModelName = params['ModelName']
451
+ @CallType = params['CallType']
452
+ @UinAccount = params['UinAccount']
453
+ @AppName = params['AppName']
454
+ @PageUsage = params['PageUsage']
455
+ @SubScene = params['SubScene']
456
+ end
457
+ end
458
+
459
+ # 分类信息
460
+ class CateInfo < TencentCloud::Common::AbstractModel
461
+ # @param CateBizId: 分类ID
462
+ # 注意:此字段可能返回 null,表示取不到有效值。
463
+ # @type CateBizId: String
464
+ # @param Name: 分类名称
465
+
466
+ # 注意:此字段可能返回 null,表示取不到有效值。
467
+ # @type Name: String
468
+ # @param Total: 分类下的Record(如文档、同义词等)数量
469
+ # 注意:此字段可能返回 null,表示取不到有效值。
470
+ # @type Total: Integer
471
+ # @param CanAdd: 是否可新增
472
+
473
+ # 注意:此字段可能返回 null,表示取不到有效值。
474
+ # @type CanAdd: Boolean
475
+ # @param CanEdit: 是否可编辑
476
+
477
+ # 注意:此字段可能返回 null,表示取不到有效值。
478
+ # @type CanEdit: Boolean
479
+ # @param CanDelete: 是否可删除
480
+
481
+ # 注意:此字段可能返回 null,表示取不到有效值。
482
+ # @type CanDelete: Boolean
483
+ # @param Children: 子分类
484
+ # 注意:此字段可能返回 null,表示取不到有效值。
485
+ # @type Children: Array
486
+
487
+ attr_accessor :CateBizId, :Name, :Total, :CanAdd, :CanEdit, :CanDelete, :Children
488
+
489
+ def initialize(catebizid=nil, name=nil, total=nil, canadd=nil, canedit=nil, candelete=nil, children=nil)
490
+ @CateBizId = catebizid
491
+ @Name = name
492
+ @Total = total
493
+ @CanAdd = canadd
494
+ @CanEdit = canedit
495
+ @CanDelete = candelete
496
+ @Children = children
497
+ end
498
+
499
+ def deserialize(params)
500
+ @CateBizId = params['CateBizId']
501
+ @Name = params['Name']
502
+ @Total = params['Total']
503
+ @CanAdd = params['CanAdd']
504
+ @CanEdit = params['CanEdit']
505
+ @CanDelete = params['CanDelete']
506
+ unless params['Children'].nil?
507
+ @Children = []
508
+ params['Children'].each do |i|
509
+ cateinfo_tmp = CateInfo.new
510
+ cateinfo_tmp.deserialize(i)
511
+ @Children << cateinfo_tmp
512
+ end
513
+ end
514
+ end
515
+ end
516
+
387
517
  # CheckAttributeLabelExist请求参数结构体
388
518
  class CheckAttributeLabelExistRequest < TencentCloud::Common::AbstractModel
389
519
  # @param BotBizId: 应用ID
@@ -847,6 +977,62 @@ module TencentCloud
847
977
  end
848
978
  end
849
979
 
980
+ # CreateDocCate请求参数结构体
981
+ class CreateDocCateRequest < TencentCloud::Common::AbstractModel
982
+ # @param BotBizId: 应用ID
983
+ # @type BotBizId: String
984
+ # @param ParentBizId: 父级业务ID
985
+ # @type ParentBizId: String
986
+ # @param Name: 分类名称
987
+ # @type Name: String
988
+
989
+ attr_accessor :BotBizId, :ParentBizId, :Name
990
+
991
+ def initialize(botbizid=nil, parentbizid=nil, name=nil)
992
+ @BotBizId = botbizid
993
+ @ParentBizId = parentbizid
994
+ @Name = name
995
+ end
996
+
997
+ def deserialize(params)
998
+ @BotBizId = params['BotBizId']
999
+ @ParentBizId = params['ParentBizId']
1000
+ @Name = params['Name']
1001
+ end
1002
+ end
1003
+
1004
+ # CreateDocCate返回参数结构体
1005
+ class CreateDocCateResponse < TencentCloud::Common::AbstractModel
1006
+ # @param CanAdd: 是否可新增
1007
+ # @type CanAdd: Boolean
1008
+ # @param CanEdit: 是否可编辑
1009
+ # @type CanEdit: Boolean
1010
+ # @param CanDelete: 是否可删除
1011
+ # @type CanDelete: Boolean
1012
+ # @param CateBizId: 分类业务ID
1013
+ # @type CateBizId: String
1014
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1015
+ # @type RequestId: String
1016
+
1017
+ attr_accessor :CanAdd, :CanEdit, :CanDelete, :CateBizId, :RequestId
1018
+
1019
+ def initialize(canadd=nil, canedit=nil, candelete=nil, catebizid=nil, requestid=nil)
1020
+ @CanAdd = canadd
1021
+ @CanEdit = canedit
1022
+ @CanDelete = candelete
1023
+ @CateBizId = catebizid
1024
+ @RequestId = requestid
1025
+ end
1026
+
1027
+ def deserialize(params)
1028
+ @CanAdd = params['CanAdd']
1029
+ @CanEdit = params['CanEdit']
1030
+ @CanDelete = params['CanDelete']
1031
+ @CateBizId = params['CateBizId']
1032
+ @RequestId = params['RequestId']
1033
+ end
1034
+ end
1035
+
850
1036
  # CreateQACate请求参数结构体
851
1037
  class CreateQACateRequest < TencentCloud::Common::AbstractModel
852
1038
  # @param BotBizId: 应用ID
@@ -1273,6 +1459,42 @@ module TencentCloud
1273
1459
  end
1274
1460
  end
1275
1461
 
1462
+ # DeleteDocCate请求参数结构体
1463
+ class DeleteDocCateRequest < TencentCloud::Common::AbstractModel
1464
+ # @param BotBizId: 应用ID
1465
+ # @type BotBizId: String
1466
+ # @param CateBizId: 分类业务ID
1467
+ # @type CateBizId: String
1468
+
1469
+ attr_accessor :BotBizId, :CateBizId
1470
+
1471
+ def initialize(botbizid=nil, catebizid=nil)
1472
+ @BotBizId = botbizid
1473
+ @CateBizId = catebizid
1474
+ end
1475
+
1476
+ def deserialize(params)
1477
+ @BotBizId = params['BotBizId']
1478
+ @CateBizId = params['CateBizId']
1479
+ end
1480
+ end
1481
+
1482
+ # DeleteDocCate返回参数结构体
1483
+ class DeleteDocCateResponse < TencentCloud::Common::AbstractModel
1484
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1485
+ # @type RequestId: String
1486
+
1487
+ attr_accessor :RequestId
1488
+
1489
+ def initialize(requestid=nil)
1490
+ @RequestId = requestid
1491
+ end
1492
+
1493
+ def deserialize(params)
1494
+ @RequestId = params['RequestId']
1495
+ end
1496
+ end
1497
+
1276
1498
  # DeleteDoc请求参数结构体
1277
1499
  class DeleteDocRequest < TencentCloud::Common::AbstractModel
1278
1500
  # @param DocBizIds: 文档业务ID列表
@@ -2554,7 +2776,7 @@ module TencentCloud
2554
2776
  # @type BotBizId: String
2555
2777
  # @param FileType: 文件类型,正常的文件名类型后缀,例如 xlsx、pdf、 docx、png 等
2556
2778
  # @type FileType: String
2557
- # @param IsPublic: IsPublic用于上传文件或图片时选择场景,当上传为对话端图片时IsPublic为true,上传文件(包括文档库文件和对话端文件)时IsPublic为false
2779
+ # @param IsPublic: IsPublic用于上传文件或图片时选择场景,当上传对话端图片时IsPublic为true,上传文件(包括文档库文件/图片等和对话端文件)时IsPublic为false
2558
2780
  # @type IsPublic: Boolean
2559
2781
  # @param TypeKey: 存储类型: offline:离线文件,realtime:实时文件;为空默认为offline
2560
2782
  # @type TypeKey: String
@@ -3961,6 +4183,46 @@ module TencentCloud
3961
4183
  end
3962
4184
  end
3963
4185
 
4186
+ # GroupDoc请求参数结构体
4187
+ class GroupDocRequest < TencentCloud::Common::AbstractModel
4188
+ # @param BotBizId: 应用ID
4189
+ # @type BotBizId: String
4190
+ # @param BizIds: 操作对象的业务ID列表
4191
+ # @type BizIds: Array
4192
+ # @param CateBizId: 分组 ID
4193
+ # @type CateBizId: String
4194
+
4195
+ attr_accessor :BotBizId, :BizIds, :CateBizId
4196
+
4197
+ def initialize(botbizid=nil, bizids=nil, catebizid=nil)
4198
+ @BotBizId = botbizid
4199
+ @BizIds = bizids
4200
+ @CateBizId = catebizid
4201
+ end
4202
+
4203
+ def deserialize(params)
4204
+ @BotBizId = params['BotBizId']
4205
+ @BizIds = params['BizIds']
4206
+ @CateBizId = params['CateBizId']
4207
+ end
4208
+ end
4209
+
4210
+ # GroupDoc返回参数结构体
4211
+ class GroupDocResponse < TencentCloud::Common::AbstractModel
4212
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4213
+ # @type RequestId: String
4214
+
4215
+ attr_accessor :RequestId
4216
+
4217
+ def initialize(requestid=nil)
4218
+ @RequestId = requestid
4219
+ end
4220
+
4221
+ def deserialize(params)
4222
+ @RequestId = params['RequestId']
4223
+ end
4224
+ end
4225
+
3964
4226
  # GroupQA请求参数结构体
3965
4227
  class GroupQARequest < TencentCloud::Common::AbstractModel
3966
4228
  # @param BotBizId: 应用ID
@@ -4237,6 +4499,38 @@ module TencentCloud
4237
4499
  end
4238
4500
  end
4239
4501
 
4502
+ # 应用使用知识库容量详情
4503
+ class KnowledgeDetail < TencentCloud::Common::AbstractModel
4504
+ # @param AppName: 应用名称
4505
+ # 注意:此字段可能返回 null,表示取不到有效值。
4506
+ # @type AppName: String
4507
+ # @param UsedCharSize: 已用字符数
4508
+ # 注意:此字段可能返回 null,表示取不到有效值。
4509
+ # @type UsedCharSize: String
4510
+ # @param Proportion: 使用占比
4511
+ # 注意:此字段可能返回 null,表示取不到有效值。
4512
+ # @type Proportion: Float
4513
+ # @param ExceedCharSize: 超量字符数
4514
+ # 注意:此字段可能返回 null,表示取不到有效值。
4515
+ # @type ExceedCharSize: String
4516
+
4517
+ attr_accessor :AppName, :UsedCharSize, :Proportion, :ExceedCharSize
4518
+
4519
+ def initialize(appname=nil, usedcharsize=nil, proportion=nil, exceedcharsize=nil)
4520
+ @AppName = appname
4521
+ @UsedCharSize = usedcharsize
4522
+ @Proportion = proportion
4523
+ @ExceedCharSize = exceedcharsize
4524
+ end
4525
+
4526
+ def deserialize(params)
4527
+ @AppName = params['AppName']
4528
+ @UsedCharSize = params['UsedCharSize']
4529
+ @Proportion = params['Proportion']
4530
+ @ExceedCharSize = params['ExceedCharSize']
4531
+ end
4532
+ end
4533
+
4240
4534
  # 知识问答配置
4241
4535
  class KnowledgeQaConfig < TencentCloud::Common::AbstractModel
4242
4536
  # @param Greeting: 欢迎语,200字符以内
@@ -4534,6 +4828,61 @@ module TencentCloud
4534
4828
  end
4535
4829
  end
4536
4830
 
4831
+ # ListAppKnowledgeDetail请求参数结构体
4832
+ class ListAppKnowledgeDetailRequest < TencentCloud::Common::AbstractModel
4833
+ # @param PageNumber: 页码
4834
+ # @type PageNumber: Integer
4835
+ # @param PageSize: 页面大小
4836
+ # @type PageSize: Integer
4837
+ # @param AppBizIds: 应用ID列表
4838
+ # @type AppBizIds: Array
4839
+
4840
+ attr_accessor :PageNumber, :PageSize, :AppBizIds
4841
+
4842
+ def initialize(pagenumber=nil, pagesize=nil, appbizids=nil)
4843
+ @PageNumber = pagenumber
4844
+ @PageSize = pagesize
4845
+ @AppBizIds = appbizids
4846
+ end
4847
+
4848
+ def deserialize(params)
4849
+ @PageNumber = params['PageNumber']
4850
+ @PageSize = params['PageSize']
4851
+ @AppBizIds = params['AppBizIds']
4852
+ end
4853
+ end
4854
+
4855
+ # ListAppKnowledgeDetail返回参数结构体
4856
+ class ListAppKnowledgeDetailResponse < TencentCloud::Common::AbstractModel
4857
+ # @param Total: 列表总数
4858
+ # @type Total: Integer
4859
+ # @param List: 应用使用知识库容量详情
4860
+ # @type List: Array
4861
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4862
+ # @type RequestId: String
4863
+
4864
+ attr_accessor :Total, :List, :RequestId
4865
+
4866
+ def initialize(total=nil, list=nil, requestid=nil)
4867
+ @Total = total
4868
+ @List = list
4869
+ @RequestId = requestid
4870
+ end
4871
+
4872
+ def deserialize(params)
4873
+ @Total = params['Total']
4874
+ unless params['List'].nil?
4875
+ @List = []
4876
+ params['List'].each do |i|
4877
+ knowledgedetail_tmp = KnowledgeDetail.new
4878
+ knowledgedetail_tmp.deserialize(i)
4879
+ @List << knowledgedetail_tmp
4880
+ end
4881
+ end
4882
+ @RequestId = params['RequestId']
4883
+ end
4884
+ end
4885
+
4537
4886
  # ListApp请求参数结构体
4538
4887
  class ListAppRequest < TencentCloud::Common::AbstractModel
4539
4888
  # @param AppType: 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取
@@ -4664,6 +5013,49 @@ module TencentCloud
4664
5013
  end
4665
5014
  end
4666
5015
 
5016
+ # ListDocCate请求参数结构体
5017
+ class ListDocCateRequest < TencentCloud::Common::AbstractModel
5018
+ # @param BotBizId: 应用ID
5019
+ # @type BotBizId: String
5020
+
5021
+ attr_accessor :BotBizId
5022
+
5023
+ def initialize(botbizid=nil)
5024
+ @BotBizId = botbizid
5025
+ end
5026
+
5027
+ def deserialize(params)
5028
+ @BotBizId = params['BotBizId']
5029
+ end
5030
+ end
5031
+
5032
+ # ListDocCate返回参数结构体
5033
+ class ListDocCateResponse < TencentCloud::Common::AbstractModel
5034
+ # @param List: 列表
5035
+ # @type List: Array
5036
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5037
+ # @type RequestId: String
5038
+
5039
+ attr_accessor :List, :RequestId
5040
+
5041
+ def initialize(list=nil, requestid=nil)
5042
+ @List = list
5043
+ @RequestId = requestid
5044
+ end
5045
+
5046
+ def deserialize(params)
5047
+ unless params['List'].nil?
5048
+ @List = []
5049
+ params['List'].each do |i|
5050
+ cateinfo_tmp = CateInfo.new
5051
+ cateinfo_tmp.deserialize(i)
5052
+ @List << cateinfo_tmp
5053
+ end
5054
+ end
5055
+ @RequestId = params['RequestId']
5056
+ end
5057
+ end
5058
+
4667
5059
  # 文档列表详情描述
4668
5060
  class ListDocItem < TencentCloud::Common::AbstractModel
4669
5061
  # @param DocBizId: 文档ID
@@ -5788,6 +6180,85 @@ module TencentCloud
5788
6180
  end
5789
6181
  end
5790
6182
 
6183
+ # ListUsageCallDetail请求参数结构体
6184
+ class ListUsageCallDetailRequest < TencentCloud::Common::AbstractModel
6185
+ # @param ModelName: 模型标识
6186
+ # @type ModelName: String
6187
+ # @param StartTime: 开始时间
6188
+ # @type StartTime: String
6189
+ # @param EndTime: 结束时间
6190
+ # @type EndTime: String
6191
+ # @param PageNumber: 页码
6192
+ # @type PageNumber: Integer
6193
+ # @param PageSize: 分页数量
6194
+ # @type PageSize: Integer
6195
+ # @param UinAccount: uin列表
6196
+ # @type UinAccount: Array
6197
+ # @param AppBizIds: 应用ID列表
6198
+ # @type AppBizIds: Array
6199
+ # @param CallType: 调用类型列表
6200
+ # @type CallType: String
6201
+ # @param SubScenes: 筛选子场景
6202
+ # @type SubScenes: Array
6203
+
6204
+ attr_accessor :ModelName, :StartTime, :EndTime, :PageNumber, :PageSize, :UinAccount, :AppBizIds, :CallType, :SubScenes
6205
+
6206
+ def initialize(modelname=nil, starttime=nil, endtime=nil, pagenumber=nil, pagesize=nil, uinaccount=nil, appbizids=nil, calltype=nil, subscenes=nil)
6207
+ @ModelName = modelname
6208
+ @StartTime = starttime
6209
+ @EndTime = endtime
6210
+ @PageNumber = pagenumber
6211
+ @PageSize = pagesize
6212
+ @UinAccount = uinaccount
6213
+ @AppBizIds = appbizids
6214
+ @CallType = calltype
6215
+ @SubScenes = subscenes
6216
+ end
6217
+
6218
+ def deserialize(params)
6219
+ @ModelName = params['ModelName']
6220
+ @StartTime = params['StartTime']
6221
+ @EndTime = params['EndTime']
6222
+ @PageNumber = params['PageNumber']
6223
+ @PageSize = params['PageSize']
6224
+ @UinAccount = params['UinAccount']
6225
+ @AppBizIds = params['AppBizIds']
6226
+ @CallType = params['CallType']
6227
+ @SubScenes = params['SubScenes']
6228
+ end
6229
+ end
6230
+
6231
+ # ListUsageCallDetail返回参数结构体
6232
+ class ListUsageCallDetailResponse < TencentCloud::Common::AbstractModel
6233
+ # @param Total: 列表总数
6234
+ # @type Total: Integer
6235
+ # @param List: 列表
6236
+ # @type List: Array
6237
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6238
+ # @type RequestId: String
6239
+
6240
+ attr_accessor :Total, :List, :RequestId
6241
+
6242
+ def initialize(total=nil, list=nil, requestid=nil)
6243
+ @Total = total
6244
+ @List = list
6245
+ @RequestId = requestid
6246
+ end
6247
+
6248
+ def deserialize(params)
6249
+ @Total = params['Total']
6250
+ unless params['List'].nil?
6251
+ @List = []
6252
+ params['List'].each do |i|
6253
+ calldetail_tmp = CallDetail.new
6254
+ calldetail_tmp.deserialize(i)
6255
+ @List << calldetail_tmp
6256
+ end
6257
+ end
6258
+ @RequestId = params['RequestId']
6259
+ end
6260
+ end
6261
+
5791
6262
  # 一条message代表一条对话记录
5792
6263
  # role表示角色 user或者assistant
5793
6264
  # content表示对话内容
@@ -6086,6 +6557,46 @@ module TencentCloud
6086
6557
  end
6087
6558
  end
6088
6559
 
6560
+ # ModifyDocCate请求参数结构体
6561
+ class ModifyDocCateRequest < TencentCloud::Common::AbstractModel
6562
+ # @param BotBizId: 应用ID
6563
+ # @type BotBizId: String
6564
+ # @param Name: 分类名称
6565
+ # @type Name: String
6566
+ # @param CateBizId: 分类业务ID
6567
+ # @type CateBizId: String
6568
+
6569
+ attr_accessor :BotBizId, :Name, :CateBizId
6570
+
6571
+ def initialize(botbizid=nil, name=nil, catebizid=nil)
6572
+ @BotBizId = botbizid
6573
+ @Name = name
6574
+ @CateBizId = catebizid
6575
+ end
6576
+
6577
+ def deserialize(params)
6578
+ @BotBizId = params['BotBizId']
6579
+ @Name = params['Name']
6580
+ @CateBizId = params['CateBizId']
6581
+ end
6582
+ end
6583
+
6584
+ # ModifyDocCate返回参数结构体
6585
+ class ModifyDocCateResponse < TencentCloud::Common::AbstractModel
6586
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6587
+ # @type RequestId: String
6588
+
6589
+ attr_accessor :RequestId
6590
+
6591
+ def initialize(requestid=nil)
6592
+ @RequestId = requestid
6593
+ end
6594
+
6595
+ def deserialize(params)
6596
+ @RequestId = params['RequestId']
6597
+ end
6598
+ end
6599
+
6089
6600
  # ModifyDoc请求参数结构体
6090
6601
  class ModifyDocRequest < TencentCloud::Common::AbstractModel
6091
6602
  # @param BotBizId: 应用ID
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.954
4
+ version: 3.0.955
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud