tencentcloud-sdk-lke 3.0.848 → 3.0.850

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be82341fdae17ff8ca4a585fb6865be781d03e04
4
- data.tar.gz: bafb55ffeed83835e5701b0dccd15f20a3427f1a
3
+ metadata.gz: fe33895b9187655f09e6885e8cd1201eb572dd5c
4
+ data.tar.gz: c39a762da306537ed343977f3fb69ef22b33d0cd
5
5
  SHA512:
6
- metadata.gz: 79c07807294bd79cf91d7d6b97ccdbd1d7a77add8a53680d4ea6e954c78bd5c9e91496bf9c9bc8933e95270d6dbb67052b27f9c192b79853b76fc1c01212b551
7
- data.tar.gz: b7d005c326a95849fd1c3fc8a8baf0216c6abf5aa3bf98c1f2ee338202f68c73247a6c1a936082ee5460f3aabc84ed2a6e75e87dc5949ad627d1eb1cbd169a96
6
+ metadata.gz: 3cd99dbe4ce10db0a47c6d3b960f9b38d3a838d6f353d6488fa74d6ae38ffa705a0f671eaf7b48b7cfc56d583585c33f6092a8bad9250ac4e15d9f0a6349846b
7
+ data.tar.gz: 30b6295ac2ec6019efb6ca3ef74ccfc652373f08d8fa0b2e11f84d4e30d3f673fa28e43b685e1618a0363fec2c313c89c375f64a66df68d61e811b2534fdf154
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.848
1
+ 3.0.850
@@ -77,6 +77,30 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 接口支持图片和PDF转可编辑word格式文件,将文件中的图片、文本、表格等元素识别,并根据位置进行还原。
81
+
82
+ # @param request: Request instance for ConvertDocument.
83
+ # @type request: :class:`Tencentcloud::lke::V20231130::ConvertDocumentRequest`
84
+ # @rtype: :class:`Tencentcloud::lke::V20231130::ConvertDocumentResponse`
85
+ def ConvertDocument(request)
86
+ body = send_request('ConvertDocument', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = ConvertDocumentResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
80
104
  # 创建知识引擎应用。
81
105
 
82
106
  # @param request: Request instance for CreateApp.
@@ -197,7 +221,10 @@ module TencentCloud
197
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
222
  end
199
223
 
200
- # 文档解析,异步接口。
224
+ # 本接口为异步接口的发起请求接口,用于发起文档解析任务。
225
+ # 文档解析支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
226
+
227
+ # 体验期间单账号限制qps仅为1,若有正式接入需要请与产研团队沟通开放。
201
228
 
202
229
  # @param request: Request instance for CreateReconstructDocumentFlow.
203
230
  # @type request: :class:`Tencentcloud::lke::V20231130::CreateReconstructDocumentFlowRequest`
@@ -317,7 +344,7 @@ module TencentCloud
317
344
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
345
  end
319
346
 
320
- # 创建企业
347
+ # 删除文档
321
348
 
322
349
  # @param request: Request instance for DeleteDoc.
323
350
  # @type request: :class:`Tencentcloud::lke::V20231130::DeleteDocRequest`
@@ -605,7 +632,7 @@ module TencentCloud
605
632
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
633
  end
607
634
 
608
- # 通过appKey获取机器人业务ID
635
+ # 通过appKey获取应用业务ID
609
636
 
610
637
  # @param request: Request instance for DescribeRobotBizIDByAppKey.
611
638
  # @type request: :class:`Tencentcloud::lke::V20231130::DescribeRobotBizIDByAppKeyRequest`
@@ -773,6 +800,30 @@ module TencentCloud
773
800
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
801
  end
775
802
 
803
+ # 回答类型数据统计
804
+
805
+ # @param request: Request instance for GetAnswerTypeDataCount.
806
+ # @type request: :class:`Tencentcloud::lke::V20231130::GetAnswerTypeDataCountRequest`
807
+ # @rtype: :class:`Tencentcloud::lke::V20231130::GetAnswerTypeDataCountResponse`
808
+ def GetAnswerTypeDataCount(request)
809
+ body = send_request('GetAnswerTypeDataCount', request.serialize)
810
+ response = JSON.parse(body)
811
+ if response['Response'].key?('Error') == false
812
+ model = GetAnswerTypeDataCountResponse.new
813
+ model.deserialize(response['Response'])
814
+ model
815
+ else
816
+ code = response['Response']['Error']['Code']
817
+ message = response['Response']['Error']['Message']
818
+ reqid = response['Response']['RequestId']
819
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
820
+ end
821
+ rescue TencentCloud::Common::TencentCloudSDKException => e
822
+ raise e
823
+ rescue StandardError => e
824
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
825
+ end
826
+
776
827
  # 获取模型列表
777
828
 
778
829
  # @param request: Request instance for GetAppKnowledgeCount.
@@ -870,6 +921,30 @@ module TencentCloud
870
921
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
871
922
  end
872
923
 
924
+ # 点赞点踩数据统计
925
+
926
+ # @param request: Request instance for GetLikeDataCount.
927
+ # @type request: :class:`Tencentcloud::lke::V20231130::GetLikeDataCountRequest`
928
+ # @rtype: :class:`Tencentcloud::lke::V20231130::GetLikeDataCountResponse`
929
+ def GetLikeDataCount(request)
930
+ body = send_request('GetLikeDataCount', request.serialize)
931
+ response = JSON.parse(body)
932
+ if response['Response'].key?('Error') == false
933
+ model = GetLikeDataCountResponse.new
934
+ model.deserialize(response['Response'])
935
+ model
936
+ else
937
+ code = response['Response']['Error']['Code']
938
+ message = response['Response']['Error']['Message']
939
+ reqid = response['Response']['RequestId']
940
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
941
+ end
942
+ rescue TencentCloud::Common::TencentCloudSDKException => e
943
+ raise e
944
+ rescue StandardError => e
945
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
946
+ end
947
+
873
948
  # 获取推荐问题
874
949
 
875
950
  # @param request: Request instance for GetMsgRecord.
@@ -894,7 +969,7 @@ module TencentCloud
894
969
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
895
970
  end
896
971
 
897
- # 获取文档解析任务执行结果
972
+ # 本接口为异步接口的查询结果接口,用于获取文档解析处理结果。
898
973
 
899
974
  # @param request: Request instance for GetReconstructDocumentResult.
900
975
  # @type request: :class:`Tencentcloud::lke::V20231130::GetReconstructDocumentResultRequest`
@@ -1590,6 +1665,7 @@ module TencentCloud
1590
1665
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1591
1666
  end
1592
1667
 
1668
+ # 接口即将下线,请切换使用新接口:[文档解析](https://cloud.tencent.com/document/product/1759/107504)
1593
1669
  # 解析拆分文档。该接口需开通文档解析原子能力后调用。文档解析原子能力内测中,如有需要请联系架构师或 [联系客服](https://cloud.tencent.com/act/event/Online_service) 。
1594
1670
 
1595
1671
  # @param request: Request instance for ParseDoc.
@@ -1689,6 +1765,8 @@ module TencentCloud
1689
1765
 
1690
1766
  # 支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
1691
1767
 
1768
+ # 体验期间单账号限制qps仅为1,若有正式接入需要请与产研团队沟通开放。
1769
+
1692
1770
  # @param request: Request instance for ReconstructDocument.
1693
1771
  # @type request: :class:`Tencentcloud::lke::V20231130::ReconstructDocumentRequest`
1694
1772
  # @rtype: :class:`Tencentcloud::lke::V20231130::ReconstructDocumentResponse`
@@ -139,14 +139,18 @@ module TencentCloud
139
139
  # @param AliasName: 模型别名
140
140
  # 注意:此字段可能返回 null,表示取不到有效值。
141
141
  # @type AliasName: String
142
+ # @param TokenBalance: token余量
143
+ # 注意:此字段可能返回 null,表示取不到有效值。
144
+ # @type TokenBalance: Float
142
145
 
143
- attr_accessor :Name, :Desc, :ContextLimit, :AliasName
146
+ attr_accessor :Name, :Desc, :ContextLimit, :AliasName, :TokenBalance
144
147
 
145
- def initialize(name=nil, desc=nil, contextlimit=nil, aliasname=nil)
148
+ def initialize(name=nil, desc=nil, contextlimit=nil, aliasname=nil, tokenbalance=nil)
146
149
  @Name = name
147
150
  @Desc = desc
148
151
  @ContextLimit = contextlimit
149
152
  @AliasName = aliasname
153
+ @TokenBalance = tokenbalance
150
154
  end
151
155
 
152
156
  def deserialize(params)
@@ -154,6 +158,7 @@ module TencentCloud
154
158
  @Desc = params['Desc']
155
159
  @ContextLimit = params['ContextLimit']
156
160
  @AliasName = params['AliasName']
161
+ @TokenBalance = params['TokenBalance']
157
162
  end
158
163
  end
159
164
 
@@ -331,7 +336,7 @@ module TencentCloud
331
336
 
332
337
  # CheckAttributeLabelExist请求参数结构体
333
338
  class CheckAttributeLabelExistRequest < TencentCloud::Common::AbstractModel
334
- # @param BotBizId: 机器人ID
339
+ # @param BotBizId: 应用ID
335
340
  # @type BotBizId: String
336
341
  # @param LabelName: 属性名称
337
342
  # @type LabelName: String
@@ -387,7 +392,7 @@ module TencentCloud
387
392
 
388
393
  # CheckAttributeLabelRefer请求参数结构体
389
394
  class CheckAttributeLabelReferRequest < TencentCloud::Common::AbstractModel
390
- # @param BotBizId: 机器人ID
395
+ # @param BotBizId: 应用ID
391
396
  # @type BotBizId: String
392
397
  # @param LoginUin: 登录用户主账号(集成商模式必填)
393
398
  # @type LoginUin: String
@@ -518,15 +523,19 @@ module TencentCloud
518
523
  # @param Content: 消息内容
519
524
  # 注意:此字段可能返回 null,表示取不到有效值。
520
525
  # @type Content: String
526
+ # @param FileInfos: 文档信息
527
+ # 注意:此字段可能返回 null,表示取不到有效值。
528
+ # @type FileInfos: Array
521
529
 
522
- attr_accessor :RecordBizId, :IsVisitor, :NickName, :Avatar, :Content
530
+ attr_accessor :RecordBizId, :IsVisitor, :NickName, :Avatar, :Content, :FileInfos
523
531
 
524
- def initialize(recordbizid=nil, isvisitor=nil, nickname=nil, avatar=nil, content=nil)
532
+ def initialize(recordbizid=nil, isvisitor=nil, nickname=nil, avatar=nil, content=nil, fileinfos=nil)
525
533
  @RecordBizId = recordbizid
526
534
  @IsVisitor = isvisitor
527
535
  @NickName = nickname
528
536
  @Avatar = avatar
529
537
  @Content = content
538
+ @FileInfos = fileinfos
530
539
  end
531
540
 
532
541
  def deserialize(params)
@@ -535,6 +544,71 @@ module TencentCloud
535
544
  @NickName = params['NickName']
536
545
  @Avatar = params['Avatar']
537
546
  @Content = params['Content']
547
+ unless params['FileInfos'].nil?
548
+ @FileInfos = []
549
+ params['FileInfos'].each do |i|
550
+ msgfileinfo_tmp = MsgFileInfo.new
551
+ msgfileinfo_tmp.deserialize(i)
552
+ @FileInfos << msgfileinfo_tmp
553
+ end
554
+ end
555
+ end
556
+ end
557
+
558
+ # ConvertDocument请求参数结构体
559
+ class ConvertDocumentRequest < TencentCloud::Common::AbstractModel
560
+ # @param FileUrl: 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
561
+ # @type FileUrl: String
562
+ # @param FileBase64: 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
563
+ # @type FileBase64: String
564
+ # @param FileStartPageNumber: 当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的起始页码,识别的页码包含当前值。
565
+ # @type FileStartPageNumber: Integer
566
+ # @param FileEndPageNumber: 当传入文件是PDF类型(FileType=PDF)时,用来指定pdf识别的结束页码,识别的页码包含当前值。
567
+ # 建议一次请求的页面不超过3页。
568
+ # @type FileEndPageNumber: Integer
569
+
570
+ attr_accessor :FileUrl, :FileBase64, :FileStartPageNumber, :FileEndPageNumber
571
+
572
+ def initialize(fileurl=nil, filebase64=nil, filestartpagenumber=nil, fileendpagenumber=nil)
573
+ @FileUrl = fileurl
574
+ @FileBase64 = filebase64
575
+ @FileStartPageNumber = filestartpagenumber
576
+ @FileEndPageNumber = fileendpagenumber
577
+ end
578
+
579
+ def deserialize(params)
580
+ @FileUrl = params['FileUrl']
581
+ @FileBase64 = params['FileBase64']
582
+ @FileStartPageNumber = params['FileStartPageNumber']
583
+ @FileEndPageNumber = params['FileEndPageNumber']
584
+ end
585
+ end
586
+
587
+ # ConvertDocument返回参数结构体
588
+ class ConvertDocumentResponse < TencentCloud::Common::AbstractModel
589
+ # @param WordRecognizeInfo: 识别生成的word文件base64编码的字符串
590
+ # 注意:此字段可能返回 null,表示取不到有效值。
591
+ # @type WordRecognizeInfo: Array
592
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
593
+ # @type RequestId: String
594
+
595
+ attr_accessor :WordRecognizeInfo, :RequestId
596
+
597
+ def initialize(wordrecognizeinfo=nil, requestid=nil)
598
+ @WordRecognizeInfo = wordrecognizeinfo
599
+ @RequestId = requestid
600
+ end
601
+
602
+ def deserialize(params)
603
+ unless params['WordRecognizeInfo'].nil?
604
+ @WordRecognizeInfo = []
605
+ params['WordRecognizeInfo'].each do |i|
606
+ wordrecognizeinfo_tmp = WordRecognizeInfo.new
607
+ wordrecognizeinfo_tmp.deserialize(i)
608
+ @WordRecognizeInfo << wordrecognizeinfo_tmp
609
+ end
610
+ end
611
+ @RequestId = params['RequestId']
538
612
  end
539
613
  end
540
614
 
@@ -604,7 +678,7 @@ module TencentCloud
604
678
 
605
679
  # CreateAttributeLabel请求参数结构体
606
680
  class CreateAttributeLabelRequest < TencentCloud::Common::AbstractModel
607
- # @param BotBizId: 机器人ID
681
+ # @param BotBizId: 应用ID
608
682
  # @type BotBizId: String
609
683
  # @param AttrKey: 属性标识
610
684
  # @type AttrKey: String
@@ -711,7 +785,7 @@ module TencentCloud
711
785
 
712
786
  # CreateQACate请求参数结构体
713
787
  class CreateQACateRequest < TencentCloud::Common::AbstractModel
714
- # @param BotBizId: 机器人ID
788
+ # @param BotBizId: 应用ID
715
789
  # @type BotBizId: String
716
790
  # @param ParentBizId: 父级业务ID
717
791
  # @type ParentBizId: String
@@ -767,7 +841,7 @@ module TencentCloud
767
841
 
768
842
  # CreateQA请求参数结构体
769
843
  class CreateQARequest < TencentCloud::Common::AbstractModel
770
- # @param BotBizId: 机器人ID
844
+ # @param BotBizId: 应用ID
771
845
  # @type BotBizId: String
772
846
  # @param Question: 问题
773
847
  # @type Question: String
@@ -865,15 +939,15 @@ module TencentCloud
865
939
 
866
940
  # CreateReconstructDocumentFlow请求参数结构体
867
941
  class CreateReconstructDocumentFlowRequest < TencentCloud::Common::AbstractModel
868
- # @param FileBase64: 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 ImageUrlImageBase64 必须提供一个,如果都提供,只使用 ImageUrl
942
+ # @param FileBase64: 文件的 Base64 值。 支持的文件格式:PNG、JPG、JPEG、PDF 支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件的 FileUrlFileBase64 必须提供一个,如果都提供,只使用 FileUrl
869
943
  # @type FileBase64: String
870
- # @param FileUrl: 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
944
+ # @param FileUrl: 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF 支持的文件大小:所下载文件经 Base64 编码后不超过 100M。文件下载时间不超过 15 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
871
945
  # @type FileUrl: String
872
- # @param FileStartPageNumber: 当传入文件是PDF类型(IsPdf=true)时,用来指定pdf识别的起始页码,识别的页码包含当前值。
946
+ # @param FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。
873
947
  # @type FileStartPageNumber: Integer
874
- # @param FileEndPageNumber: 当传入文件是PDF类型(IsPdf=true)时,用来指定pdf识别的结束页码,识别的页码包含当前值。
948
+ # @param FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为100,表示识别到pdf文件的第100页。单次调用最多支持识别100页内容,即FileEndPageNumber-FileStartPageNumber需要不大于100。
875
949
  # @type FileEndPageNumber: Integer
876
- # @param Config: 创建智能文档识别任务配置信息
950
+ # @param Config: 创建文档解析任务配置信息
877
951
  # @type Config: :class:`Tencentcloud::Lke.v20231130.models.CreateReconstructDocumentFlowConfig`
878
952
 
879
953
  attr_accessor :FileBase64, :FileUrl, :FileStartPageNumber, :FileEndPageNumber, :Config
@@ -920,7 +994,7 @@ module TencentCloud
920
994
 
921
995
  # CreateRejectedQuestion请求参数结构体
922
996
  class CreateRejectedQuestionRequest < TencentCloud::Common::AbstractModel
923
- # @param BotBizId: 机器人ID
997
+ # @param BotBizId: 应用ID
924
998
  # @type BotBizId: String
925
999
  # @param Question: 拒答问题
926
1000
 
@@ -1070,7 +1144,7 @@ module TencentCloud
1070
1144
 
1071
1145
  # DeleteAttributeLabel请求参数结构体
1072
1146
  class DeleteAttributeLabelRequest < TencentCloud::Common::AbstractModel
1073
- # @param BotBizId: 机器人ID
1147
+ # @param BotBizId: 应用ID
1074
1148
  # @type BotBizId: String
1075
1149
  # @param AttributeBizIds: 属性ID
1076
1150
  # @type AttributeBizIds: Array
@@ -1116,7 +1190,7 @@ module TencentCloud
1116
1190
  class DeleteDocRequest < TencentCloud::Common::AbstractModel
1117
1191
  # @param DocBizIds: 文档业务ID列表
1118
1192
  # @type DocBizIds: Array
1119
- # @param BotBizId: 机器人ID
1193
+ # @param BotBizId: 应用ID
1120
1194
  # @type BotBizId: String
1121
1195
 
1122
1196
  attr_accessor :DocBizIds, :BotBizId
@@ -1150,7 +1224,7 @@ module TencentCloud
1150
1224
 
1151
1225
  # DeleteQACate请求参数结构体
1152
1226
  class DeleteQACateRequest < TencentCloud::Common::AbstractModel
1153
- # @param BotBizId: 机器人ID
1227
+ # @param BotBizId: 应用ID
1154
1228
  # @type BotBizId: String
1155
1229
  # @param CateBizId: 分类业务ID
1156
1230
  # @type CateBizId: String
@@ -1186,7 +1260,7 @@ module TencentCloud
1186
1260
 
1187
1261
  # DeleteQA请求参数结构体
1188
1262
  class DeleteQARequest < TencentCloud::Common::AbstractModel
1189
- # @param BotBizId: 机器人ID
1263
+ # @param BotBizId: 应用ID
1190
1264
  # @type BotBizId: String
1191
1265
  # @param QaBizIds: 问答ID
1192
1266
  # @type QaBizIds: Array
@@ -1222,7 +1296,7 @@ module TencentCloud
1222
1296
 
1223
1297
  # DeleteRejectedQuestion请求参数结构体
1224
1298
  class DeleteRejectedQuestionRequest < TencentCloud::Common::AbstractModel
1225
- # @param BotBizId: 机器人ID
1299
+ # @param BotBizId: 应用ID
1226
1300
  # @type BotBizId: String
1227
1301
  # @param RejectedBizIds: 拒答问题来源的数据源唯一id
1228
1302
 
@@ -1358,7 +1432,7 @@ module TencentCloud
1358
1432
 
1359
1433
  # DescribeAttributeLabel请求参数结构体
1360
1434
  class DescribeAttributeLabelRequest < TencentCloud::Common::AbstractModel
1361
- # @param BotBizId: 机器人ID
1435
+ # @param BotBizId: 应用ID
1362
1436
  # @type BotBizId: String
1363
1437
  # @param AttributeBizId: 属性ID
1364
1438
  # @type AttributeBizId: String
@@ -1480,7 +1554,7 @@ module TencentCloud
1480
1554
 
1481
1555
  # DescribeDoc请求参数结构体
1482
1556
  class DescribeDocRequest < TencentCloud::Common::AbstractModel
1483
- # @param BotBizId: 机器人ID
1557
+ # @param BotBizId: 应用ID
1484
1558
  # @type BotBizId: String
1485
1559
  # @param DocBizId: 文档ID
1486
1560
  # @type DocBizId: String
@@ -1617,7 +1691,7 @@ module TencentCloud
1617
1691
  class DescribeQARequest < TencentCloud::Common::AbstractModel
1618
1692
  # @param QaBizId: QA业务ID
1619
1693
  # @type QaBizId: String
1620
- # @param BotBizId: 机器人ID
1694
+ # @param BotBizId: 应用ID
1621
1695
  # @type BotBizId: String
1622
1696
 
1623
1697
  attr_accessor :QaBizId, :BotBizId
@@ -1761,7 +1835,7 @@ module TencentCloud
1761
1835
 
1762
1836
  # DescribeRefer请求参数结构体
1763
1837
  class DescribeReferRequest < TencentCloud::Common::AbstractModel
1764
- # @param BotBizId: 机器人ID
1838
+ # @param BotBizId: 应用ID
1765
1839
  # @type BotBizId: String
1766
1840
  # @param ReferBizIds: 引用ID
1767
1841
  # @type ReferBizIds: Array
@@ -1916,7 +1990,7 @@ module TencentCloud
1916
1990
 
1917
1991
  # DescribeRobotBizIDByAppKey请求参数结构体
1918
1992
  class DescribeRobotBizIDByAppKeyRequest < TencentCloud::Common::AbstractModel
1919
- # @param AppKey: 机器人appkey
1993
+ # @param AppKey: 应用appkey
1920
1994
  # @type AppKey: String
1921
1995
 
1922
1996
  attr_accessor :AppKey
@@ -1932,7 +2006,7 @@ module TencentCloud
1932
2006
 
1933
2007
  # DescribeRobotBizIDByAppKey返回参数结构体
1934
2008
  class DescribeRobotBizIDByAppKeyResponse < TencentCloud::Common::AbstractModel
1935
- # @param BotBizId: 机器人业务ID
2009
+ # @param BotBizId: 应用业务ID
1936
2010
  # @type BotBizId: String
1937
2011
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1938
2012
  # @type RequestId: String
@@ -1952,25 +2026,29 @@ module TencentCloud
1952
2026
 
1953
2027
  # DescribeStorageCredential请求参数结构体
1954
2028
  class DescribeStorageCredentialRequest < TencentCloud::Common::AbstractModel
1955
- # @param BotBizId: 机器人ID
2029
+ # @param BotBizId: 应用ID
1956
2030
  # @type BotBizId: String
1957
- # @param FileType: 文件类型
2031
+ # @param FileType: 文件类型,正常的文件名类型后缀,例如 xlsx、pdf、 docx、png 等
1958
2032
  # @type FileType: String
1959
- # @param IsPublic: 权限场景,是否公有权限
2033
+ # @param IsPublic: IsPublic为空用于上传文件时选择场景,当上传为图片文件是IsPublic为true,上传文档文件时场景IsPublic为false
1960
2034
  # @type IsPublic: Boolean
2035
+ # @param TypeKey: 存储类型: offline:离线文件,realtime:实时文件;为空默认为offline
2036
+ # @type TypeKey: String
1961
2037
 
1962
- attr_accessor :BotBizId, :FileType, :IsPublic
2038
+ attr_accessor :BotBizId, :FileType, :IsPublic, :TypeKey
1963
2039
 
1964
- def initialize(botbizid=nil, filetype=nil, ispublic=nil)
2040
+ def initialize(botbizid=nil, filetype=nil, ispublic=nil, typekey=nil)
1965
2041
  @BotBizId = botbizid
1966
2042
  @FileType = filetype
1967
2043
  @IsPublic = ispublic
2044
+ @TypeKey = typekey
1968
2045
  end
1969
2046
 
1970
2047
  def deserialize(params)
1971
2048
  @BotBizId = params['BotBizId']
1972
2049
  @FileType = params['FileType']
1973
2050
  @IsPublic = params['IsPublic']
2051
+ @TypeKey = params['TypeKey']
1974
2052
  end
1975
2053
  end
1976
2054
 
@@ -1994,7 +2072,7 @@ module TencentCloud
1994
2072
  # @type CorpUin: String
1995
2073
  # @param ImagePath: 图片存储目录
1996
2074
  # @type ImagePath: String
1997
- # @param UploadPath: 上传存储目录
2075
+ # @param UploadPath: 上传存储路径,到具体文件
1998
2076
  # @type UploadPath: String
1999
2077
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2000
2078
  # @type RequestId: String
@@ -2035,7 +2113,7 @@ module TencentCloud
2035
2113
 
2036
2114
  # DescribeUnsatisfiedReplyContext请求参数结构体
2037
2115
  class DescribeUnsatisfiedReplyContextRequest < TencentCloud::Common::AbstractModel
2038
- # @param BotBizId: 机器人ID
2116
+ # @param BotBizId: 应用ID
2039
2117
  # @type BotBizId: String
2040
2118
  # @param ReplyBizId: 回复ID
2041
2119
  # @type ReplyBizId: String
@@ -2228,7 +2306,7 @@ module TencentCloud
2228
2306
 
2229
2307
  # ExportAttributeLabel请求参数结构体
2230
2308
  class ExportAttributeLabelRequest < TencentCloud::Common::AbstractModel
2231
- # @param BotBizId: 机器人ID
2309
+ # @param BotBizId: 应用ID
2232
2310
  # @type BotBizId: String
2233
2311
  # @param LoginUin: 登录用户主账号(集成商模式必填)
2234
2312
  # @type LoginUin: String
@@ -2283,7 +2361,7 @@ module TencentCloud
2283
2361
 
2284
2362
  # ExportQAList请求参数结构体
2285
2363
  class ExportQAListRequest < TencentCloud::Common::AbstractModel
2286
- # @param BotBizId: 机器人ID
2364
+ # @param BotBizId: 应用ID
2287
2365
  # @type BotBizId: String
2288
2366
  # @param QaBizIds: QA业务ID
2289
2367
  # @type QaBizIds: Array
@@ -2326,7 +2404,7 @@ module TencentCloud
2326
2404
 
2327
2405
  # ExportUnsatisfiedReply请求参数结构体
2328
2406
  class ExportUnsatisfiedReplyRequest < TencentCloud::Common::AbstractModel
2329
- # @param BotBizId: 机器人ID
2407
+ # @param BotBizId: 应用ID
2330
2408
  # @type BotBizId: String
2331
2409
  # @param ReplyBizIds: 勾选导出ID列表
2332
2410
  # @type ReplyBizIds: Array
@@ -2375,6 +2453,43 @@ module TencentCloud
2375
2453
  end
2376
2454
  end
2377
2455
 
2456
+ # 实时上传的文件信息
2457
+ class FileInfo < TencentCloud::Common::AbstractModel
2458
+ # @param FileName: 文件名称
2459
+ # 注意:此字段可能返回 null,表示取不到有效值。
2460
+ # @type FileName: String
2461
+ # @param FileSize: 文件大小
2462
+ # 注意:此字段可能返回 null,表示取不到有效值。
2463
+ # @type FileSize: String
2464
+ # @param FileUrl: 文件的URL地址,COS地址
2465
+ # 注意:此字段可能返回 null,表示取不到有效值。
2466
+ # @type FileUrl: String
2467
+ # @param FileType: 文件类型
2468
+ # 注意:此字段可能返回 null,表示取不到有效值。
2469
+ # @type FileType: String
2470
+ # @param DocId: 解析后返回的DocID
2471
+ # 注意:此字段可能返回 null,表示取不到有效值。
2472
+ # @type DocId: String
2473
+
2474
+ attr_accessor :FileName, :FileSize, :FileUrl, :FileType, :DocId
2475
+
2476
+ def initialize(filename=nil, filesize=nil, fileurl=nil, filetype=nil, docid=nil)
2477
+ @FileName = filename
2478
+ @FileSize = filesize
2479
+ @FileUrl = fileurl
2480
+ @FileType = filetype
2481
+ @DocId = docid
2482
+ end
2483
+
2484
+ def deserialize(params)
2485
+ @FileName = params['FileName']
2486
+ @FileSize = params['FileSize']
2487
+ @FileUrl = params['FileUrl']
2488
+ @FileType = params['FileType']
2489
+ @DocId = params['DocId']
2490
+ end
2491
+ end
2492
+
2378
2493
  # 不满意回复检索过滤
2379
2494
  class Filters < TencentCloud::Common::AbstractModel
2380
2495
  # @param Query: 检索,用户问题或答案
@@ -2397,7 +2512,7 @@ module TencentCloud
2397
2512
 
2398
2513
  # GenerateQA请求参数结构体
2399
2514
  class GenerateQARequest < TencentCloud::Common::AbstractModel
2400
- # @param BotBizId: 机器人ID
2515
+ # @param BotBizId: 应用ID
2401
2516
  # @type BotBizId: String
2402
2517
  # @param DocBizIds: 文档ID
2403
2518
  # @type DocBizIds: Array
@@ -2431,6 +2546,98 @@ module TencentCloud
2431
2546
  end
2432
2547
  end
2433
2548
 
2549
+ # GetAnswerTypeDataCount请求参数结构体
2550
+ class GetAnswerTypeDataCountRequest < TencentCloud::Common::AbstractModel
2551
+ # @param StartTime: 开始日期
2552
+ # @type StartTime: Integer
2553
+ # @param EndTime: 结束日期
2554
+ # @type EndTime: Integer
2555
+ # @param AppBizId: 应用id
2556
+ # @type AppBizId: Array
2557
+ # @param Type: 消息来源(1、分享用户端 2、对话API 3、对话测试 4、应用评测)
2558
+ # @type Type: Integer
2559
+ # @param LoginUin: 登录用户主账号(集成商模式必填)
2560
+ # @type LoginUin: String
2561
+ # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
2562
+ # @type LoginSubAccountUin: String
2563
+
2564
+ attr_accessor :StartTime, :EndTime, :AppBizId, :Type, :LoginUin, :LoginSubAccountUin
2565
+
2566
+ def initialize(starttime=nil, endtime=nil, appbizid=nil, type=nil, loginuin=nil, loginsubaccountuin=nil)
2567
+ @StartTime = starttime
2568
+ @EndTime = endtime
2569
+ @AppBizId = appbizid
2570
+ @Type = type
2571
+ @LoginUin = loginuin
2572
+ @LoginSubAccountUin = loginsubaccountuin
2573
+ end
2574
+
2575
+ def deserialize(params)
2576
+ @StartTime = params['StartTime']
2577
+ @EndTime = params['EndTime']
2578
+ @AppBizId = params['AppBizId']
2579
+ @Type = params['Type']
2580
+ @LoginUin = params['LoginUin']
2581
+ @LoginSubAccountUin = params['LoginSubAccountUin']
2582
+ end
2583
+ end
2584
+
2585
+ # GetAnswerTypeDataCount返回参数结构体
2586
+ class GetAnswerTypeDataCountResponse < TencentCloud::Common::AbstractModel
2587
+ # @param Total: 总消息数
2588
+ # @type Total: Integer
2589
+ # @param ModelReplyCount: 大模型直接回复总数
2590
+ # @type ModelReplyCount: Integer
2591
+ # @param KnowledgeCount: 知识型回复总数
2592
+ # @type KnowledgeCount: Integer
2593
+ # @param TaskFlowCount: 任务流回复总数
2594
+ # @type TaskFlowCount: Integer
2595
+ # @param SearchEngineCount: 搜索引擎回复总数
2596
+ # @type SearchEngineCount: Integer
2597
+ # @param ImageUnderstandingCount: 图片理解回复总数
2598
+ # @type ImageUnderstandingCount: Integer
2599
+ # @param RejectCount: 拒答回复总数
2600
+ # @type RejectCount: Integer
2601
+ # @param SensitiveCount: 敏感回复总数
2602
+ # @type SensitiveCount: Integer
2603
+ # @param ConcurrentLimitCount: 并发超限回复总数
2604
+ # @type ConcurrentLimitCount: Integer
2605
+ # @param UnknownIssuesCount: 未知问题回复总数
2606
+ # @type UnknownIssuesCount: Integer
2607
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2608
+ # @type RequestId: String
2609
+
2610
+ attr_accessor :Total, :ModelReplyCount, :KnowledgeCount, :TaskFlowCount, :SearchEngineCount, :ImageUnderstandingCount, :RejectCount, :SensitiveCount, :ConcurrentLimitCount, :UnknownIssuesCount, :RequestId
2611
+
2612
+ def initialize(total=nil, modelreplycount=nil, knowledgecount=nil, taskflowcount=nil, searchenginecount=nil, imageunderstandingcount=nil, rejectcount=nil, sensitivecount=nil, concurrentlimitcount=nil, unknownissuescount=nil, requestid=nil)
2613
+ @Total = total
2614
+ @ModelReplyCount = modelreplycount
2615
+ @KnowledgeCount = knowledgecount
2616
+ @TaskFlowCount = taskflowcount
2617
+ @SearchEngineCount = searchenginecount
2618
+ @ImageUnderstandingCount = imageunderstandingcount
2619
+ @RejectCount = rejectcount
2620
+ @SensitiveCount = sensitivecount
2621
+ @ConcurrentLimitCount = concurrentlimitcount
2622
+ @UnknownIssuesCount = unknownissuescount
2623
+ @RequestId = requestid
2624
+ end
2625
+
2626
+ def deserialize(params)
2627
+ @Total = params['Total']
2628
+ @ModelReplyCount = params['ModelReplyCount']
2629
+ @KnowledgeCount = params['KnowledgeCount']
2630
+ @TaskFlowCount = params['TaskFlowCount']
2631
+ @SearchEngineCount = params['SearchEngineCount']
2632
+ @ImageUnderstandingCount = params['ImageUnderstandingCount']
2633
+ @RejectCount = params['RejectCount']
2634
+ @SensitiveCount = params['SensitiveCount']
2635
+ @ConcurrentLimitCount = params['ConcurrentLimitCount']
2636
+ @UnknownIssuesCount = params['UnknownIssuesCount']
2637
+ @RequestId = params['RequestId']
2638
+ end
2639
+ end
2640
+
2434
2641
  # GetAppKnowledgeCount请求参数结构体
2435
2642
  class GetAppKnowledgeCountRequest < TencentCloud::Common::AbstractModel
2436
2643
  # @param Type: 类型:doc-文档;qa-问答对
@@ -2532,19 +2739,23 @@ module TencentCloud
2532
2739
  class GetDocPreviewRequest < TencentCloud::Common::AbstractModel
2533
2740
  # @param DocBizId: 文档业务ID
2534
2741
  # @type DocBizId: String
2535
- # @param BotBizId: 机器人ID
2742
+ # @param BotBizId: 应用ID
2536
2743
  # @type BotBizId: String
2744
+ # @param TypeKey: 存储类型: offline:离线文件,realtime:实时文件;为空默认为offline
2745
+ # @type TypeKey: String
2537
2746
 
2538
- attr_accessor :DocBizId, :BotBizId
2747
+ attr_accessor :DocBizId, :BotBizId, :TypeKey
2539
2748
 
2540
- def initialize(docbizid=nil, botbizid=nil)
2749
+ def initialize(docbizid=nil, botbizid=nil, typekey=nil)
2541
2750
  @DocBizId = docbizid
2542
2751
  @BotBizId = botbizid
2752
+ @TypeKey = typekey
2543
2753
  end
2544
2754
 
2545
2755
  def deserialize(params)
2546
2756
  @DocBizId = params['DocBizId']
2547
2757
  @BotBizId = params['BotBizId']
2758
+ @TypeKey = params['TypeKey']
2548
2759
  end
2549
2760
  end
2550
2761
 
@@ -2642,6 +2853,86 @@ module TencentCloud
2642
2853
  end
2643
2854
  end
2644
2855
 
2856
+ # GetLikeDataCount请求参数结构体
2857
+ class GetLikeDataCountRequest < TencentCloud::Common::AbstractModel
2858
+ # @param StartTime: 开始日期
2859
+ # @type StartTime: Integer
2860
+ # @param EndTime: 结束日期
2861
+ # @type EndTime: Integer
2862
+ # @param AppBizId: 应用id
2863
+ # @type AppBizId: Array
2864
+ # @param Type: 消息来源(1、分享用户端 2、对话API)
2865
+ # @type Type: Integer
2866
+ # @param LoginUin: 登录用户主账号(集成商模式必填)
2867
+ # @type LoginUin: String
2868
+ # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
2869
+ # @type LoginSubAccountUin: String
2870
+
2871
+ attr_accessor :StartTime, :EndTime, :AppBizId, :Type, :LoginUin, :LoginSubAccountUin
2872
+
2873
+ def initialize(starttime=nil, endtime=nil, appbizid=nil, type=nil, loginuin=nil, loginsubaccountuin=nil)
2874
+ @StartTime = starttime
2875
+ @EndTime = endtime
2876
+ @AppBizId = appbizid
2877
+ @Type = type
2878
+ @LoginUin = loginuin
2879
+ @LoginSubAccountUin = loginsubaccountuin
2880
+ end
2881
+
2882
+ def deserialize(params)
2883
+ @StartTime = params['StartTime']
2884
+ @EndTime = params['EndTime']
2885
+ @AppBizId = params['AppBizId']
2886
+ @Type = params['Type']
2887
+ @LoginUin = params['LoginUin']
2888
+ @LoginSubAccountUin = params['LoginSubAccountUin']
2889
+ end
2890
+ end
2891
+
2892
+ # GetLikeDataCount返回参数结构体
2893
+ class GetLikeDataCountResponse < TencentCloud::Common::AbstractModel
2894
+ # @param Total: 可评价消息数
2895
+ # @type Total: Integer
2896
+ # @param AppraisalTotal: 评价数
2897
+ # @type AppraisalTotal: Integer
2898
+ # @param ParticipationRate: 参评率
2899
+ # @type ParticipationRate: Float
2900
+ # @param LikeTotal: 点赞数
2901
+ # @type LikeTotal: Integer
2902
+ # @param LikeRate: 点赞率
2903
+ # @type LikeRate: Float
2904
+ # @param DislikeTotal: 点踩数
2905
+ # @type DislikeTotal: Integer
2906
+ # @param DislikeRate: 点踩率
2907
+ # @type DislikeRate: Float
2908
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2909
+ # @type RequestId: String
2910
+
2911
+ attr_accessor :Total, :AppraisalTotal, :ParticipationRate, :LikeTotal, :LikeRate, :DislikeTotal, :DislikeRate, :RequestId
2912
+
2913
+ def initialize(total=nil, appraisaltotal=nil, participationrate=nil, liketotal=nil, likerate=nil, disliketotal=nil, dislikerate=nil, requestid=nil)
2914
+ @Total = total
2915
+ @AppraisalTotal = appraisaltotal
2916
+ @ParticipationRate = participationrate
2917
+ @LikeTotal = liketotal
2918
+ @LikeRate = likerate
2919
+ @DislikeTotal = disliketotal
2920
+ @DislikeRate = dislikerate
2921
+ @RequestId = requestid
2922
+ end
2923
+
2924
+ def deserialize(params)
2925
+ @Total = params['Total']
2926
+ @AppraisalTotal = params['AppraisalTotal']
2927
+ @ParticipationRate = params['ParticipationRate']
2928
+ @LikeTotal = params['LikeTotal']
2929
+ @LikeRate = params['LikeRate']
2930
+ @DislikeTotal = params['DislikeTotal']
2931
+ @DislikeRate = params['DislikeRate']
2932
+ @RequestId = params['RequestId']
2933
+ end
2934
+ end
2935
+
2645
2936
  # GetMsgRecord请求参数结构体
2646
2937
  class GetMsgRecordRequest < TencentCloud::Common::AbstractModel
2647
2938
  # @param Type: 类型
@@ -2652,7 +2943,7 @@ module TencentCloud
2652
2943
  # @type SessionId: String
2653
2944
  # @param LastRecordId: 最后一条记录ID
2654
2945
  # @type LastRecordId: String
2655
- # @param BotAppKey: 机器人AppKey
2946
+ # @param BotAppKey: 应用AppKey
2656
2947
  # @type BotAppKey: String
2657
2948
  # @param Scene: 场景, 体验: 1; 正式: 2
2658
2949
  # @type Scene: Integer
@@ -2732,7 +3023,7 @@ module TencentCloud
2732
3023
  # @type Status: String
2733
3024
  # @param DocumentRecognizeResultUrl: 输入文件中嵌入的图片中文字内容的识别结果,存储在腾讯云cos的下载地址
2734
3025
  # @type DocumentRecognizeResultUrl: String
2735
- # @param FailedPages: 还原失败的页
3026
+ # @param FailedPages: 文档解析失败的页码
2736
3027
  # @type FailedPages: Array
2737
3028
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2738
3029
  # @type RequestId: String
@@ -2767,7 +3058,7 @@ module TencentCloud
2767
3058
  # @type TaskId: String
2768
3059
  # @param TaskType: 任务类型
2769
3060
  # @type TaskType: String
2770
- # @param BotBizId: 机器人ID
3061
+ # @param BotBizId: 应用ID
2771
3062
  # @type BotBizId: String
2772
3063
 
2773
3064
  attr_accessor :TaskId, :TaskType, :BotBizId
@@ -2851,7 +3142,7 @@ module TencentCloud
2851
3142
  class GetWsTokenRequest < TencentCloud::Common::AbstractModel
2852
3143
  # @param Type: 接入类型
2853
3144
  # @type Type: Integer
2854
- # @param BotAppKey: 机器人AppKey
3145
+ # @param BotAppKey: 应用AppKey
2855
3146
  # @type BotAppKey: String
2856
3147
  # @param VisitorBizId: 坐席ID
2857
3148
  # @type VisitorBizId: String
@@ -2886,25 +3177,34 @@ module TencentCloud
2886
3177
  class GetWsTokenResponse < TencentCloud::Common::AbstractModel
2887
3178
  # @param Token: token值
2888
3179
  # @type Token: String
3180
+ # @param Balance: 余额; 余额大于 0 时表示有效.
3181
+ # 注意:此字段可能返回 null,表示取不到有效值。
3182
+ # @type Balance: Float
3183
+ # @param InputLenLimit: 对话窗输入字符限制
3184
+ # @type InputLenLimit: Integer
2889
3185
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2890
3186
  # @type RequestId: String
2891
3187
 
2892
- attr_accessor :Token, :RequestId
3188
+ attr_accessor :Token, :Balance, :InputLenLimit, :RequestId
2893
3189
 
2894
- def initialize(token=nil, requestid=nil)
3190
+ def initialize(token=nil, balance=nil, inputlenlimit=nil, requestid=nil)
2895
3191
  @Token = token
3192
+ @Balance = balance
3193
+ @InputLenLimit = inputlenlimit
2896
3194
  @RequestId = requestid
2897
3195
  end
2898
3196
 
2899
3197
  def deserialize(params)
2900
3198
  @Token = params['Token']
3199
+ @Balance = params['Balance']
3200
+ @InputLenLimit = params['InputLenLimit']
2901
3201
  @RequestId = params['RequestId']
2902
3202
  end
2903
3203
  end
2904
3204
 
2905
3205
  # GroupQA请求参数结构体
2906
3206
  class GroupQARequest < TencentCloud::Common::AbstractModel
2907
- # @param BotBizId: 机器人ID
3207
+ # @param BotBizId: 应用ID
2908
3208
  # @type BotBizId: String
2909
3209
  # @param QaBizIds: QA业务ID列表
2910
3210
  # @type QaBizIds: Array
@@ -2944,7 +3244,7 @@ module TencentCloud
2944
3244
 
2945
3245
  # 分片高亮内容
2946
3246
  class Highlight < TencentCloud::Common::AbstractModel
2947
- # @param StartPos: 高亮启始位置
3247
+ # @param StartPos: 高亮起始位置
2948
3248
 
2949
3249
  # 注意:此字段可能返回 null,表示取不到有效值。
2950
3250
  # @type StartPos: String
@@ -2974,7 +3274,7 @@ module TencentCloud
2974
3274
 
2975
3275
  # IgnoreUnsatisfiedReply请求参数结构体
2976
3276
  class IgnoreUnsatisfiedReplyRequest < TencentCloud::Common::AbstractModel
2977
- # @param BotBizId: 机器人ID
3277
+ # @param BotBizId: 应用ID
2978
3278
  # @type BotBizId: String
2979
3279
  # @param ReplyBizIds: 不满意回复ID
2980
3280
  # @type ReplyBizIds: Array
@@ -3020,7 +3320,7 @@ module TencentCloud
3020
3320
  class IsTransferIntentRequest < TencentCloud::Common::AbstractModel
3021
3321
  # @param Content: 内容
3022
3322
  # @type Content: String
3023
- # @param BotAppKey: 机器人appKey
3323
+ # @param BotAppKey: 应用appKey
3024
3324
  # @type BotAppKey: String
3025
3325
 
3026
3326
  attr_accessor :Content, :BotAppKey
@@ -3171,10 +3471,13 @@ module TencentCloud
3171
3471
  # @param DocTopN: 文档最大召回数量, 默认3,限制5
3172
3472
  # 注意:此字段可能返回 null,表示取不到有效值。
3173
3473
  # @type DocTopN: Integer
3474
+ # @param Confidence: 检索置信度,针对文档和问答有效,最小0.01,最大0.99
3475
+ # 注意:此字段可能返回 null,表示取不到有效值。
3476
+ # @type Confidence: Float
3174
3477
 
3175
- attr_accessor :Type, :ReplyFlexibility, :UseSearchEngine, :ShowSearchEngine, :IsEnabled, :QaTopN, :DocTopN
3478
+ attr_accessor :Type, :ReplyFlexibility, :UseSearchEngine, :ShowSearchEngine, :IsEnabled, :QaTopN, :DocTopN, :Confidence
3176
3479
 
3177
- def initialize(type=nil, replyflexibility=nil, usesearchengine=nil, showsearchengine=nil, isenabled=nil, qatopn=nil, doctopn=nil)
3480
+ def initialize(type=nil, replyflexibility=nil, usesearchengine=nil, showsearchengine=nil, isenabled=nil, qatopn=nil, doctopn=nil, confidence=nil)
3178
3481
  @Type = type
3179
3482
  @ReplyFlexibility = replyflexibility
3180
3483
  @UseSearchEngine = usesearchengine
@@ -3182,6 +3485,7 @@ module TencentCloud
3182
3485
  @IsEnabled = isenabled
3183
3486
  @QaTopN = qatopn
3184
3487
  @DocTopN = doctopn
3488
+ @Confidence = confidence
3185
3489
  end
3186
3490
 
3187
3491
  def deserialize(params)
@@ -3192,6 +3496,7 @@ module TencentCloud
3192
3496
  @IsEnabled = params['IsEnabled']
3193
3497
  @QaTopN = params['QaTopN']
3194
3498
  @DocTopN = params['DocTopN']
3499
+ @Confidence = params['Confidence']
3195
3500
  end
3196
3501
  end
3197
3502
 
@@ -3348,7 +3653,7 @@ module TencentCloud
3348
3653
 
3349
3654
  # ListAttributeLabel请求参数结构体
3350
3655
  class ListAttributeLabelRequest < TencentCloud::Common::AbstractModel
3351
- # @param BotBizId: 机器人ID
3656
+ # @param BotBizId: 应用ID
3352
3657
  # @type BotBizId: String
3353
3658
  # @param PageNumber: 页码
3354
3659
  # @type PageNumber: Integer
@@ -3684,7 +3989,7 @@ module TencentCloud
3684
3989
 
3685
3990
  # ListQACate请求参数结构体
3686
3991
  class ListQACateRequest < TencentCloud::Common::AbstractModel
3687
- # @param BotBizId: 机器人ID
3992
+ # @param BotBizId: 应用ID
3688
3993
  # @type BotBizId: String
3689
3994
 
3690
3995
  attr_accessor :BotBizId
@@ -3902,7 +4207,7 @@ module TencentCloud
3902
4207
 
3903
4208
  # ListRejectedQuestionPreview请求参数结构体
3904
4209
  class ListRejectedQuestionPreviewRequest < TencentCloud::Common::AbstractModel
3905
- # @param BotBizId: 机器人ID
4210
+ # @param BotBizId: 应用ID
3906
4211
  # @type BotBizId: String
3907
4212
  # @param PageNumber: 页码
3908
4213
  # @type PageNumber: Integer
@@ -3977,7 +4282,7 @@ module TencentCloud
3977
4282
 
3978
4283
  # ListRejectedQuestion请求参数结构体
3979
4284
  class ListRejectedQuestionRequest < TencentCloud::Common::AbstractModel
3980
- # @param BotBizId: 机器人ID
4285
+ # @param BotBizId: 应用ID
3981
4286
  # @type BotBizId: String
3982
4287
  # @param PageNumber: 页码
3983
4288
  # @type PageNumber: Integer
@@ -4115,7 +4420,7 @@ module TencentCloud
4115
4420
 
4116
4421
  # ListReleaseDocPreview请求参数结构体
4117
4422
  class ListReleaseDocPreviewRequest < TencentCloud::Common::AbstractModel
4118
- # @param BotBizId: 机器人ID
4423
+ # @param BotBizId: 应用ID
4119
4424
  # @type BotBizId: String
4120
4425
  # @param PageNumber: 页码
4121
4426
  # @type PageNumber: Integer
@@ -4238,7 +4543,7 @@ module TencentCloud
4238
4543
 
4239
4544
  # ListReleaseQAPreview请求参数结构体
4240
4545
  class ListReleaseQAPreviewRequest < TencentCloud::Common::AbstractModel
4241
- # @param BotBizId: 机器人ID
4546
+ # @param BotBizId: 应用ID
4242
4547
  # @type BotBizId: String
4243
4548
  # @param PageNumber: 页码
4244
4549
  # @type PageNumber: Integer
@@ -4372,7 +4677,7 @@ module TencentCloud
4372
4677
 
4373
4678
  # ListSelectDoc请求参数结构体
4374
4679
  class ListSelectDocRequest < TencentCloud::Common::AbstractModel
4375
- # @param BotBizId: 机器人ID
4680
+ # @param BotBizId: 应用ID
4376
4681
  # @type BotBizId: String
4377
4682
  # @param FileName: 文档名称
4378
4683
  # @type FileName: String
@@ -4423,7 +4728,7 @@ module TencentCloud
4423
4728
 
4424
4729
  # ListUnsatisfiedReply请求参数结构体
4425
4730
  class ListUnsatisfiedReplyRequest < TencentCloud::Common::AbstractModel
4426
- # @param BotBizId: 机器人ID
4731
+ # @param BotBizId: 应用ID
4427
4732
  # @type BotBizId: String
4428
4733
  # @param PageNumber: 页码
4429
4734
  # @type PageNumber: Integer
@@ -4610,7 +4915,7 @@ module TencentCloud
4610
4915
 
4611
4916
  # ModifyAttributeLabel请求参数结构体
4612
4917
  class ModifyAttributeLabelRequest < TencentCloud::Common::AbstractModel
4613
- # @param BotBizId: 机器人ID
4918
+ # @param BotBizId: 应用ID
4614
4919
  # @type BotBizId: String
4615
4920
  # @param AttributeBizId: 属性ID
4616
4921
  # @type AttributeBizId: String
@@ -4681,7 +4986,7 @@ module TencentCloud
4681
4986
 
4682
4987
  # ModifyDocAttrRange请求参数结构体
4683
4988
  class ModifyDocAttrRangeRequest < TencentCloud::Common::AbstractModel
4684
- # @param BotBizId: 机器人ID
4989
+ # @param BotBizId: 应用ID
4685
4990
  # @type BotBizId: String
4686
4991
  # @param DocBizIds: 文档ID
4687
4992
  # @type DocBizIds: Array
@@ -4732,7 +5037,7 @@ module TencentCloud
4732
5037
 
4733
5038
  # ModifyDoc请求参数结构体
4734
5039
  class ModifyDocRequest < TencentCloud::Common::AbstractModel
4735
- # @param BotBizId: 机器人ID
5040
+ # @param BotBizId: 应用ID
4736
5041
  # @type BotBizId: String
4737
5042
  # @param DocBizId: 文档ID
4738
5043
  # @type DocBizId: String
@@ -4812,7 +5117,7 @@ module TencentCloud
4812
5117
 
4813
5118
  # ModifyQAAttrRange请求参数结构体
4814
5119
  class ModifyQAAttrRangeRequest < TencentCloud::Common::AbstractModel
4815
- # @param BotBizId: 机器人ID
5120
+ # @param BotBizId: 应用ID
4816
5121
  # @type BotBizId: String
4817
5122
  # @param QaBizIds: 问答ID
4818
5123
  # @type QaBizIds: Array
@@ -4863,7 +5168,7 @@ module TencentCloud
4863
5168
 
4864
5169
  # ModifyQACate请求参数结构体
4865
5170
  class ModifyQACateRequest < TencentCloud::Common::AbstractModel
4866
- # @param BotBizId: 机器人ID
5171
+ # @param BotBizId: 应用ID
4867
5172
  # @type BotBizId: String
4868
5173
  # @param Name: 分类名称
4869
5174
  # @type Name: String
@@ -4903,7 +5208,7 @@ module TencentCloud
4903
5208
 
4904
5209
  # ModifyQA请求参数结构体
4905
5210
  class ModifyQARequest < TencentCloud::Common::AbstractModel
4906
- # @param BotBizId: 机器人ID
5211
+ # @param BotBizId: 应用ID
4907
5212
  # @type BotBizId: String
4908
5213
  # @param QaBizId: 问答ID
4909
5214
  # @type QaBizId: String
@@ -4982,7 +5287,7 @@ module TencentCloud
4982
5287
 
4983
5288
  # ModifyRejectedQuestion请求参数结构体
4984
5289
  class ModifyRejectedQuestionRequest < TencentCloud::Common::AbstractModel
4985
- # @param BotBizId: 机器人ID
5290
+ # @param BotBizId: 应用ID
4986
5291
  # @type BotBizId: String
4987
5292
  # @param Question: 拒答问题
4988
5293
 
@@ -5023,6 +5328,43 @@ module TencentCloud
5023
5328
  end
5024
5329
  end
5025
5330
 
5331
+ # 文档信息
5332
+ class MsgFileInfo < TencentCloud::Common::AbstractModel
5333
+ # @param FileName: 文档名称
5334
+ # 注意:此字段可能返回 null,表示取不到有效值。
5335
+ # @type FileName: String
5336
+ # @param FileSize: 文档大小
5337
+ # 注意:此字段可能返回 null,表示取不到有效值。
5338
+ # @type FileSize: String
5339
+ # @param FileUrl: 文档URL
5340
+ # 注意:此字段可能返回 null,表示取不到有效值。
5341
+ # @type FileUrl: String
5342
+ # @param FileType: 文档类型
5343
+ # 注意:此字段可能返回 null,表示取不到有效值。
5344
+ # @type FileType: String
5345
+ # @param DocId: 文档ID
5346
+ # 注意:此字段可能返回 null,表示取不到有效值。
5347
+ # @type DocId: String
5348
+
5349
+ attr_accessor :FileName, :FileSize, :FileUrl, :FileType, :DocId
5350
+
5351
+ def initialize(filename=nil, filesize=nil, fileurl=nil, filetype=nil, docid=nil)
5352
+ @FileName = filename
5353
+ @FileSize = filesize
5354
+ @FileUrl = fileurl
5355
+ @FileType = filetype
5356
+ @DocId = docid
5357
+ end
5358
+
5359
+ def deserialize(params)
5360
+ @FileName = params['FileName']
5361
+ @FileSize = params['FileSize']
5362
+ @FileUrl = params['FileUrl']
5363
+ @FileType = params['FileType']
5364
+ @DocId = params['DocId']
5365
+ end
5366
+ end
5367
+
5026
5368
  # 消息详情
5027
5369
  class MsgRecord < TencentCloud::Common::AbstractModel
5028
5370
  # @param Content: 内容
@@ -5065,6 +5407,20 @@ module TencentCloud
5065
5407
  # 注意:此字段可能返回 null,表示取不到有效值。
5066
5408
  # @type TokenStat: :class:`Tencentcloud::Lke.v20231130.models.TokenStat`
5067
5409
  # @param ReplyMethod: 回复方式
5410
+ # 1:大模型直接回复;
5411
+ # 2:保守回复, 未知问题回复;
5412
+ # 3:拒答问题回复;
5413
+ # 4:敏感回复;
5414
+ # 5:问答对直接回复, 已采纳问答对优先回复;
5415
+ # 6:欢迎语回复;
5416
+ # 7:并发超限回复;
5417
+ # 8:全局干预知识;
5418
+ # 9:任务流程过程回复, 当历史记录中 task_flow.type = 0 时, 为大模型回复;
5419
+ # 10:任务流程答案回复;
5420
+ # 11:搜索引擎回复;
5421
+ # 12:知识润色后回复;
5422
+ # 13:图片理解回复;
5423
+ # 14:实时文档回复;
5068
5424
  # 注意:此字段可能返回 null,表示取不到有效值。
5069
5425
  # @type ReplyMethod: Integer
5070
5426
  # @param OptionCards: 选项卡, 用于多轮对话
@@ -5073,10 +5429,13 @@ module TencentCloud
5073
5429
  # @param TaskFlow: 任务信息
5074
5430
  # 注意:此字段可能返回 null,表示取不到有效值。
5075
5431
  # @type TaskFlow: :class:`Tencentcloud::Lke.v20231130.models.TaskFlowInfo`
5432
+ # @param FileInfos: 用户传入的文件信息
5433
+ # 注意:此字段可能返回 null,表示取不到有效值。
5434
+ # @type FileInfos: Array
5076
5435
 
5077
- attr_accessor :Content, :SessionId, :RecordId, :RelatedRecordId, :IsFromSelf, :FromName, :FromAvatar, :Timestamp, :HasRead, :Score, :CanRating, :CanFeedback, :Type, :References, :Reasons, :IsLlmGenerated, :ImageUrls, :TokenStat, :ReplyMethod, :OptionCards, :TaskFlow
5436
+ attr_accessor :Content, :SessionId, :RecordId, :RelatedRecordId, :IsFromSelf, :FromName, :FromAvatar, :Timestamp, :HasRead, :Score, :CanRating, :CanFeedback, :Type, :References, :Reasons, :IsLlmGenerated, :ImageUrls, :TokenStat, :ReplyMethod, :OptionCards, :TaskFlow, :FileInfos
5078
5437
 
5079
- 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)
5438
+ 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)
5080
5439
  @Content = content
