tencentcloud-sdk-lkeap 3.0.995 → 3.0.996
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20240522/models.rb +217 -26
- 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: 4fb78ea4de8b44db343d7aadcac502607ece5da7
|
4
|
+
data.tar.gz: 53f5da3f10416833acc3fbb48d70ada4a35f7c63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34399caa03ff56e5de70cc6ca9b4a68d44556b97f643d648547ae49ef1f9a27e113c67eee6112dc6900d6c5542398185f758dcaeb0eac4dcd2a3901f247f8932
|
7
|
+
data.tar.gz: 9813831d569be5b35ce298013324183d7dfde246fda44e62eae8c290706e4ca2b4ef051c699c7dae480d0e19af8902d59db07543bbca051bd49d64d323ceb58f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.996
|
data/lib/v20240522/models.rb
CHANGED
@@ -253,16 +253,28 @@ module TencentCloud
|
|
253
253
|
|
254
254
|
# CreateAttributeLabel请求参数结构体
|
255
255
|
class CreateAttributeLabelRequest < TencentCloud::Common::AbstractModel
|
256
|
+
# @param KnowledgeBaseId: 知识库ID
|
257
|
+
# @type KnowledgeBaseId: String
|
258
|
+
# @param AttributeKey: 属性标识,最大40个英文字符,如style
|
259
|
+
# @type AttributeKey: String
|
260
|
+
# @param AttributeName: 属性名称,最大80个英文字符,如风格
|
261
|
+
# @type AttributeName: String
|
256
262
|
# @param Labels: 属性标签信息
|
257
263
|
# @type Labels: Array
|
258
264
|
|
259
|
-
attr_accessor :Labels
|
265
|
+
attr_accessor :KnowledgeBaseId, :AttributeKey, :AttributeName, :Labels
|
260
266
|
|
261
|
-
def initialize(labels=nil)
|
267
|
+
def initialize(knowledgebaseid=nil, attributekey=nil, attributename=nil, labels=nil)
|
268
|
+
@KnowledgeBaseId = knowledgebaseid
|
269
|
+
@AttributeKey = attributekey
|
270
|
+
@AttributeName = attributename
|
262
271
|
@Labels = labels
|
263
272
|
end
|
264
273
|
|
265
274
|
def deserialize(params)
|
275
|
+
@KnowledgeBaseId = params['KnowledgeBaseId']
|
276
|
+
@AttributeKey = params['AttributeKey']
|
277
|
+
@AttributeName = params['AttributeName']
|
266
278
|
unless params['Labels'].nil?
|
267
279
|
@Labels = []
|
268
280
|
params['Labels'].each do |i|
|
@@ -323,16 +335,28 @@ module TencentCloud
|
|
323
335
|
|
324
336
|
# CreateQA请求参数结构体
|
325
337
|
class CreateQARequest < TencentCloud::Common::AbstractModel
|
338
|
+
# @param KnowledgeBaseId: 知识库ID
|
339
|
+
# @type KnowledgeBaseId: String
|
340
|
+
# @param Question: 问题,最大1000个英文字符
|
341
|
+
# @type Question: String
|
342
|
+
# @param Answer: 答案,最大4000个英文字符
|
343
|
+
# @type Answer: String
|
326
344
|
# @param AttributeLabels: 属性标签
|
327
345
|
# @type AttributeLabels: Array
|
328
346
|
|
329
|
-
attr_accessor :AttributeLabels
|
347
|
+
attr_accessor :KnowledgeBaseId, :Question, :Answer, :AttributeLabels
|
330
348
|
|
331
|
-
def initialize(attributelabels=nil)
|
349
|
+
def initialize(knowledgebaseid=nil, question=nil, answer=nil, attributelabels=nil)
|
350
|
+
@KnowledgeBaseId = knowledgebaseid
|
351
|
+
@Question = question
|
352
|
+
@Answer = answer
|
332
353
|
@AttributeLabels = attributelabels
|
333
354
|
end
|
334
355
|
|
335
356
|
def deserialize(params)
|
357
|
+
@KnowledgeBaseId = params['KnowledgeBaseId']
|
358
|
+
@Question = params['Question']
|
359
|
+
@Answer = params['Answer']
|
336
360
|
unless params['AttributeLabels'].nil?
|
337
361
|
@AttributeLabels = []
|
338
362
|
params['AttributeLabels'].each do |i|
|
@@ -346,16 +370,20 @@ module TencentCloud
|
|
346
370
|
|
347
371
|
# CreateQA返回参数结构体
|
348
372
|
class CreateQAResponse < TencentCloud::Common::AbstractModel
|
373
|
+
# @param QaId: 问答对ID
|
374
|
+
# @type QaId: String
|
349
375
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
350
376
|
# @type RequestId: String
|
351
377
|
|
352
|
-
attr_accessor :RequestId
|
378
|
+
attr_accessor :QaId, :RequestId
|
353
379
|
|
354
|
-
def initialize(requestid=nil)
|
380
|
+
def initialize(qaid=nil, requestid=nil)
|
381
|
+
@QaId = qaid
|
355
382
|
@RequestId = requestid
|
356
383
|
end
|
357
384
|
|
358
385
|
def deserialize(params)
|
386
|
+
@QaId = params['QaId']
|
359
387
|
@RequestId = params['RequestId']
|
360
388
|
end
|
361
389
|
end
|
@@ -594,12 +622,21 @@ module TencentCloud
|
|
594
622
|
|
595
623
|
# DeleteAttributeLabels请求参数结构体
|
596
624
|
class DeleteAttributeLabelsRequest < TencentCloud::Common::AbstractModel
|
625
|
+
# @param KnowledgeBaseId: 知识库ID
|
626
|
+
# @type KnowledgeBaseId: String
|
627
|
+
# @param AttributeIds: 属性ID
|
628
|
+
# @type AttributeIds: Array
|
597
629
|
|
630
|
+
attr_accessor :KnowledgeBaseId, :AttributeIds
|
598
631
|
|
599
|
-
def initialize()
|
632
|
+
def initialize(knowledgebaseid=nil, attributeids=nil)
|
633
|
+
@KnowledgeBaseId = knowledgebaseid
|
634
|
+
@AttributeIds = attributeids
|
600
635
|
end
|
601
636
|
|
602
637
|
def deserialize(params)
|
638
|
+
@KnowledgeBaseId = params['KnowledgeBaseId']
|
639
|
+
@AttributeIds = params['AttributeIds']
|
603
640
|
end
|
604
641
|
end
|
605
642
|
|
@@ -621,12 +658,21 @@ module TencentCloud
|
|
621
658
|
|
622
659
|
# DeleteDocs请求参数结构体
|
623
660
|
class DeleteDocsRequest < TencentCloud::Common::AbstractModel
|
661
|
+
# @param KnowledgeBaseId: 知识库ID
|
662
|
+
# @type KnowledgeBaseId: String
|
663
|
+
# @param DocIds: 文档ID列表。支持批量删除,数量不超过100
|
664
|
+
# @type DocIds: Array
|
624
665
|
|
666
|
+
attr_accessor :KnowledgeBaseId, :DocIds
|
625
667
|
|
626
|
-
def initialize()
|
668
|
+
def initialize(knowledgebaseid=nil, docids=nil)
|
669
|
+
@KnowledgeBaseId = knowledgebaseid
|
670
|
+
@DocIds = docids
|
627
671
|
end
|
628
672
|
|
629
673
|
def deserialize(params)
|
674
|
+
@KnowledgeBaseId = params['KnowledgeBaseId']
|
675
|
+
@DocIds = params['DocIds']
|
630
676
|
end
|
631
677
|
end
|
632
678
|
|
@@ -680,12 +726,21 @@ module TencentCloud
|
|
680
726
|
|
681
727
|
# DeleteQAs请求参数结构体
|
682
728
|
class DeleteQAsRequest < TencentCloud::Common::AbstractModel
|
729
|
+
# @param KnowledgeBaseId: 知识库ID
|
730
|
+
# @type KnowledgeBaseId: String
|
731
|
+
# @param QaIds: 问答对ID列表。支持批量删除,数量不超过100
|
732
|
+
# @type QaIds: Array
|
683
733
|
|
734
|
+
attr_accessor :KnowledgeBaseId, :QaIds
|
684
735
|
|
685
|
-
def initialize()
|
736
|
+
def initialize(knowledgebaseid=nil, qaids=nil)
|
737
|
+
@KnowledgeBaseId = knowledgebaseid
|
738
|
+
@QaIds = qaids
|
686
739
|
end
|
687
740
|
|
688
741
|
def deserialize(params)
|
742
|
+
@KnowledgeBaseId = params['KnowledgeBaseId']
|
743
|
+
@QaIds = params['QaIds']
|
689
744
|
end
|
690
745
|
end
|
691
746
|
|
@@ -727,30 +782,64 @@ module TencentCloud
|
|
727
782
|
|
728
783
|
# DescribeDoc请求参数结构体
|
729
784
|
class DescribeDocRequest < TencentCloud::Common::AbstractModel
|
785
|
+
# @param KnowledgeBaseId: 知识库ID
|
786
|
+
# @type KnowledgeBaseId: String
|
787
|
+
# @param DocId: 文档ID
|
788
|
+
# @type DocId: String
|
730
789
|
|
790
|
+
attr_accessor :KnowledgeBaseId, :DocId
|
731
791
|
|
732
|
-
def initialize()
|
792
|
+
def initialize(knowledgebaseid=nil, docid=nil)
|
793
|
+
@KnowledgeBaseId = knowledgebaseid
|
794
|
+
@DocId = docid
|
733
795
|
end
|
734
796
|
|
735
797
|
def deserialize(params)
|
798
|
+
@KnowledgeBaseId = params['KnowledgeBaseId']
|
799
|
+
@DocId = params['DocId']
|
736
800
|
end
|
737
801
|
end
|
738
802
|
|
739
803
|
# DescribeDoc返回参数结构体
|
740
804
|
class DescribeDocResponse < TencentCloud::Common::AbstractModel
|
805
|
+
# @param DocId: 文档ID
|
806
|
+
# @type DocId: String
|
807
|
+
# @param Status: 状态,
|
808
|
+
|
809
|
+
# - Uploading 上传中
|
810
|
+
# - Auditing 审核中
|
811
|
+
# - Parsing 解析中
|
812
|
+
# - ParseFailed 解析失败
|
813
|
+
# - Indexing 创建索引中
|
814
|
+
# - IndexFailed 创建索引失败
|
815
|
+
# - Success 发布成功
|
816
|
+
# - Failed 失败
|
817
|
+
# @type Status: String
|
818
|
+
# @param FileName: 文件名
|
819
|
+
# @type FileName: String
|
820
|
+
# @param UpdateTime: 更新时间
|
821
|
+
# @type UpdateTime: String
|
741
822
|
# @param AttributeLabels: 属性标签
|
742
823
|
# @type AttributeLabels: Array
|
743
824
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
744
825
|
# @type RequestId: String
|
745
826
|
|
746
|
-
attr_accessor :AttributeLabels, :RequestId
|
827
|
+
attr_accessor :DocId, :Status, :FileName, :UpdateTime, :AttributeLabels, :RequestId
|
747
828
|
|
748
|
-
def initialize(attributelabels=nil, requestid=nil)
|
829
|
+
def initialize(docid=nil, status=nil, filename=nil, updatetime=nil, attributelabels=nil, requestid=nil)
|
830
|
+
@DocId = docid
|
831
|
+
@Status = status
|
832
|
+
@FileName = filename
|
833
|
+
@UpdateTime = updatetime
|
749
834
|
@AttributeLabels = attributelabels
|
750
835
|
@RequestId = requestid
|
751
836
|
end
|
752
837
|
|
753
838
|
def deserialize(params)
|
839
|
+
@DocId = params['DocId']
|
840
|
+
@Status = params['Status']
|
841
|
+
@FileName = params['FileName']
|
842
|
+
@UpdateTime = params['UpdateTime']
|
754
843
|
unless params['AttributeLabels'].nil?
|
755
844
|
@AttributeLabels = []
|
756
845
|
params['AttributeLabels'].each do |i|
|
@@ -770,6 +859,7 @@ module TencentCloud
|
|
770
859
|
# @type DocId: String
|
771
860
|
# @param Status: 状态,
|
772
861
|
# - Uploading 上传中
|
862
|
+
# - Auditing 审核中
|
773
863
|
# - Parsing 解析中
|
774
864
|
# - ParseFailed 解析失败
|
775
865
|
# - Indexing 创建索引中
|
@@ -1041,12 +1131,30 @@ module TencentCloud
|
|
1041
1131
|
|
1042
1132
|
# ImportQAs请求参数结构体
|
1043
1133
|
class ImportQAsRequest < TencentCloud::Common::AbstractModel
|
1134
|
+
# @param KnowledgeBaseId: 知识库ID
|
1135
|
+
# @type KnowledgeBaseId: String
|
1136
|
+
# @param FileName: 文件名
|
1137
|
+
# @type FileName: String
|
1138
|
+
# @param FileUrl: 文件的 Url 地址。文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
1139
|
+
# 导入模板:https://cdn.xiaowei.qq.com/lke/assets//static/批量导入问答模板v6.xlsx
|
1140
|
+
# @type FileUrl: String
|
1141
|
+
# @param FileType: 文件类型,仅支持XLSX格式,请使用模板
|
1142
|
+
# @type FileType: String
|
1044
1143
|
|
1144
|
+
attr_accessor :KnowledgeBaseId, :FileName, :FileUrl, :FileType
|
1045
1145
|
|
1046
|
-
def initialize()
|
1146
|
+
def initialize(knowledgebaseid=nil, filename=nil, fileurl=nil, filetype=nil)
|
1147
|
+
@KnowledgeBaseId = knowledgebaseid
|
1148
|
+
@FileName = filename
|
1149
|
+
@FileUrl = fileurl
|
1150
|
+
@FileType = filetype
|
1047
1151
|
end
|
1048
1152
|
|
1049
1153
|
def deserialize(params)
|
1154
|
+
@KnowledgeBaseId = params['KnowledgeBaseId']
|
1155
|
+
@FileName = params['FileName']
|
1156
|
+
@FileUrl = params['FileUrl']
|
1157
|
+
@FileType = params['FileType']
|
1050
1158
|
end
|
1051
1159
|
end
|
1052
1160
|
|
@@ -1088,30 +1196,47 @@ module TencentCloud
|
|
1088
1196
|
|
1089
1197
|
# ListAttributeLabels请求参数结构体
|
1090
1198
|
class ListAttributeLabelsRequest < TencentCloud::Common::AbstractModel
|
1199
|
+
# @param KnowledgeBaseId: 知识库ID
|
1200
|
+
# @type KnowledgeBaseId: String
|
1201
|
+
# @param PageNumber: 页码,默认1
|
1202
|
+
# @type PageNumber: Integer
|
1203
|
+
# @param PageSize: 每页数目,最大50,默认20
|
1204
|
+
# @type PageSize: Integer
|
1091
1205
|
|
1206
|
+
attr_accessor :KnowledgeBaseId, :PageNumber, :PageSize
|
1092
1207
|
|
1093
|
-
def initialize()
|
1208
|
+
def initialize(knowledgebaseid=nil, pagenumber=nil, pagesize=nil)
|
1209
|
+
@KnowledgeBaseId = knowledgebaseid
|
1210
|
+
@PageNumber = pagenumber
|
1211
|
+
@PageSize = pagesize
|
1094
1212
|
end
|
1095
1213
|
|
1096
1214
|
def deserialize(params)
|
1215
|
+
@KnowledgeBaseId = params['KnowledgeBaseId']
|
1216
|
+
@PageNumber = params['PageNumber']
|
1217
|
+
@PageSize = params['PageSize']
|
1097
1218
|
end
|
1098
1219
|
end
|
1099
1220
|
|
1100
1221
|
# ListAttributeLabels返回参数结构体
|
1101
1222
|
class ListAttributeLabelsResponse < TencentCloud::Common::AbstractModel
|
1223
|
+
# @param TotalCount: 属性总数
|
1224
|
+
# @type TotalCount: Integer
|
1102
1225
|
# @param List: 属性标签列表
|
1103
1226
|
# @type List: Array
|
1104
1227
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1105
1228
|
# @type RequestId: String
|
1106
1229
|
|
1107
|
-
attr_accessor :List, :RequestId
|
1230
|
+
attr_accessor :TotalCount, :List, :RequestId
|
1108
1231
|
|
1109
|
-
def initialize(list=nil, requestid=nil)
|
1232
|
+
def initialize(totalcount=nil, list=nil, requestid=nil)
|
1233
|
+
@TotalCount = totalcount
|
1110
1234
|
@List = list
|
1111
1235
|
@RequestId = requestid
|
1112
1236
|
end
|
1113
1237
|
|
1114
1238
|
def deserialize(params)
|
1239
|
+
@TotalCount = params['TotalCount']
|
1115
1240
|
unless params['List'].nil?
|
1116
1241
|
@List = []
|
1117
1242
|
params['List'].each do |i|
|
@@ -1126,30 +1251,47 @@ module TencentCloud
|
|
1126
1251
|
|
1127
1252
|
# ListDocs请求参数结构体
|
1128
1253
|
class ListDocsRequest < TencentCloud::Common::AbstractModel
|
1254
|
+
# @param KnowledgeBaseId: 知识库ID
|
1255
|
+
# @type KnowledgeBaseId: String
|
1256
|
+
# @param PageNumber: 页码,默认1
|
1257
|
+
# @type PageNumber: Integer
|
1258
|
+
# @param PageSize: 每页数目,最大50,默认20
|
1259
|
+
# @type PageSize: Integer
|
1129
1260
|
|
1261
|
+
attr_accessor :KnowledgeBaseId, :PageNumber, :PageSize
|
1130
1262
|
|
1131
|
-
def initialize()
|
1263
|
+
def initialize(knowledgebaseid=nil, pagenumber=nil, pagesize=nil)
|
1264
|
+
@KnowledgeBaseId = knowledgebaseid
|
1265
|
+
@PageNumber = pagenumber
|
1266
|
+
@PageSize = pagesize
|
1132
1267
|
end
|
1133
1268
|
|
1134
1269
|
def deserialize(params)
|
1270
|
+
@KnowledgeBaseId = params['KnowledgeBaseId']
|
1271
|
+
@PageNumber = params['PageNumber']
|
1272
|
+
@PageSize = params['PageSize']
|
1135
1273
|
end
|
1136
1274
|
end
|
1137
1275
|
|
1138
1276
|
# ListDocs返回参数结构体
|
1139
1277
|
class ListDocsResponse < TencentCloud::Common::AbstractModel
|
1278
|
+
# @param TotalCount: 文档总数
|
1279
|
+
# @type TotalCount: Integer
|
1140
1280
|
# @param List: 文档信息
|
1141
1281
|
# @type List: Array
|
1142
1282
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1143
1283
|
# @type RequestId: String
|
1144
1284
|
|
1145
|
-
attr_accessor :List, :RequestId
|
1285
|
+
attr_accessor :TotalCount, :List, :RequestId
|
1146
1286
|
|
1147
|
-
def initialize(list=nil, requestid=nil)
|
1287
|
+
def initialize(totalcount=nil, list=nil, requestid=nil)
|
1288
|
+
@TotalCount = totalcount
|
1148
1289
|
@List = list
|
1149
1290
|
@RequestId = requestid
|
1150
1291
|
end
|
1151
1292
|
|
1152
1293
|
def deserialize(params)
|
1294
|
+
@TotalCount = params['TotalCount']
|
1153
1295
|
unless params['List'].nil?
|
1154
1296
|
@List = []
|
1155
1297
|
params['List'].each do |i|
|
@@ -1164,30 +1306,47 @@ module TencentCloud
|
|
1164
1306
|
|
1165
1307
|
# ListQAs请求参数结构体
|
1166
1308
|
class ListQAsRequest < TencentCloud::Common::AbstractModel
|
1309
|
+
# @param KnowledgeBaseId: 知识库ID
|
1310
|
+
# @type KnowledgeBaseId: String
|
1311
|
+
# @param PageNumber: 页码,默认1
|
1312
|
+
# @type PageNumber: Integer
|
1313
|
+
# @param PageSize: 每页数目,最大50,默认20
|
1314
|
+
# @type PageSize: Integer
|
1167
1315
|
|
1316
|
+
attr_accessor :KnowledgeBaseId, :PageNumber, :PageSize
|
1168
1317
|
|
1169
|
-
def initialize()
|
1318
|
+
def initialize(knowledgebaseid=nil, pagenumber=nil, pagesize=nil)
|
1319
|
+
@KnowledgeBaseId = knowledgebaseid
|
1320
|
+
@PageNumber = pagenumber
|
1321
|
+
@PageSize = pagesize
|
1170
1322
|
end
|
1171
1323
|
|
1172
1324
|
def deserialize(params)
|
1325
|
+
@KnowledgeBaseId = params['KnowledgeBaseId']
|
1326
|
+
@PageNumber = params['PageNumber']
|
1327
|
+
@PageSize = params['PageSize']
|
1173
1328
|
end
|
1174
1329
|
end
|
1175
1330
|
|
1176
1331
|
# ListQAs返回参数结构体
|
1177
1332
|
class ListQAsResponse < TencentCloud::Common::AbstractModel
|
1333
|
+
# @param TotalCount: 问答对总数量
|
1334
|
+
# @type TotalCount: Integer
|
1178
1335
|
# @param List: 问答对信息
|
1179
1336
|
# @type List: Array
|
1180
1337
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1181
1338
|
# @type RequestId: String
|
1182
1339
|
|
1183
|
-
attr_accessor :List, :RequestId
|
1340
|
+
attr_accessor :TotalCount, :List, :RequestId
|
1184
1341
|
|
1185
|
-
def initialize(list=nil, requestid=nil)
|
1342
|
+
def initialize(totalcount=nil, list=nil, requestid=nil)
|
1343
|
+
@TotalCount = totalcount
|
1186
1344
|
@List = list
|
1187
1345
|
@RequestId = requestid
|
1188
1346
|
end
|
1189
1347
|
|
1190
1348
|
def deserialize(params)
|
1349
|
+
@TotalCount = params['TotalCount']
|
1191
1350
|
unless params['List'].nil?
|
1192
1351
|
@List = []
|
1193
1352
|
params['List'].each do |i|
|
@@ -1227,16 +1386,32 @@ module TencentCloud
|
|
1227
1386
|
|
1228
1387
|
# ModifyAttributeLabel请求参数结构体
|
1229
1388
|
class ModifyAttributeLabelRequest < TencentCloud::Common::AbstractModel
|
1389
|
+
# @param KnowledgeBaseId: 知识库ID
|
1390
|
+
# @type KnowledgeBaseId: String
|
1391
|
+
# @param AttributeId: 属性ID
|
1392
|
+
# @type AttributeId: String
|
1393
|
+
# @param AttributeKey: 属性标识,最大40个英文字符,如style
|
1394
|
+
# @type AttributeKey: String
|
1395
|
+
# @param AttributeName: 属性名称,最大80个英文字符,如风格
|
1396
|
+
# @type AttributeName: String
|
1230
1397
|
# @param Labels: 属性标签
|
1231
1398
|
# @type Labels: Array
|
1232
1399
|
|
1233
|
-
attr_accessor :Labels
|
1400
|
+
attr_accessor :KnowledgeBaseId, :AttributeId, :AttributeKey, :AttributeName, :Labels
|
1234
1401
|
|
1235
|
-
def initialize(labels=nil)
|
1402
|
+
def initialize(knowledgebaseid=nil, attributeid=nil, attributekey=nil, attributename=nil, labels=nil)
|
1403
|
+
@KnowledgeBaseId = knowledgebaseid
|
1404
|
+
@AttributeId = attributeid
|
1405
|
+
@AttributeKey = attributekey
|
1406
|
+
@AttributeName = attributename
|
1236
1407
|
@Labels = labels
|
1237
1408
|
end
|
1238
1409
|
|
1239
1410
|
def deserialize(params)
|
1411
|
+
@KnowledgeBaseId = params['KnowledgeBaseId']
|
1412
|
+
@AttributeId = params['AttributeId']
|
1413
|
+
@AttributeKey = params['AttributeKey']
|
1414
|
+
@AttributeName = params['AttributeName']
|
1240
1415
|
unless params['Labels'].nil?
|
1241
1416
|
@Labels = []
|
1242
1417
|
params['Labels'].each do |i|
|
@@ -1266,16 +1441,32 @@ module TencentCloud
|
|
1266
1441
|
|
1267
1442
|
# ModifyQA请求参数结构体
|
1268
1443
|
class ModifyQARequest < TencentCloud::Common::AbstractModel
|
1444
|
+
# @param KnowledgeBaseId: 知识库ID
|
1445
|
+
# @type KnowledgeBaseId: String
|
1446
|
+
# @param QaId: 问答对ID
|
1447
|
+
# @type QaId: String
|
1448
|
+
# @param Question: 问题,最大1000个英文字符
|
1449
|
+
# @type Question: String
|
1450
|
+
# @param Answer: 答案,最大4000个英文字符
|
1451
|
+
# @type Answer: String
|
1269
1452
|
# @param AttributeLabels: 属性标签
|
1270
1453
|
# @type AttributeLabels: Array
|
1271
1454
|
|
1272
|
-
attr_accessor :AttributeLabels
|
1455
|
+
attr_accessor :KnowledgeBaseId, :QaId, :Question, :Answer, :AttributeLabels
|
1273
1456
|
|
1274
|
-
def initialize(attributelabels=nil)
|
1457
|
+
def initialize(knowledgebaseid=nil, qaid=nil, question=nil, answer=nil, attributelabels=nil)
|
1458
|
+
@KnowledgeBaseId = knowledgebaseid
|
1459
|
+
@QaId = qaid
|
1460
|
+
@Question = question
|
1461
|
+
@Answer = answer
|
1275
1462
|
@AttributeLabels = attributelabels
|
1276
1463
|
end
|
1277
1464
|
|
1278
1465
|
def deserialize(params)
|
1466
|
+
@KnowledgeBaseId = params['KnowledgeBaseId']
|
1467
|
+
@QaId = params['QaId']
|
1468
|
+
@Question = params['Question']
|
1469
|
+
@Answer = params['Answer']
|
1279
1470
|
unless params['AttributeLabels'].nil?
|
1280
1471
|
@AttributeLabels = []
|
1281
1472
|
params['AttributeLabels'].each do |i|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lkeap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.996
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|