tencentcloud-sdk-lke 3.0.849 → 3.0.850
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20231130/client.rb +72 -0
- data/lib/v20231130/models.rb +255 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe33895b9187655f09e6885e8cd1201eb572dd5c
|
4
|
+
data.tar.gz: c39a762da306537ed343977f3fb69ef22b33d0cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cd99dbe4ce10db0a47c6d3b960f9b38d3a838d6f353d6488fa74d6ae38ffa705a0f671eaf7b48b7cfc56d583585c33f6092a8bad9250ac4e15d9f0a6349846b
|
7
|
+
data.tar.gz: 30b6295ac2ec6019efb6ca3ef74ccfc652373f08d8fa0b2e11f84d4e30d3f673fa28e43b685e1618a0363fec2c313c89c375f64a66df68d61e811b2534fdf154
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.850
|
data/lib/v20231130/client.rb
CHANGED
@@ -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.
|
@@ -776,6 +800,30 @@ module TencentCloud
|
|
776
800
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
777
801
|
end
|
778
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
|
+
|
779
827
|
# 获取模型列表
|
780
828
|
|
781
829
|
# @param request: Request instance for GetAppKnowledgeCount.
|
@@ -873,6 +921,30 @@ module TencentCloud
|
|
873
921
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
874
922
|
end
|
875
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
|
+
|
876
948
|
# 获取推荐问题
|
877
949
|
|
878
950
|
# @param request: Request instance for GetMsgRecord.
|
data/lib/v20231130/models.rb
CHANGED
@@ -555,6 +555,63 @@ module TencentCloud
|
|
555
555
|
end
|
556
556
|
end
|
557
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']
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
558
615
|
# 坐标
|
559
616
|
class Coord < TencentCloud::Common::AbstractModel
|
560
617
|
# @param X: 横坐标
|
@@ -886,9 +943,9 @@ module TencentCloud
|
|
886
943
|
# @type FileBase64: String
|
887
944
|
# @param FileUrl: 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 100M。文件下载时间不超过 15 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
888
945
|
# @type FileUrl: String
|
889
|
-
# @param FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf
|
946
|
+
# @param FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。
|
890
947
|
# @type FileStartPageNumber: Integer
|
891
|
-
# @param FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf
|
948
|
+
# @param FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为100,表示识别到pdf文件的第100页。单次调用最多支持识别100页内容,即FileEndPageNumber-FileStartPageNumber需要不大于100。
|
892
949
|
# @type FileEndPageNumber: Integer
|
893
950
|
# @param Config: 创建文档解析任务配置信息
|
894
951
|
# @type Config: :class:`Tencentcloud::Lke.v20231130.models.CreateReconstructDocumentFlowConfig`
|
@@ -2489,6 +2546,98 @@ module TencentCloud
|
|
2489
2546
|
end
|
2490
2547
|
end
|
2491
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
|
+
|
2492
2641
|
# GetAppKnowledgeCount请求参数结构体
|
2493
2642
|
class GetAppKnowledgeCountRequest < TencentCloud::Common::AbstractModel
|
2494
2643
|
# @param Type: 类型:doc-文档;qa-问答对
|
@@ -2704,6 +2853,86 @@ module TencentCloud
|
|
2704
2853
|
end
|
2705
2854
|
end
|
2706
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
|
+
|
2707
2936
|
# GetMsgRecord请求参数结构体
|
2708
2937
|
class GetMsgRecordRequest < TencentCloud::Common::AbstractModel
|
2709
2938
|
# @param Type: 类型
|
@@ -5813,9 +6042,9 @@ module TencentCloud
|
|
5813
6042
|
# @type FileBase64: String
|
5814
6043
|
# @param FileUrl: 文件的 Url 地址。 支持的文件格式:PNG、JPG、JPEG、PDF。 支持的文件大小:所下载文件经 Base64 编码后不超过 8M。文件下载时间不超过 3 秒。 支持的图片像素:单边介于20-10000px之间。 文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
5815
6044
|
# @type FileUrl: String
|
5816
|
-
# @param FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf
|
6045
|
+
# @param FileStartPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值。默认为1,表示从pdf文件的第1页开始识别。
|
5817
6046
|
# @type FileStartPageNumber: Integer
|
5818
|
-
# @param FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf
|
6047
|
+
# @param FileEndPageNumber: 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。默认为10,表示识别到pdf文件的第10页。单次调用最多支持识别10页内容,即FileEndPageNumber-FileStartPageNumber需要不大于10。
|
5819
6048
|
# @type FileEndPageNumber: Integer
|
5820
6049
|
# @param Config: 配置选项,支持配置是否在生成的Markdown中是否嵌入图片
|
5821
6050
|
# @type Config: :class:`Tencentcloud::Lke.v20231130.models.ReconstructDocumentConfig`
|
@@ -6858,6 +7087,28 @@ module TencentCloud
|
|
6858
7087
|
end
|
6859
7088
|
end
|
6860
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
|
+
|
6861
7112
|
end
|
6862
7113
|
end
|
6863
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.
|
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-
|
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
|