5081
5440
  @SessionId = sessionid
5082
5441
  @RecordId = recordid
@@ -5098,6 +5457,7 @@ module TencentCloud
5098
5457
  @ReplyMethod = replymethod
5099
5458
  @OptionCards = optioncards
5100
5459
  @TaskFlow = taskflow
5460
+ @FileInfos = fileinfos
5101
5461
  end
5102
5462
 
5103
5463
  def deserialize(params)
@@ -5135,6 +5495,14 @@ module TencentCloud
5135
5495
  @TaskFlow = TaskFlowInfo.new
5136
5496
  @TaskFlow.deserialize(params['TaskFlow'])
5137
5497
  end
5498
+ unless params['FileInfos'].nil?
5499
+ @FileInfos = []
5500
+ params['FileInfos'].each do |i|
5501
+ fileinfo_tmp = FileInfo.new
5502
+ fileinfo_tmp.deserialize(i)
5503
+ @FileInfos << fileinfo_tmp
5504
+ end
5505
+ end
5138
5506
  end
5139
5507
  end
5140
5508
 
@@ -5428,7 +5796,7 @@ module TencentCloud
5428
5796
  # @type PageNumber: Integer
5429
5797
  # @param PageSize: 每页数量
5430
5798
  # @type PageSize: Integer
