tencentcloud-sdk-lke 3.0.1077 → 3.0.1079
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/v20231130/client.rb +168 -0
- data/lib/v20231130/models.rb +467 -0
- 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: ef1803a3c9178f66cf9e42ae2694b85bd5f67fe4
|
4
|
+
data.tar.gz: 2a3796f6ad2a9d050bbbacafa7d03aa1ecee3d56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ee2d463d71718634b4931bbc048bdd15e74e6b599ea92a0f5515c47908784ec4ebcf10da284a2b8d835c629fafc67d193d7859b43097ecca2f6a6fdaeaedf91
|
7
|
+
data.tar.gz: 1d9169c11495f1191ce68fd2b4db3a190b19fccbc1c996f73851d81eefb4771e9bf18feb9eba1adcb88ce7342d59eda782b3ad23f58c79e2f5167fb32d05ef2d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1079
|
data/lib/v20231130/client.rb
CHANGED
@@ -295,6 +295,30 @@ module TencentCloud
|
|
295
295
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
296
296
|
end
|
297
297
|
|
298
|
+
# 创建共享知识库。
|
299
|
+
|
300
|
+
# @param request: Request instance for CreateSharedKnowledge.
|
301
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::CreateSharedKnowledgeRequest`
|
302
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::CreateSharedKnowledgeResponse`
|
303
|
+
def CreateSharedKnowledge(request)
|
304
|
+
body = send_request('CreateSharedKnowledge', request.serialize)
|
305
|
+
response = JSON.parse(body)
|
306
|
+
if response['Response'].key?('Error') == false
|
307
|
+
model = CreateSharedKnowledgeResponse.new
|
308
|
+
model.deserialize(response['Response'])
|
309
|
+
model
|
310
|
+
else
|
311
|
+
code = response['Response']['Error']['Code']
|
312
|
+
message = response['Response']['Error']['Message']
|
313
|
+
reqid = response['Response']['RequestId']
|
314
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
315
|
+
end
|
316
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
317
|
+
raise e
|
318
|
+
rescue StandardError => e
|
319
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
320
|
+
end
|
321
|
+
|
298
322
|
# 创建变量
|
299
323
|
|
300
324
|
# @param request: Request instance for CreateVar.
|
@@ -487,6 +511,30 @@ module TencentCloud
|
|
487
511
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
488
512
|
end
|
489
513
|
|
514
|
+
# 删除共享知识库。
|
515
|
+
|
516
|
+
# @param request: Request instance for DeleteSharedKnowledge.
|
517
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::DeleteSharedKnowledgeRequest`
|
518
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::DeleteSharedKnowledgeResponse`
|
519
|
+
def DeleteSharedKnowledge(request)
|
520
|
+
body = send_request('DeleteSharedKnowledge', request.serialize)
|
521
|
+
response = JSON.parse(body)
|
522
|
+
if response['Response'].key?('Error') == false
|
523
|
+
model = DeleteSharedKnowledgeResponse.new
|
524
|
+
model.deserialize(response['Response'])
|
525
|
+
model
|
526
|
+
else
|
527
|
+
code = response['Response']['Error']['Code']
|
528
|
+
message = response['Response']['Error']['Message']
|
529
|
+
reqid = response['Response']['RequestId']
|
530
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
531
|
+
end
|
532
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
533
|
+
raise e
|
534
|
+
rescue StandardError => e
|
535
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
536
|
+
end
|
537
|
+
|
490
538
|
# 获取企业下应用详情
|
491
539
|
|
492
540
|
# @param request: Request instance for DescribeApp.
|
@@ -871,6 +919,30 @@ module TencentCloud
|
|
871
919
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
872
920
|
end
|
873
921
|
|
922
|
+
# 查询共享知识库。
|
923
|
+
|
924
|
+
# @param request: Request instance for DescribeSharedKnowledge.
|
925
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::DescribeSharedKnowledgeRequest`
|
926
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::DescribeSharedKnowledgeResponse`
|
927
|
+
def DescribeSharedKnowledge(request)
|
928
|
+
body = send_request('DescribeSharedKnowledge', request.serialize)
|
929
|
+
response = JSON.parse(body)
|
930
|
+
if response['Response'].key?('Error') == false
|
931
|
+
model = DescribeSharedKnowledgeResponse.new
|
932
|
+
model.deserialize(response['Response'])
|
933
|
+
model
|
934
|
+
else
|
935
|
+
code = response['Response']['Error']['Code']
|
936
|
+
message = response['Response']['Error']['Message']
|
937
|
+
reqid = response['Response']['RequestId']
|
938
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
939
|
+
end
|
940
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
941
|
+
raise e
|
942
|
+
rescue StandardError => e
|
943
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
944
|
+
end
|
945
|
+
|
874
946
|
# 获取文件上传临时密钥
|
875
947
|
|
876
948
|
# @param request: Request instance for DescribeStorageCredential.
|
@@ -1642,6 +1714,30 @@ module TencentCloud
|
|
1642
1714
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1643
1715
|
end
|
1644
1716
|
|
1717
|
+
# 查看应用引用了哪些共享知识库,可以看到共享知识库的基础信息,包括名称,id等
|
1718
|
+
|
1719
|
+
# @param request: Request instance for ListReferShareKnowledge.
|
1720
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::ListReferShareKnowledgeRequest`
|
1721
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::ListReferShareKnowledgeResponse`
|
1722
|
+
def ListReferShareKnowledge(request)
|
1723
|
+
body = send_request('ListReferShareKnowledge', request.serialize)
|
1724
|
+
response = JSON.parse(body)
|
1725
|
+
if response['Response'].key?('Error') == false
|
1726
|
+
model = ListReferShareKnowledgeResponse.new
|
1727
|
+
model.deserialize(response['Response'])
|
1728
|
+
model
|
1729
|
+
else
|
1730
|
+
code = response['Response']['Error']['Code']
|
1731
|
+
message = response['Response']['Error']['Message']
|
1732
|
+
reqid = response['Response']['RequestId']
|
1733
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1734
|
+
end
|
1735
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1736
|
+
raise e
|
1737
|
+
rescue StandardError => e
|
1738
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1739
|
+
end
|
1740
|
+
|
1645
1741
|
# 获取拒答问题
|
1646
1742
|
|
1647
1743
|
# @param request: Request instance for ListRejectedQuestion.
|
@@ -1810,6 +1906,30 @@ module TencentCloud
|
|
1810
1906
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1811
1907
|
end
|
1812
1908
|
|
1909
|
+
# 列举共享知识库。
|
1910
|
+
|
1911
|
+
# @param request: Request instance for ListSharedKnowledge.
|
1912
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::ListSharedKnowledgeRequest`
|
1913
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::ListSharedKnowledgeResponse`
|
1914
|
+
def ListSharedKnowledge(request)
|
1915
|
+
body = send_request('ListSharedKnowledge', request.serialize)
|
1916
|
+
response = JSON.parse(body)
|
1917
|
+
if response['Response'].key?('Error') == false
|
1918
|
+
model = ListSharedKnowledgeResponse.new
|
1919
|
+
model.deserialize(response['Response'])
|
1920
|
+
model
|
1921
|
+
else
|
1922
|
+
code = response['Response']['Error']['Code']
|
1923
|
+
message = response['Response']['Error']['Message']
|
1924
|
+
reqid = response['Response']['RequestId']
|
1925
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1926
|
+
end
|
1927
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1928
|
+
raise e
|
1929
|
+
rescue StandardError => e
|
1930
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1931
|
+
end
|
1932
|
+
|
1813
1933
|
# 查询不满意回复列表
|
1814
1934
|
|
1815
1935
|
# @param request: Request instance for ListUnsatisfiedReply.
|
@@ -2149,6 +2269,30 @@ module TencentCloud
|
|
2149
2269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2150
2270
|
end
|
2151
2271
|
|
2272
|
+
# 应用引用共享知识库,可以引用一个或多个,每次都是全量覆盖
|
2273
|
+
|
2274
|
+
# @param request: Request instance for ReferShareKnowledge.
|
2275
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::ReferShareKnowledgeRequest`
|
2276
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::ReferShareKnowledgeResponse`
|
2277
|
+
def ReferShareKnowledge(request)
|
2278
|
+
body = send_request('ReferShareKnowledge', request.serialize)
|
2279
|
+
response = JSON.parse(body)
|
2280
|
+
if response['Response'].key?('Error') == false
|
2281
|
+
model = ReferShareKnowledgeResponse.new
|
2282
|
+
model.deserialize(response['Response'])
|
2283
|
+
model
|
2284
|
+
else
|
2285
|
+
code = response['Response']['Error']['Code']
|
2286
|
+
message = response['Response']['Error']['Message']
|
2287
|
+
reqid = response['Response']['RequestId']
|
2288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2289
|
+
end
|
2290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2291
|
+
raise e
|
2292
|
+
rescue StandardError => e
|
2293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2294
|
+
end
|
2295
|
+
|
2152
2296
|
# 文档重命名
|
2153
2297
|
|
2154
2298
|
# @param request: Request instance for RenameDoc.
|
@@ -2322,6 +2466,30 @@ module TencentCloud
|
|
2322
2466
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2323
2467
|
end
|
2324
2468
|
|
2469
|
+
# 更新共享知识库。
|
2470
|
+
|
2471
|
+
# @param request: Request instance for UpdateSharedKnowledge.
|
2472
|
+
# @type request: :class:`Tencentcloud::lke::V20231130::UpdateSharedKnowledgeRequest`
|
2473
|
+
# @rtype: :class:`Tencentcloud::lke::V20231130::UpdateSharedKnowledgeResponse`
|
2474
|
+
def UpdateSharedKnowledge(request)
|
2475
|
+
body = send_request('UpdateSharedKnowledge', request.serialize)
|
2476
|
+
response = JSON.parse(body)
|
2477
|
+
if response['Response'].key?('Error') == false
|
2478
|
+
model = UpdateSharedKnowledgeResponse.new
|
2479
|
+
model.deserialize(response['Response'])
|
2480
|
+
model
|
2481
|
+
else
|
2482
|
+
code = response['Response']['Error']['Code']
|
2483
|
+
message = response['Response']['Error']['Message']
|
2484
|
+
reqid = response['Response']['RequestId']
|
2485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2486
|
+
end
|
2487
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2488
|
+
raise e
|
2489
|
+
rescue StandardError => e
|
2490
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2491
|
+
end
|
2492
|
+
|
2325
2493
|
# 上传导入属性标签
|
2326
2494
|
|
2327
2495
|
# @param request: Request instance for UploadAttributeLabel.
|
data/lib/v20231130/models.rb
CHANGED
@@ -388,6 +388,27 @@ module TencentCloud
|
|
388
388
|
end
|
389
389
|
end
|
390
390
|
|
391
|
+
# 应用基础信息
|
392
|
+
class AppBaseInfo < TencentCloud::Common::AbstractModel
|
393
|
+
# @param AppBizId: 应用ID
|
394
|
+
# @type AppBizId: String
|
395
|
+
# @param AppName: 应用名称
|
396
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
397
|
+
# @type AppName: String
|
398
|
+
|
399
|
+
attr_accessor :AppBizId, :AppName
|
400
|
+
|
401
|
+
def initialize(appbizid=nil, appname=nil)
|
402
|
+
@AppBizId = appbizid
|
403
|
+
@AppName = appname
|
404
|
+
end
|
405
|
+
|
406
|
+
def deserialize(params)
|
407
|
+
@AppBizId = params['AppBizId']
|
408
|
+
@AppName = params['AppName']
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
391
412
|
# 应用配置
|
392
413
|
class AppConfig < TencentCloud::Common::AbstractModel
|
393
414
|
# @param KnowledgeQa: 知识问答管理应用配置
|
@@ -1683,6 +1704,50 @@ module TencentCloud
|
|
1683
1704
|
end
|
1684
1705
|
end
|
1685
1706
|
|
1707
|
+
# CreateSharedKnowledge请求参数结构体
|
1708
|
+
class CreateSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
1709
|
+
# @param KnowledgeName: 共享知识库名称,字符数量范围:[1, 50]
|
1710
|
+
# @type KnowledgeName: String
|
1711
|
+
# @param KnowledgeDescription: 共享知识库描述,字符数量上限2000
|
1712
|
+
# @type KnowledgeDescription: String
|
1713
|
+
# @param EmbeddingModel: Embedding模型,字符数量上限128
|
1714
|
+
# @type EmbeddingModel: String
|
1715
|
+
|
1716
|
+
attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel
|
1717
|
+
|
1718
|
+
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil)
|
1719
|
+
@KnowledgeName = knowledgename
|
1720
|
+
@KnowledgeDescription = knowledgedescription
|
1721
|
+
@EmbeddingModel = embeddingmodel
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
def deserialize(params)
|
1725
|
+
@KnowledgeName = params['KnowledgeName']
|
1726
|
+
@KnowledgeDescription = params['KnowledgeDescription']
|
1727
|
+
@EmbeddingModel = params['EmbeddingModel']
|
1728
|
+
end
|
1729
|
+
end
|
1730
|
+
|
1731
|
+
# CreateSharedKnowledge返回参数结构体
|
1732
|
+
class CreateSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
1733
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
1734
|
+
# @type KnowledgeBizId: String
|
1735
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1736
|
+
# @type RequestId: String
|
1737
|
+
|
1738
|
+
attr_accessor :KnowledgeBizId, :RequestId
|
1739
|
+
|
1740
|
+
def initialize(knowledgebizid=nil, requestid=nil)
|
1741
|
+
@KnowledgeBizId = knowledgebizid
|
1742
|
+
@RequestId = requestid
|
1743
|
+
end
|
1744
|
+
|
1745
|
+
def deserialize(params)
|
1746
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
1747
|
+
@RequestId = params['RequestId']
|
1748
|
+
end
|
1749
|
+
end
|
1750
|
+
|
1686
1751
|
# CreateVar请求参数结构体
|
1687
1752
|
class CreateVarRequest < TencentCloud::Common::AbstractModel
|
1688
1753
|
# @param AppBizId: 应用ID
|
@@ -2033,6 +2098,42 @@ module TencentCloud
|
|
2033
2098
|
end
|
2034
2099
|
end
|
2035
2100
|
|
2101
|
+
# DeleteSharedKnowledge请求参数结构体
|
2102
|
+
class DeleteSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
2103
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
2104
|
+
# @type KnowledgeBizId: String
|
2105
|
+
|
2106
|
+
attr_accessor :KnowledgeBizId
|
2107
|
+
|
2108
|
+
def initialize(knowledgebizid=nil)
|
2109
|
+
@KnowledgeBizId = knowledgebizid
|
2110
|
+
end
|
2111
|
+
|
2112
|
+
def deserialize(params)
|
2113
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
2114
|
+
end
|
2115
|
+
end
|
2116
|
+
|
2117
|
+
# DeleteSharedKnowledge返回参数结构体
|
2118
|
+
class DeleteSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
2119
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
2120
|
+
# @type KnowledgeBizId: String
|
2121
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2122
|
+
# @type RequestId: String
|
2123
|
+
|
2124
|
+
attr_accessor :KnowledgeBizId, :RequestId
|
2125
|
+
|
2126
|
+
def initialize(knowledgebizid=nil, requestid=nil)
|
2127
|
+
@KnowledgeBizId = knowledgebizid
|
2128
|
+
@RequestId = requestid
|
2129
|
+
end
|
2130
|
+
|
2131
|
+
def deserialize(params)
|
2132
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
2133
|
+
@RequestId = params['RequestId']
|
2134
|
+
end
|
2135
|
+
end
|
2136
|
+
|
2036
2137
|
# DescribeApp请求参数结构体
|
2037
2138
|
class DescribeAppRequest < TencentCloud::Common::AbstractModel
|
2038
2139
|
# @param AppBizId: 应用ID
|
@@ -3198,6 +3299,46 @@ module TencentCloud
|
|
3198
3299
|
end
|
3199
3300
|
end
|
3200
3301
|
|
3302
|
+
# DescribeSharedKnowledge请求参数结构体
|
3303
|
+
class DescribeSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
3304
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
3305
|
+
# @type KnowledgeBizId: String
|
3306
|
+
|
3307
|
+
attr_accessor :KnowledgeBizId
|
3308
|
+
|
3309
|
+
def initialize(knowledgebizid=nil)
|
3310
|
+
@KnowledgeBizId = knowledgebizid
|
3311
|
+
end
|
3312
|
+
|
3313
|
+
def deserialize(params)
|
3314
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
3315
|
+
end
|
3316
|
+
end
|
3317
|
+
|
3318
|
+
# DescribeSharedKnowledge返回参数结构体
|
3319
|
+
class DescribeSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
3320
|
+
# @param Info: 知识库列表
|
3321
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3322
|
+
# @type Info: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeDetailInfo`
|
3323
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3324
|
+
# @type RequestId: String
|
3325
|
+
|
3326
|
+
attr_accessor :Info, :RequestId
|
3327
|
+
|
3328
|
+
def initialize(info=nil, requestid=nil)
|
3329
|
+
@Info = info
|
3330
|
+
@RequestId = requestid
|
3331
|
+
end
|
3332
|
+
|
3333
|
+
def deserialize(params)
|
3334
|
+
unless params['Info'].nil?
|
3335
|
+
@Info = KnowledgeDetailInfo.new
|
3336
|
+
@Info.deserialize(params['Info'])
|
3337
|
+
end
|
3338
|
+
@RequestId = params['RequestId']
|
3339
|
+
end
|
3340
|
+
end
|
3341
|
+
|
3201
3342
|
# DescribeStorageCredential请求参数结构体
|
3202
3343
|
class DescribeStorageCredentialRequest < TencentCloud::Common::AbstractModel
|
3203
3344
|
# @param BotBizId: 应用ID,参数非必填不代表不需要填写,下面不同的参数组合会获取到不同的权限,具体请参考 https://cloud.tencent.com/document/product/1759/116238
|
@@ -5105,6 +5246,46 @@ module TencentCloud
|
|
5105
5246
|
end
|
5106
5247
|
end
|
5107
5248
|
|
5249
|
+
# 共享知识库基础信息
|
5250
|
+
class KnowledgeBaseInfo < TencentCloud::Common::AbstractModel
|
5251
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
5252
|
+
# @type KnowledgeBizId: String
|
5253
|
+
# @param KnowledgeName: 共享知识库名称
|
5254
|
+
# @type KnowledgeName: String
|
5255
|
+
# @param KnowledgeDescription: 共享知识库描述
|
5256
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5257
|
+
# @type KnowledgeDescription: String
|
5258
|
+
# @param EmbeddingModel: Embedding模型
|
5259
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5260
|
+
# @type EmbeddingModel: String
|
5261
|
+
# @param QaExtractModel: 问答提取模型
|
5262
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5263
|
+
# @type QaExtractModel: String
|
5264
|
+
# @param UpdateTime: 更新时间
|
5265
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5266
|
+
# @type UpdateTime: String
|
5267
|
+
|
5268
|
+
attr_accessor :KnowledgeBizId, :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel, :UpdateTime
|
5269
|
+
|
5270
|
+
def initialize(knowledgebizid=nil, knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil, updatetime=nil)
|
5271
|
+
@KnowledgeBizId = knowledgebizid
|
5272
|
+
@KnowledgeName = knowledgename
|
5273
|
+
@KnowledgeDescription = knowledgedescription
|
5274
|
+
@EmbeddingModel = embeddingmodel
|
5275
|
+
@QaExtractModel = qaextractmodel
|
5276
|
+
@UpdateTime = updatetime
|
5277
|
+
end
|
5278
|
+
|
5279
|
+
def deserialize(params)
|
5280
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
5281
|
+
@KnowledgeName = params['KnowledgeName']
|
5282
|
+
@KnowledgeDescription = params['KnowledgeDescription']
|
5283
|
+
@EmbeddingModel = params['EmbeddingModel']
|
5284
|
+
@QaExtractModel = params['QaExtractModel']
|
5285
|
+
@UpdateTime = params['UpdateTime']
|
5286
|
+
end
|
5287
|
+
end
|
5288
|
+
|
5108
5289
|
# 知识库容量饼图详情
|
5109
5290
|
class KnowledgeCapacityPieGraphDetail < TencentCloud::Common::AbstractModel
|
5110
5291
|
# @param AppName: 当前应用名称
|
@@ -5164,6 +5345,46 @@ module TencentCloud
|
|
5164
5345
|
end
|
5165
5346
|
end
|
5166
5347
|
|
5348
|
+
# 知识库详情信息
|
5349
|
+
class KnowledgeDetailInfo < TencentCloud::Common::AbstractModel
|
5350
|
+
# @param Knowledge: 知识库信息
|
5351
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5352
|
+
# @type Knowledge: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeBaseInfo`
|
5353
|
+
# @param AppList: 应用列表
|
5354
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5355
|
+
# @type AppList: Array
|
5356
|
+
# @param User: 用户信息
|
5357
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5358
|
+
# @type User: :class:`Tencentcloud::Lke.v20231130.models.UserBaseInfo`
|
5359
|
+
|
5360
|
+
attr_accessor :Knowledge, :AppList, :User
|
5361
|
+
|
5362
|
+
def initialize(knowledge=nil, applist=nil, user=nil)
|
5363
|
+
@Knowledge = knowledge
|
5364
|
+
@AppList = applist
|
5365
|
+
@User = user
|
5366
|
+
end
|
5367
|
+
|
5368
|
+
def deserialize(params)
|
5369
|
+
unless params['Knowledge'].nil?
|
5370
|
+
@Knowledge = KnowledgeBaseInfo.new
|
5371
|
+
@Knowledge.deserialize(params['Knowledge'])
|
5372
|
+
end
|
5373
|
+
unless params['AppList'].nil?
|
5374
|
+
@AppList = []
|
5375
|
+
params['AppList'].each do |i|
|
5376
|
+
appbaseinfo_tmp = AppBaseInfo.new
|
5377
|
+
appbaseinfo_tmp.deserialize(i)
|
5378
|
+
@AppList << appbaseinfo_tmp
|
5379
|
+
end
|
5380
|
+
end
|
5381
|
+
unless params['User'].nil?
|
5382
|
+
@User = UserBaseInfo.new
|
5383
|
+
@User.deserialize(params['User'])
|
5384
|
+
end
|
5385
|
+
end
|
5386
|
+
end
|
5387
|
+
|
5167
5388
|
# 知识问答配置
|
5168
5389
|
class KnowledgeQaConfig < TencentCloud::Common::AbstractModel
|
5169
5390
|
# @param Greeting: 欢迎语,200字符以内
|
@@ -5533,6 +5754,37 @@ module TencentCloud
|
|
5533
5754
|
end
|
5534
5755
|
end
|
5535
5756
|
|
5757
|
+
# 共享知识库更新信息
|
5758
|
+
class KnowledgeUpdateInfo < TencentCloud::Common::AbstractModel
|
5759
|
+
# @param KnowledgeName: 共享知识库名称
|
5760
|
+
# @type KnowledgeName: String
|
5761
|
+
# @param KnowledgeDescription: 共享知识库描述
|
5762
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5763
|
+
# @type KnowledgeDescription: String
|
5764
|
+
# @param EmbeddingModel: Embedding模型
|
5765
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5766
|
+
# @type EmbeddingModel: String
|
5767
|
+
# @param QaExtractModel: 问答提取模型
|
5768
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5769
|
+
# @type QaExtractModel: String
|
5770
|
+
|
5771
|
+
attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel
|
5772
|
+
|
5773
|
+
def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil)
|
5774
|
+
@KnowledgeName = knowledgename
|
5775
|
+
@KnowledgeDescription = knowledgedescription
|
5776
|
+
@EmbeddingModel = embeddingmodel
|
5777
|
+
@QaExtractModel = qaextractmodel
|
5778
|
+
end
|
5779
|
+
|
5780
|
+
def deserialize(params)
|
5781
|
+
@KnowledgeName = params['KnowledgeName']
|
5782
|
+
@KnowledgeDescription = params['KnowledgeDescription']
|
5783
|
+
@EmbeddingModel = params['EmbeddingModel']
|
5784
|
+
@QaExtractModel = params['QaExtractModel']
|
5785
|
+
end
|
5786
|
+
end
|
5787
|
+
|
5536
5788
|
# 问答知识库工作流配置
|
5537
5789
|
class KnowledgeWorkflow < TencentCloud::Common::AbstractModel
|
5538
5790
|
# @param IsEnabled: 是否启用工作流
|
@@ -6483,6 +6735,57 @@ module TencentCloud
|
|
6483
6735
|
end
|
6484
6736
|
end
|
6485
6737
|
|
6738
|
+
# ListReferShareKnowledge请求参数结构体
|
6739
|
+
class ListReferShareKnowledgeRequest < TencentCloud::Common::AbstractModel
|
6740
|
+
# @param AppBizId: 应用业务id
|
6741
|
+
# @type AppBizId: String
|
6742
|
+
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
6743
|
+
# @type LoginUin: String
|
6744
|
+
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
6745
|
+
# @type LoginSubAccountUin: String
|
6746
|
+
|
6747
|
+
attr_accessor :AppBizId, :LoginUin, :LoginSubAccountUin
|
6748
|
+
|
6749
|
+
def initialize(appbizid=nil, loginuin=nil, loginsubaccountuin=nil)
|
6750
|
+
@AppBizId = appbizid
|
6751
|
+
@LoginUin = loginuin
|
6752
|
+
@LoginSubAccountUin = loginsubaccountuin
|
6753
|
+
end
|
6754
|
+
|
6755
|
+
def deserialize(params)
|
6756
|
+
@AppBizId = params['AppBizId']
|
6757
|
+
@LoginUin = params['LoginUin']
|
6758
|
+
@LoginSubAccountUin = params['LoginSubAccountUin']
|
6759
|
+
end
|
6760
|
+
end
|
6761
|
+
|
6762
|
+
# ListReferShareKnowledge返回参数结构体
|
6763
|
+
class ListReferShareKnowledgeResponse < TencentCloud::Common::AbstractModel
|
6764
|
+
# @param List: 共享知识库信息列表
|
6765
|
+
# @type List: Array
|
6766
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6767
|
+
# @type RequestId: String
|
6768
|
+
|
6769
|
+
attr_accessor :List, :RequestId
|
6770
|
+
|
6771
|
+
def initialize(list=nil, requestid=nil)
|
6772
|
+
@List = list
|
6773
|
+
@RequestId = requestid
|
6774
|
+
end
|
6775
|
+
|
6776
|
+
def deserialize(params)
|
6777
|
+
unless params['List'].nil?
|
6778
|
+
@List = []
|
6779
|
+
params['List'].each do |i|
|
6780
|
+
knowledgebaseinfo_tmp = KnowledgeBaseInfo.new
|
6781
|
+
knowledgebaseinfo_tmp.deserialize(i)
|
6782
|
+
@List << knowledgebaseinfo_tmp
|
6783
|
+
end
|
6784
|
+
end
|
6785
|
+
@RequestId = params['RequestId']
|
6786
|
+
end
|
6787
|
+
end
|
6788
|
+
|
6486
6789
|
# ListRejectedQuestionPreview请求参数结构体
|
6487
6790
|
class ListRejectedQuestionPreviewRequest < TencentCloud::Common::AbstractModel
|
6488
6791
|
# @param BotBizId: 应用ID
|
@@ -7004,6 +7307,62 @@ module TencentCloud
|
|
7004
7307
|
end
|
7005
7308
|
end
|
7006
7309
|
|
7310
|
+
# ListSharedKnowledge请求参数结构体
|
7311
|
+
class ListSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
7312
|
+
# @param PageNumber: 分页序号,编码从1开始
|
7313
|
+
# @type PageNumber: Integer
|
7314
|
+
# @param PageSize: 分页大小,有效范围为[1,200]
|
7315
|
+
# @type PageSize: Integer
|
7316
|
+
# @param Keyword: 搜索关键字
|
7317
|
+
# @type Keyword: String
|
7318
|
+
|
7319
|
+
attr_accessor :PageNumber, :PageSize, :Keyword
|
7320
|
+
|
7321
|
+
def initialize(pagenumber=nil, pagesize=nil, keyword=nil)
|
7322
|
+
@PageNumber = pagenumber
|
7323
|
+
@PageSize = pagesize
|
7324
|
+
@Keyword = keyword
|
7325
|
+
end
|
7326
|
+
|
7327
|
+
def deserialize(params)
|
7328
|
+
@PageNumber = params['PageNumber']
|
7329
|
+
@PageSize = params['PageSize']
|
7330
|
+
@Keyword = params['Keyword']
|
7331
|
+
end
|
7332
|
+
end
|
7333
|
+
|
7334
|
+
# ListSharedKnowledge返回参数结构体
|
7335
|
+
class ListSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
7336
|
+
# @param Total: 累计数量
|
7337
|
+
# @type Total: Integer
|
7338
|
+
# @param KnowledgeList: 知识库列表
|
7339
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7340
|
+
# @type KnowledgeList: Array
|
7341
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7342
|
+
# @type RequestId: String
|
7343
|
+
|
7344
|
+
attr_accessor :Total, :KnowledgeList, :RequestId
|
7345
|
+
|
7346
|
+
def initialize(total=nil, knowledgelist=nil, requestid=nil)
|
7347
|
+
@Total = total
|
7348
|
+
@KnowledgeList = knowledgelist
|
7349
|
+
@RequestId = requestid
|
7350
|
+
end
|
7351
|
+
|
7352
|
+
def deserialize(params)
|
7353
|
+
@Total = params['Total']
|
7354
|
+
unless params['KnowledgeList'].nil?
|
7355
|
+
@KnowledgeList = []
|
7356
|
+
params['KnowledgeList'].each do |i|
|
7357
|
+
knowledgedetailinfo_tmp = KnowledgeDetailInfo.new
|
7358
|
+
knowledgedetailinfo_tmp.deserialize(i)
|
7359
|
+
@KnowledgeList << knowledgedetailinfo_tmp
|
7360
|
+
end
|
7361
|
+
end
|
7362
|
+
@RequestId = params['RequestId']
|
7363
|
+
end
|
7364
|
+
end
|
7365
|
+
|
7007
7366
|
# ListUnsatisfiedReply请求参数结构体
|
7008
7367
|
class ListUnsatisfiedReplyRequest < TencentCloud::Common::AbstractModel
|
7009
7368
|
# @param BotBizId: 应用ID
|
@@ -8849,6 +9208,50 @@ module TencentCloud
|
|
8849
9208
|
end
|
8850
9209
|
end
|
8851
9210
|
|
9211
|
+
# ReferShareKnowledge请求参数结构体
|
9212
|
+
class ReferShareKnowledgeRequest < TencentCloud::Common::AbstractModel
|
9213
|
+
# @param AppBizId: 应用业务id
|
9214
|
+
# @type AppBizId: String
|
9215
|
+
# @param KnowledgeBizId: 共享知识库业务id列表
|
9216
|
+
# @type KnowledgeBizId: Array
|
9217
|
+
# @param LoginUin: 登录用户主账号(集成商模式必填)
|
9218
|
+
# @type LoginUin: String
|
9219
|
+
# @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
|
9220
|
+
# @type LoginSubAccountUin: String
|
9221
|
+
|
9222
|
+
attr_accessor :AppBizId, :KnowledgeBizId, :LoginUin, :LoginSubAccountUin
|
9223
|
+
|
9224
|
+
def initialize(appbizid=nil, knowledgebizid=nil, loginuin=nil, loginsubaccountuin=nil)
|
9225
|
+
@AppBizId = appbizid
|
9226
|
+
@KnowledgeBizId = knowledgebizid
|
9227
|
+
@LoginUin = loginuin
|
9228
|
+
@LoginSubAccountUin = loginsubaccountuin
|
9229
|
+
end
|
9230
|
+
|
9231
|
+
def deserialize(params)
|
9232
|
+
@AppBizId = params['AppBizId']
|
9233
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
9234
|
+
@LoginUin = params['LoginUin']
|
9235
|
+
@LoginSubAccountUin = params['LoginSubAccountUin']
|
9236
|
+
end
|
9237
|
+
end
|
9238
|
+
|
9239
|
+
# ReferShareKnowledge返回参数结构体
|
9240
|
+
class ReferShareKnowledgeResponse < TencentCloud::Common::AbstractModel
|
9241
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9242
|
+
# @type RequestId: String
|
9243
|
+
|
9244
|
+
attr_accessor :RequestId
|
9245
|
+
|
9246
|
+
def initialize(requestid=nil)
|
9247
|
+
@RequestId = requestid
|
9248
|
+
end
|
9249
|
+
|
9250
|
+
def deserialize(params)
|
9251
|
+
@RequestId = params['RequestId']
|
9252
|
+
end
|
9253
|
+
end
|
9254
|
+
|
8852
9255
|
# 发布拒答
|
8853
9256
|
class RejectedQuestion < TencentCloud::Common::AbstractModel
|
8854
9257
|
# @param RejectedBizId: 拒答问题ID
|
@@ -10068,6 +10471,49 @@ module TencentCloud
|
|
10068
10471
|
end
|
10069
10472
|
end
|
10070
10473
|
|
10474
|
+
# UpdateSharedKnowledge请求参数结构体
|
10475
|
+
class UpdateSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
|
10476
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
10477
|
+
# @type KnowledgeBizId: String
|
10478
|
+
# @param Info: 共享知识库更新信息
|
10479
|
+
# @type Info: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeUpdateInfo`
|
10480
|
+
|
10481
|
+
attr_accessor :KnowledgeBizId, :Info
|
10482
|
+
|
10483
|
+
def initialize(knowledgebizid=nil, info=nil)
|
10484
|
+
@KnowledgeBizId = knowledgebizid
|
10485
|
+
@Info = info
|
10486
|
+
end
|
10487
|
+
|
10488
|
+
def deserialize(params)
|
10489
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
10490
|
+
unless params['Info'].nil?
|
10491
|
+
@Info = KnowledgeUpdateInfo.new
|
10492
|
+
@Info.deserialize(params['Info'])
|
10493
|
+
end
|
10494
|
+
end
|
10495
|
+
end
|
10496
|
+
|
10497
|
+
# UpdateSharedKnowledge返回参数结构体
|
10498
|
+
class UpdateSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
|
10499
|
+
# @param KnowledgeBizId: 共享知识库业务ID
|
10500
|
+
# @type KnowledgeBizId: String
|
10501
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10502
|
+
# @type RequestId: String
|
10503
|
+
|
10504
|
+
attr_accessor :KnowledgeBizId, :RequestId
|
10505
|
+
|
10506
|
+
def initialize(knowledgebizid=nil, requestid=nil)
|
10507
|
+
@KnowledgeBizId = knowledgebizid
|
10508
|
+
@RequestId = requestid
|
10509
|
+
end
|
10510
|
+
|
10511
|
+
def deserialize(params)
|
10512
|
+
@KnowledgeBizId = params['KnowledgeBizId']
|
10513
|
+
@RequestId = params['RequestId']
|
10514
|
+
end
|
10515
|
+
end
|
10516
|
+
|
10071
10517
|
# UploadAttributeLabel请求参数结构体
|
10072
10518
|
class UploadAttributeLabelRequest < TencentCloud::Common::AbstractModel
|
10073
10519
|
# @param BotBizId: 应用ID
|
@@ -10164,6 +10610,27 @@ module TencentCloud
|
|
10164
10610
|
end
|
10165
10611
|
end
|
10166
10612
|
|
10613
|
+
# 用户基础信息
|
10614
|
+
class UserBaseInfo < TencentCloud::Common::AbstractModel
|
10615
|
+
# @param UserBizId: 用户ID
|
10616
|
+
# @type UserBizId: String
|
10617
|
+
# @param UserName: 用户名称
|
10618
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10619
|
+
# @type UserName: String
|
10620
|
+
|
10621
|
+
attr_accessor :UserBizId, :UserName
|
10622
|
+
|
10623
|
+
def initialize(userbizid=nil, username=nil)
|
10624
|
+
@UserBizId = userbizid
|
10625
|
+
@UserName = username
|
10626
|
+
end
|
10627
|
+
|
10628
|
+
def deserialize(params)
|
10629
|
+
@UserBizId = params['UserBizId']
|
10630
|
+
@UserName = params['UserName']
|
10631
|
+
end
|
10632
|
+
end
|
10633
|
+
|
10167
10634
|
# 任务流程参数信息
|
10168
10635
|
class ValueInfo < TencentCloud::Common::AbstractModel
|
10169
10636
|
# @param Id: 值ID
|
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.1079
|
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-06-
|
11
|
+
date: 2025-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|