5431
- # @param BotBizId: 机器人ID
5799
+ # @param BotBizId: 应用ID
5432
5800
  # @type BotBizId: String
5433
5801
  # @param Query: 查询内容
5434
5802
  # @type Query: String
@@ -5593,7 +5961,7 @@ module TencentCloud
5593
5961
 
5594
5962
  # RateMsgRecord请求参数结构体
5595
5963
  class RateMsgRecordRequest < TencentCloud::Common::AbstractModel
5596
- # @param BotAppKey: 机器人appKey
5964
+ # @param BotAppKey: 应用appKey
5597
5965
  # @type BotAppKey: String
5598
5966
  # @param RecordId: 消息ID
5599
5967
  # @type RecordId: String
@@ -5670,14 +6038,13 @@ module TencentCloud
5670
6038
 
5671
6039
  # ReconstructDocument请求参数结构体
5672
6040
  class ReconstructDocumentRequest < TencentCloud::Common::AbstractModel
5673
- # @param FileBase64: 图片的 Base64 值。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经Base64编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片的 ImageUrlImageBase64 必须提供一个,如果都提供,只使用 ImageUrl
6041
+ # @param FileBase64: 文件的 Base64 值。 支持的文件格式:PNG、JPG、JPEG、PDF 支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件的 FileUrlFileBase64 必须提供一个,如果都提供,只使用 FileUrl
5674
6042
  # @type FileBase64: String
5675
- # @param FileUrl: 图片的 Url 地址。 支持的图片格式:PNG、JPG、JPEG、PDF,暂不支持 GIF 格式。 支持的图片大小:所下载图片经 Base64 编码后不超过 8M。图片下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6043
+ # @param FileUrl: 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF 支持的文件大小:所下载文件经 Base64 编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
5676
6044
  # @type FileUrl: String
5677
- # @param FileStartPageNumber: 当传入文件是PDF类型(IsPdf=true)时,用来指定pdf识别的起始页码,识别的页码包含当前值。
6045
+ # @param FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。
5678
6046
  # @type FileStartPageNumber: Integer
5679
- # @param FileEndPageNumber: 当传入文件是PDF类型(IsPdf=true)时,用来指定pdf识别的结束页码,识别的页码包含当前值。
5680
- # 单次调用,最多支持10页pdf的智能识别。
6047
+ # @param FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为10,表示识别到pdf文件的第10页。单次调用最多支持识别10页内容,即FileEndPageNumber-FileStartPageNumber需要不大于10。
5681
6048
  # @type FileEndPageNumber: Integer
5682
6049
  # @param Config: 配置选项,支持配置是否在生成的Markdown中是否嵌入图片
5683
6050
  # @type Config: :class:`Tencentcloud::Lke.v20231130.models.ReconstructDocumentConfig`
@@ -6086,7 +6453,7 @@ module TencentCloud
6086
6453
 
6087
6454
  # RetryDocAudit请求参数结构体
6088
6455
  class RetryDocAuditRequest < TencentCloud::Common::AbstractModel
6089
- # @param BotBizId: 机器人ID
6456
+ # @param BotBizId: 应用ID
6090
6457
  # @type BotBizId: String
6091
6458
  # @param DocBizId: 文档ID
6092
6459
  # @type DocBizId: String
@@ -6122,7 +6489,7 @@ module TencentCloud
6122
6489
 
6123
6490
  # RetryDocParse请求参数结构体
6124
6491
  class RetryDocParseRequest < TencentCloud::Common::AbstractModel
6125
- # @param BotBizId: 机器人ID
6492
+ # @param BotBizId: 应用ID
6126
6493
  # @type BotBizId: String
6127
6494
  # @param DocBizId: 文档ID
6128
6495
  # @type DocBizId: String
@@ -6310,7 +6677,7 @@ module TencentCloud
6310
6677
 
6311
6678
  # StopDocParse请求参数结构体
6312
6679
  class StopDocParseRequest < TencentCloud::Common::AbstractModel
6313
- # @param BotBizId: 机器人ID
6680
+ # @param BotBizId: 应用ID
6314
6681
  # @type BotBizId: String
6315
6682
  # @param DocBizId: 文档ID
6316
6683
  # @type DocBizId: String
@@ -6547,7 +6914,7 @@ module TencentCloud
6547
6914
  # @param Question: 用户问题
6548
6915
  # 注意:此字段可能返回 null,表示取不到有效值。
6549
6916
  # @type Question: String
6550
- # @param Answer: 机器人回复
6917
+ # @param Answer: 应用回复
6551
6918
  # 注意:此字段可能返回 null,表示取不到有效值。
6552
6919
  # @type Answer: String
6553
6920
  # @param Reasons: 错误类型
@@ -6575,7 +6942,7 @@ module TencentCloud
6575
6942
 
6576
6943
  # UploadAttributeLabel请求参数结构体
6577
6944
  class UploadAttributeLabelRequest < TencentCloud::Common::AbstractModel
6578
- # @param BotBizId: 机器人ID
6945
+ # @param BotBizId: 应用ID
6579
6946
  # @type BotBizId: String
6580
6947
  # @param FileName: 文件名
6581
6948
  # @type FileName: String
@@ -6673,7 +7040,7 @@ module TencentCloud
6673
7040
  class VerifyQARequest < TencentCloud::Common::AbstractModel
6674
7041
  # @param List: 问答列表
6675
7042
  # @type List: Array
6676
- # @param BotBizId: 机器人ID
7043
+ # @param BotBizId: 应用ID
6677
7044
  # @type BotBizId: String
6678
7045
  # @param LoginUin: 登录用户主账号(集成商模式必填)
6679
7046
  # @type LoginUin: String
@@ -6720,6 +7087,28 @@ module TencentCloud
6720
7087
  end
6721
7088
  end
6722
7089
 
7090
+ # 解析为 word 文档的结果
7091
+ class WordRecognizeInfo < TencentCloud::Common::AbstractModel
7092
+ # @param PageNumber: 输入文件的页码数
7093
+ # 注意:此字段可能返回 null,表示取不到有效值。
7094
+ # @type PageNumber: Integer
7095
+ # @param WordBase64: word的base64
7096
+ # 注意:此字段可能返回 null,表示取不到有效值。
7097
+ # @type WordBase64: String
7098
+
7099
+ attr_accessor :PageNumber, :WordBase64
7100
+
7101
+ def initialize(pagenumber=nil, wordbase64=nil)
7102
+ @PageNumber = pagenumber
7103
+ @WordBase64 = wordbase64
7104
+ end
7105
+
7106
+ def deserialize(params)
7107
+ @PageNumber = params['PageNumber']
7108
+ @WordBase64 = params['WordBase64']
7109
+ end
7110
+ end
7111
+
6723
7112
  end
6724
7113
  end
6725
7114
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.848
4
+ version: 3.0.850
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-20 00:00:00.000000000 Z
11
+ date: 2024-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - lib/tencentcloud-sdk-lke.rb
36
37
  - lib/v20231130/models.rb
37
38
  - lib/v20231130/client.rb
38
- - lib/tencentcloud-sdk-lke.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: