tencentcloud-sdk-lke 3.0.1077 → 3.0.1080

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.
@@ -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
@@ -1739,6 +1804,88 @@ module TencentCloud
1739
1804
  end
1740
1805
  end
1741
1806
 
1807
+ # CreateWorkflowRun请求参数结构体
1808
+ class CreateWorkflowRunRequest < TencentCloud::Common::AbstractModel
1809
+ # @param RunEnv: 运行环境。0: 测试环境; 1: 正式环境
1810
+ # @type RunEnv: Integer
1811
+ # @param AppBizId: 应用ID
1812
+ # @type AppBizId: String
1813
+ # @param Query: 用户输入的内容
1814
+ # @type Query: String
1815
+ # @param CustomVariables: API参数配置
1816
+ # @type CustomVariables: Array
1817
+
1818
+ attr_accessor :RunEnv, :AppBizId, :Query, :CustomVariables
1819
+
1820
+ def initialize(runenv=nil, appbizid=nil, query=nil, customvariables=nil)
1821
+ @RunEnv = runenv
1822
+ @AppBizId = appbizid
1823
+ @Query = query
1824
+ @CustomVariables = customvariables
1825
+ end
1826
+
1827
+ def deserialize(params)
1828
+ @RunEnv = params['RunEnv']
1829
+ @AppBizId = params['AppBizId']
1830
+ @Query = params['Query']
1831
+ unless params['CustomVariables'].nil?
1832
+ @CustomVariables = []
1833
+ params['CustomVariables'].each do |i|
1834
+ customvariable_tmp = CustomVariable.new
1835
+ customvariable_tmp.deserialize(i)
1836
+ @CustomVariables << customvariable_tmp
1837
+ end
1838
+ end
1839
+ end
1840
+ end
1841
+
1842
+ # CreateWorkflowRun返回参数结构体
1843
+ class CreateWorkflowRunResponse < TencentCloud::Common::AbstractModel
1844
+ # @param AppBizId: 应用ID
1845
+ # @type AppBizId: String
1846
+ # @param WorkflowRunId: 工作流运行实例的ID
1847
+ # @type WorkflowRunId: String
1848
+ # @param RunEnv: 运行环境。0: 测试环境; 1: 正式环境
1849
+ # @type RunEnv: Integer
1850
+ # @param Query: 用户输入的内容
1851
+ # @type Query: String
1852
+ # @param CustomVariables: API参数配置
1853
+ # @type CustomVariables: Array
1854
+ # @param CreateTime: 创建时间(毫秒时间戳)
1855
+ # @type CreateTime: String
1856
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1857
+ # @type RequestId: String
1858
+
1859
+ attr_accessor :AppBizId, :WorkflowRunId, :RunEnv, :Query, :CustomVariables, :CreateTime, :RequestId
1860
+
1861
+ def initialize(appbizid=nil, workflowrunid=nil, runenv=nil, query=nil, customvariables=nil, createtime=nil, requestid=nil)
1862
+ @AppBizId = appbizid
1863
+ @WorkflowRunId = workflowrunid
1864
+ @RunEnv = runenv
1865
+ @Query = query
1866
+ @CustomVariables = customvariables
1867
+ @CreateTime = createtime
1868
+ @RequestId = requestid
1869
+ end
1870
+
1871
+ def deserialize(params)
1872
+ @AppBizId = params['AppBizId']
1873
+ @WorkflowRunId = params['WorkflowRunId']
1874
+ @RunEnv = params['RunEnv']
1875
+ @Query = params['Query']
1876
+ unless params['CustomVariables'].nil?
1877
+ @CustomVariables = []
1878
+ params['CustomVariables'].each do |i|
1879
+ customvariable_tmp = CustomVariable.new
1880
+ customvariable_tmp.deserialize(i)
1881
+ @CustomVariables << customvariable_tmp
1882
+ end
1883
+ end
1884
+ @CreateTime = params['CreateTime']
1885
+ @RequestId = params['RequestId']
1886
+ end
1887
+ end
1888
+
1742
1889
  # 临时密钥结构
1743
1890
  class Credentials < TencentCloud::Common::AbstractModel
1744
1891
  # @param Token: token
@@ -1771,6 +1918,26 @@ module TencentCloud
1771
1918
  end
1772
1919
  end
1773
1920
 
1921
+ # 工作流的API参数
1922
+ class CustomVariable < TencentCloud::Common::AbstractModel
1923
+ # @param Name: 参数名称
1924
+ # @type Name: String
1925
+ # @param Value: 参数的值
1926
+ # @type Value: String
1927
+
1928
+ attr_accessor :Name, :Value
1929
+
1930
+ def initialize(name=nil, value=nil)
1931
+ @Name = name
1932
+ @Value = value
1933
+ end
1934
+
1935
+ def deserialize(params)
1936
+ @Name = params['Name']
1937
+ @Value = params['Value']
1938
+ end
1939
+ end
1940
+
1774
1941
  # DeleteApp请求参数结构体
1775
1942
  class DeleteAppRequest < TencentCloud::Common::AbstractModel
1776
1943
  # @param AppBizId: 应用ID
@@ -2033,6 +2200,42 @@ module TencentCloud
2033
2200
  end
2034
2201
  end
2035
2202
 
2203
+ # DeleteSharedKnowledge请求参数结构体
2204
+ class DeleteSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
2205
+ # @param KnowledgeBizId: 共享知识库业务ID
2206
+ # @type KnowledgeBizId: String
2207
+
2208
+ attr_accessor :KnowledgeBizId
2209
+
2210
+ def initialize(knowledgebizid=nil)
2211
+ @KnowledgeBizId = knowledgebizid
2212
+ end
2213
+
2214
+ def deserialize(params)
2215
+ @KnowledgeBizId = params['KnowledgeBizId']
2216
+ end
2217
+ end
2218
+
2219
+ # DeleteSharedKnowledge返回参数结构体
2220
+ class DeleteSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
2221
+ # @param KnowledgeBizId: 共享知识库业务ID
2222
+ # @type KnowledgeBizId: String
2223
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2224
+ # @type RequestId: String
2225
+
2226
+ attr_accessor :KnowledgeBizId, :RequestId
2227
+
2228
+ def initialize(knowledgebizid=nil, requestid=nil)
2229
+ @KnowledgeBizId = knowledgebizid
2230
+ @RequestId = requestid
2231
+ end
2232
+
2233
+ def deserialize(params)
2234
+ @KnowledgeBizId = params['KnowledgeBizId']
2235
+ @RequestId = params['RequestId']
2236
+ end
2237
+ end
2238
+
2036
2239
  # DescribeApp请求参数结构体
2037
2240
  class DescribeAppRequest < TencentCloud::Common::AbstractModel
2038
2241
  # @param AppBizId: 应用ID
@@ -2710,6 +2913,45 @@ module TencentCloud
2710
2913
  end
2711
2914
  end
2712
2915
 
2916
+ # DescribeNodeRun请求参数结构体
2917
+ class DescribeNodeRunRequest < TencentCloud::Common::AbstractModel
2918
+ # @param NodeRunId: 节点运行实例ID
2919
+ # @type NodeRunId: String
2920
+
2921
+ attr_accessor :NodeRunId
2922
+
2923
+ def initialize(noderunid=nil)
2924
+ @NodeRunId = noderunid
2925
+ end
2926
+
2927
+ def deserialize(params)
2928
+ @NodeRunId = params['NodeRunId']
2929
+ end
2930
+ end
2931
+
2932
+ # DescribeNodeRun返回参数结构体
2933
+ class DescribeNodeRunResponse < TencentCloud::Common::AbstractModel
2934
+ # @param NodeRun: 节点运行实例详情
2935
+ # @type NodeRun: :class:`Tencentcloud::Lke.v20231130.models.NodeRunDetail`
2936
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2937
+ # @type RequestId: String
2938
+
2939
+ attr_accessor :NodeRun, :RequestId
2940
+
2941
+ def initialize(noderun=nil, requestid=nil)
2942
+ @NodeRun = noderun
2943
+ @RequestId = requestid
2944
+ end
2945
+
2946
+ def deserialize(params)
2947
+ unless params['NodeRun'].nil?
2948
+ @NodeRun = NodeRunDetail.new
2949
+ @NodeRun.deserialize(params['NodeRun'])
2950
+ end
2951
+ @RequestId = params['RequestId']
2952
+ end
2953
+ end
2954
+
2713
2955
  # DescribeQA请求参数结构体
2714
2956
  class DescribeQARequest < TencentCloud::Common::AbstractModel
2715
2957
  # @param QaBizId: QA业务ID
@@ -3198,6 +3440,46 @@ module TencentCloud
3198
3440
  end
3199
3441
  end
3200
3442
 
3443
+ # DescribeSharedKnowledge请求参数结构体
3444
+ class DescribeSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
3445
+ # @param KnowledgeBizId: 共享知识库业务ID
3446
+ # @type KnowledgeBizId: String
3447
+
3448
+ attr_accessor :KnowledgeBizId
3449
+
3450
+ def initialize(knowledgebizid=nil)
3451
+ @KnowledgeBizId = knowledgebizid
3452
+ end
3453
+
3454
+ def deserialize(params)
3455
+ @KnowledgeBizId = params['KnowledgeBizId']
3456
+ end
3457
+ end
3458
+
3459
+ # DescribeSharedKnowledge返回参数结构体
3460
+ class DescribeSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
3461
+ # @param Info: 知识库列表
3462
+ # 注意:此字段可能返回 null,表示取不到有效值。
3463
+ # @type Info: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeDetailInfo`
3464
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3465
+ # @type RequestId: String
3466
+
3467
+ attr_accessor :Info, :RequestId
3468
+
3469
+ def initialize(info=nil, requestid=nil)
3470
+ @Info = info
3471
+ @RequestId = requestid
3472
+ end
3473
+
3474
+ def deserialize(params)
3475
+ unless params['Info'].nil?
3476
+ @Info = KnowledgeDetailInfo.new
3477
+ @Info.deserialize(params['Info'])
3478
+ end
3479
+ @RequestId = params['RequestId']
3480
+ end
3481
+ end
3482
+
3201
3483
  # DescribeStorageCredential请求参数结构体
3202
3484
  class DescribeStorageCredentialRequest < TencentCloud::Common::AbstractModel
3203
3485
  # @param BotBizId: 应用ID,参数非必填不代表不需要填写,下面不同的参数组合会获取到不同的权限,具体请参考 https://cloud.tencent.com/document/product/1759/116238
@@ -3534,6 +3816,56 @@ module TencentCloud
3534
3816
  end
3535
3817
  end
3536
3818
 
3819
+ # DescribeWorkflowRun请求参数结构体
3820
+ class DescribeWorkflowRunRequest < TencentCloud::Common::AbstractModel
3821
+ # @param WorkflowRunId: 工作流运行实例ID
3822
+ # @type WorkflowRunId: String
3823
+
3824
+ attr_accessor :WorkflowRunId
3825
+
3826
+ def initialize(workflowrunid=nil)
3827
+ @WorkflowRunId = workflowrunid
3828
+ end
3829
+
3830
+ def deserialize(params)
3831
+ @WorkflowRunId = params['WorkflowRunId']
3832
+ end
3833
+ end
3834
+
3835
+ # DescribeWorkflowRun返回参数结构体
3836
+ class DescribeWorkflowRunResponse < TencentCloud::Common::AbstractModel
3837
+ # @param WorkflowRun: 总数
3838
+ # @type WorkflowRun: :class:`Tencentcloud::Lke.v20231130.models.WorkflowRunDetail`
3839
+ # @param NodeRuns: 节点列表
3840
+ # @type NodeRuns: Array
3841
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3842
+ # @type RequestId: String
3843
+
3844
+ attr_accessor :WorkflowRun, :NodeRuns, :RequestId
3845
+
3846
+ def initialize(workflowrun=nil, noderuns=nil, requestid=nil)
3847
+ @WorkflowRun = workflowrun
3848
+ @NodeRuns = noderuns
3849
+ @RequestId = requestid
3850
+ end
3851
+
3852
+ def deserialize(params)
3853
+ unless params['WorkflowRun'].nil?
3854
+ @WorkflowRun = WorkflowRunDetail.new
3855
+ @WorkflowRun.deserialize(params['WorkflowRun'])
3856
+ end
3857
+ unless params['NodeRuns'].nil?
3858
+ @NodeRuns = []
3859
+ params['NodeRuns'].each do |i|
3860
+ noderunbase_tmp = NodeRunBase.new
3861
+ noderunbase_tmp.deserialize(i)
3862
+ @NodeRuns << noderunbase_tmp
3863
+ end
3864
+ end
3865
+ @RequestId = params['RequestId']
3866
+ end
3867
+ end
3868
+
3537
3869
  # 数智人配置
3538
3870
  class DigitalHumanConfig < TencentCloud::Common::AbstractModel
3539
3871
  # @param AssetKey: 数智人资产key
@@ -5105,6 +5437,46 @@ module TencentCloud
5105
5437
  end
5106
5438
  end
5107
5439
 
5440
+ # 共享知识库基础信息
5441
+ class KnowledgeBaseInfo < TencentCloud::Common::AbstractModel
5442
+ # @param KnowledgeBizId: 共享知识库业务ID
5443
+ # @type KnowledgeBizId: String
5444
+ # @param KnowledgeName: 共享知识库名称
5445
+ # @type KnowledgeName: String
5446
+ # @param KnowledgeDescription: 共享知识库描述
5447
+ # 注意:此字段可能返回 null,表示取不到有效值。
5448
+ # @type KnowledgeDescription: String
5449
+ # @param EmbeddingModel: Embedding模型
5450
+ # 注意:此字段可能返回 null,表示取不到有效值。
5451
+ # @type EmbeddingModel: String
5452
+ # @param QaExtractModel: 问答提取模型
5453
+ # 注意:此字段可能返回 null,表示取不到有效值。
5454
+ # @type QaExtractModel: String
5455
+ # @param UpdateTime: 更新时间
5456
+ # 注意:此字段可能返回 null,表示取不到有效值。
5457
+ # @type UpdateTime: String
5458
+
5459
+ attr_accessor :KnowledgeBizId, :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel, :UpdateTime
5460
+
5461
+ def initialize(knowledgebizid=nil, knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil, updatetime=nil)
5462
+ @KnowledgeBizId = knowledgebizid
5463
+ @KnowledgeName = knowledgename
5464
+ @KnowledgeDescription = knowledgedescription
5465
+ @EmbeddingModel = embeddingmodel
5466
+ @QaExtractModel = qaextractmodel
5467
+ @UpdateTime = updatetime
5468
+ end
5469
+
5470
+ def deserialize(params)
5471
+ @KnowledgeBizId = params['KnowledgeBizId']
5472
+ @KnowledgeName = params['KnowledgeName']
5473
+ @KnowledgeDescription = params['KnowledgeDescription']
5474
+ @EmbeddingModel = params['EmbeddingModel']
5475
+ @QaExtractModel = params['QaExtractModel']
5476
+ @UpdateTime = params['UpdateTime']
5477
+ end
5478
+ end
5479
+
5108
5480
  # 知识库容量饼图详情
5109
5481
  class KnowledgeCapacityPieGraphDetail < TencentCloud::Common::AbstractModel
5110
5482
  # @param AppName: 当前应用名称
@@ -5164,6 +5536,46 @@ module TencentCloud
5164
5536
  end
5165
5537
  end
5166
5538
 
5539
+ # 知识库详情信息
5540
+ class KnowledgeDetailInfo < TencentCloud::Common::AbstractModel
5541
+ # @param Knowledge: 知识库信息
5542
+ # 注意:此字段可能返回 null,表示取不到有效值。
5543
+ # @type Knowledge: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeBaseInfo`
5544
+ # @param AppList: 应用列表
5545
+ # 注意:此字段可能返回 null,表示取不到有效值。
5546
+ # @type AppList: Array
5547
+ # @param User: 用户信息
5548
+ # 注意:此字段可能返回 null,表示取不到有效值。
5549
+ # @type User: :class:`Tencentcloud::Lke.v20231130.models.UserBaseInfo`
5550
+
5551
+ attr_accessor :Knowledge, :AppList, :User
5552
+
5553
+ def initialize(knowledge=nil, applist=nil, user=nil)
5554
+ @Knowledge = knowledge
5555
+ @AppList = applist
5556
+ @User = user
5557
+ end
5558
+
5559
+ def deserialize(params)
5560
+ unless params['Knowledge'].nil?
5561
+ @Knowledge = KnowledgeBaseInfo.new
5562
+ @Knowledge.deserialize(params['Knowledge'])
5563
+ end
5564
+ unless params['AppList'].nil?
5565
+ @AppList = []
5566
+ params['AppList'].each do |i|
5567
+ appbaseinfo_tmp = AppBaseInfo.new
5568
+ appbaseinfo_tmp.deserialize(i)
5569
+ @AppList << appbaseinfo_tmp
5570
+ end
5571
+ end
5572
+ unless params['User'].nil?
5573
+ @User = UserBaseInfo.new
5574
+ @User.deserialize(params['User'])
5575
+ end
5576
+ end
5577
+ end
5578
+
5167
5579
  # 知识问答配置
5168
5580
  class KnowledgeQaConfig < TencentCloud::Common::AbstractModel
5169
5581
  # @param Greeting: 欢迎语,200字符以内
@@ -5533,6 +5945,37 @@ module TencentCloud
5533
5945
  end
5534
5946
  end
5535
5947
 
5948
+ # 共享知识库更新信息
5949
+ class KnowledgeUpdateInfo < TencentCloud::Common::AbstractModel
5950
+ # @param KnowledgeName: 共享知识库名称
5951
+ # @type KnowledgeName: String
5952
+ # @param KnowledgeDescription: 共享知识库描述
5953
+ # 注意:此字段可能返回 null,表示取不到有效值。
5954
+ # @type KnowledgeDescription: String
5955
+ # @param EmbeddingModel: Embedding模型
5956
+ # 注意:此字段可能返回 null,表示取不到有效值。
5957
+ # @type EmbeddingModel: String
5958
+ # @param QaExtractModel: 问答提取模型
5959
+ # 注意:此字段可能返回 null,表示取不到有效值。
5960
+ # @type QaExtractModel: String
5961
+
5962
+ attr_accessor :KnowledgeName, :KnowledgeDescription, :EmbeddingModel, :QaExtractModel
5963
+
5964
+ def initialize(knowledgename=nil, knowledgedescription=nil, embeddingmodel=nil, qaextractmodel=nil)
5965
+ @KnowledgeName = knowledgename
5966
+ @KnowledgeDescription = knowledgedescription
5967
+ @EmbeddingModel = embeddingmodel
5968
+ @QaExtractModel = qaextractmodel
5969
+ end
5970
+
5971
+ def deserialize(params)
5972
+ @KnowledgeName = params['KnowledgeName']
5973
+ @KnowledgeDescription = params['KnowledgeDescription']
5974
+ @EmbeddingModel = params['EmbeddingModel']
5975
+ @QaExtractModel = params['QaExtractModel']
5976
+ end
5977
+ end
5978
+
5536
5979
  # 问答知识库工作流配置
5537
5980
  class KnowledgeWorkflow < TencentCloud::Common::AbstractModel
5538
5981
  # @param IsEnabled: 是否启用工作流
@@ -6483,12 +6926,63 @@ module TencentCloud
6483
6926
  end
6484
6927
  end
6485
6928
 
6486
- # ListRejectedQuestionPreview请求参数结构体
6487
- class ListRejectedQuestionPreviewRequest < TencentCloud::Common::AbstractModel
6488
- # @param BotBizId: 应用ID
6489
- # @type BotBizId: String
6490
- # @param PageNumber: 页码
6491
- # @type PageNumber: Integer
6929
+ # ListReferShareKnowledge请求参数结构体
6930
+ class ListReferShareKnowledgeRequest < TencentCloud::Common::AbstractModel
6931
+ # @param AppBizId: 应用业务id
6932
+ # @type AppBizId: String
6933
+ # @param LoginUin: 登录用户主账号(集成商模式必填)
6934
+ # @type LoginUin: String
6935
+ # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
6936
+ # @type LoginSubAccountUin: String
6937
+
6938
+ attr_accessor :AppBizId, :LoginUin, :LoginSubAccountUin
6939
+
6940
+ def initialize(appbizid=nil, loginuin=nil, loginsubaccountuin=nil)
6941
+ @AppBizId = appbizid
6942
+ @LoginUin = loginuin
6943
+ @LoginSubAccountUin = loginsubaccountuin
6944
+ end
6945
+
6946
+ def deserialize(params)
6947
+ @AppBizId = params['AppBizId']
6948
+ @LoginUin = params['LoginUin']
6949
+ @LoginSubAccountUin = params['LoginSubAccountUin']
6950
+ end
6951
+ end
6952
+
6953
+ # ListReferShareKnowledge返回参数结构体
6954
+ class ListReferShareKnowledgeResponse < TencentCloud::Common::AbstractModel
6955
+ # @param List: 共享知识库信息列表
6956
+ # @type List: Array
6957
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6958
+ # @type RequestId: String
6959
+
6960
+ attr_accessor :List, :RequestId
6961
+
6962
+ def initialize(list=nil, requestid=nil)
6963
+ @List = list
6964
+ @RequestId = requestid
6965
+ end
6966
+
6967
+ def deserialize(params)
6968
+ unless params['List'].nil?
6969
+ @List = []
6970
+ params['List'].each do |i|
6971
+ knowledgebaseinfo_tmp = KnowledgeBaseInfo.new
6972
+ knowledgebaseinfo_tmp.deserialize(i)
6973
+ @List << knowledgebaseinfo_tmp
6974
+ end
6975
+ end
6976
+ @RequestId = params['RequestId']
6977
+ end
6978
+ end
6979
+
6980
+ # ListRejectedQuestionPreview请求参数结构体
6981
+ class ListRejectedQuestionPreviewRequest < TencentCloud::Common::AbstractModel
6982
+ # @param BotBizId: 应用ID
6983
+ # @type BotBizId: String
6984
+ # @param PageNumber: 页码
6985
+ # @type PageNumber: Integer
6492
6986
  # @param PageSize: 每页数量
6493
6987
  # @type PageSize: Integer
6494
6988
  # @param Query: 查询内容
@@ -7004,6 +7498,62 @@ module TencentCloud
7004
7498
  end
7005
7499
  end
7006
7500
 
7501
+ # ListSharedKnowledge请求参数结构体
7502
+ class ListSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
7503
+ # @param PageNumber: 分页序号,编码从1开始
7504
+ # @type PageNumber: Integer
7505
+ # @param PageSize: 分页大小,有效范围为[1,200]
7506
+ # @type PageSize: Integer
7507
+ # @param Keyword: 搜索关键字
7508
+ # @type Keyword: String
7509
+
7510
+ attr_accessor :PageNumber, :PageSize, :Keyword
7511
+
7512
+ def initialize(pagenumber=nil, pagesize=nil, keyword=nil)
7513
+ @PageNumber = pagenumber
7514
+ @PageSize = pagesize
7515
+ @Keyword = keyword
7516
+ end
7517
+
7518
+ def deserialize(params)
7519
+ @PageNumber = params['PageNumber']
7520
+ @PageSize = params['PageSize']
7521
+ @Keyword = params['Keyword']
7522
+ end
7523
+ end
7524
+
7525
+ # ListSharedKnowledge返回参数结构体
7526
+ class ListSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
7527
+ # @param Total: 累计数量
7528
+ # @type Total: Integer
7529
+ # @param KnowledgeList: 知识库列表
7530
+ # 注意:此字段可能返回 null,表示取不到有效值。
7531
+ # @type KnowledgeList: Array
7532
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7533
+ # @type RequestId: String
7534
+
7535
+ attr_accessor :Total, :KnowledgeList, :RequestId
7536
+
7537
+ def initialize(total=nil, knowledgelist=nil, requestid=nil)
7538
+ @Total = total
7539
+ @KnowledgeList = knowledgelist
7540
+ @RequestId = requestid
7541
+ end
7542
+
7543
+ def deserialize(params)
7544
+ @Total = params['Total']
7545
+ unless params['KnowledgeList'].nil?
7546
+ @KnowledgeList = []
7547
+ params['KnowledgeList'].each do |i|
7548
+ knowledgedetailinfo_tmp = KnowledgeDetailInfo.new
7549
+ knowledgedetailinfo_tmp.deserialize(i)
7550
+ @KnowledgeList << knowledgedetailinfo_tmp
7551
+ end
7552
+ end
7553
+ @RequestId = params['RequestId']
7554
+ end
7555
+ end
7556
+
7007
7557
  # ListUnsatisfiedReply请求参数结构体
7008
7558
  class ListUnsatisfiedReplyRequest < TencentCloud::Common::AbstractModel
7009
7559
  # @param BotBizId: 应用ID
@@ -7159,6 +7709,73 @@ module TencentCloud
7159
7709
  end
7160
7710
  end
7161
7711
 
7712
+ # ListWorkflowRuns请求参数结构体
7713
+ class ListWorkflowRunsRequest < TencentCloud::Common::AbstractModel
7714
+ # @param RunEnv: 运行环境。0: 测试环境; 1: 正式环境
7715
+ # @type RunEnv: Integer
7716
+ # @param AppBizId: 应用ID
7717
+ # @type AppBizId: String
7718
+ # @param Page: 页码
7719
+ # @type Page: Integer
7720
+ # @param PageSize: 每页数量
7721
+ # @type PageSize: Integer
7722
+ # @param LoginUin: 登录用户主账号(集成商模式必填)
7723
+ # @type LoginUin: String
7724
+ # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
7725
+ # @type LoginSubAccountUin: String
7726
+
7727
+ attr_accessor :RunEnv, :AppBizId, :Page, :PageSize, :LoginUin, :LoginSubAccountUin
7728
+
7729
+ def initialize(runenv=nil, appbizid=nil, page=nil, pagesize=nil, loginuin=nil, loginsubaccountuin=nil)
7730
+ @RunEnv = runenv
7731
+ @AppBizId = appbizid
7732
+ @Page = page
7733
+ @PageSize = pagesize
7734
+ @LoginUin = loginuin
7735
+ @LoginSubAccountUin = loginsubaccountuin
7736
+ end
7737
+
7738
+ def deserialize(params)
7739
+ @RunEnv = params['RunEnv']
7740
+ @AppBizId = params['AppBizId']
7741
+ @Page = params['Page']
7742
+ @PageSize = params['PageSize']
7743
+ @LoginUin = params['LoginUin']
7744
+ @LoginSubAccountUin = params['LoginSubAccountUin']
7745
+ end
7746
+ end
7747
+
7748
+ # ListWorkflowRuns返回参数结构体
7749
+ class ListWorkflowRunsResponse < TencentCloud::Common::AbstractModel
7750
+ # @param Total: 总数
7751
+ # @type Total: Integer
7752
+ # @param WorkflowRuns: 工作流运行列表
7753
+ # @type WorkflowRuns: Array
7754
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7755
+ # @type RequestId: String
7756
+
7757
+ attr_accessor :Total, :WorkflowRuns, :RequestId
7758
+
7759
+ def initialize(total=nil, workflowruns=nil, requestid=nil)
7760
+ @Total = total
7761
+ @WorkflowRuns = workflowruns
7762
+ @RequestId = requestid
7763
+ end
7764
+
7765
+ def deserialize(params)
7766
+ @Total = params['Total']
7767
+ unless params['WorkflowRuns'].nil?
7768
+ @WorkflowRuns = []
7769
+ params['WorkflowRuns'].each do |i|
7770
+ workflowrunbase_tmp = WorkflowRunBase.new
7771
+ workflowrunbase_tmp.deserialize(i)
7772
+ @WorkflowRuns << workflowrunbase_tmp
7773
+ end
7774
+ end
7775
+ @RequestId = params['RequestId']
7776
+ end
7777
+ end
7778
+
7162
7779
  # 一条message代表一条对话记录
7163
7780
  # role表示角色 user或者assistant
7164
7781
  # content表示对话内容
@@ -8098,6 +8715,199 @@ module TencentCloud
8098
8715
  end
8099
8716
  end
8100
8717
 
8718
+ # 节点运行的基本信息
8719
+ class NodeRunBase < TencentCloud::Common::AbstractModel
8720
+ # @param NodeRunId: 节点运行的ID
8721
+ # @type NodeRunId: String
8722
+ # @param NodeId: 节点ID
8723
+ # @type NodeId: String
8724
+ # @param WorkflowRunId: 工作流运行实例的ID
8725
+ # @type WorkflowRunId: String
8726
+ # @param NodeName: 节点名称
8727
+ # @type NodeName: String
8728
+ # @param NodeType: 节点类型。
8729
+ # 1: 开始节点
8730
+ # 2:参数提取节点
8731
+ # 3:大模型节点
8732
+ # 4:知识问答节点
8733
+ # 5:知识检索节点
8734
+ # 6:标签提取节点
8735
+ # 7:代码执行节点
8736
+ # 8:工具节点
8737
+ # 9:逻辑判断节点
8738
+ # 10:回复节点
8739
+ # 11:选项卡节点
8740
+ # 12:循环节点
8741
+ # 13:意图识别节点
8742
+ # 14:工作流节点
8743
+ # 15:插件节点
8744
+ # 16:结束节点
8745
+ # 17: 变量聚合节点数据
8746
+ # 18: 批处理节点
8747
+ # 19: 消息队列节点
8748
+ # @type NodeType: Integer
8749
+ # @param State: 运行状态。0: 初始状态;1: 运行中;2: 运行成功; 3: 运行失败; 4: 已取消
8750
+ # @type State: Integer
8751
+ # @param FailCode: 错误码
8752
+ # @type FailCode: String
8753
+ # @param FailMessage: 错误信息
8754
+ # @type FailMessage: String
8755
+ # @param CostMilliseconds: 消耗时间(毫秒)
8756
+ # @type CostMilliseconds: Integer
8757
+ # @param TotalTokens: 消耗的token总数
8758
+ # @type TotalTokens: Integer
8759
+
8760
+ attr_accessor :NodeRunId, :NodeId, :WorkflowRunId, :NodeName, :NodeType, :State, :FailCode, :FailMessage, :CostMilliseconds, :TotalTokens
8761
+
8762
+ def initialize(noderunid=nil, nodeid=nil, workflowrunid=nil, nodename=nil, nodetype=nil, state=nil, failcode=nil, failmessage=nil, costmilliseconds=nil, totaltokens=nil)
8763
+ @NodeRunId = noderunid
8764
+ @NodeId = nodeid
8765
+ @WorkflowRunId = workflowrunid
8766
+ @NodeName = nodename
8767
+ @NodeType = nodetype
8768
+ @State = state
8769
+ @FailCode = failcode
8770
+ @FailMessage = failmessage
8771
+ @CostMilliseconds = costmilliseconds
8772
+ @TotalTokens = totaltokens
8773
+ end
8774
+
8775
+ def deserialize(params)
8776
+ @NodeRunId = params['NodeRunId']
8777
+ @NodeId = params['NodeId']
8778
+ @WorkflowRunId = params['WorkflowRunId']
8779
+ @NodeName = params['NodeName']
8780
+ @NodeType = params['NodeType']
8781
+ @State = params['State']
8782
+ @FailCode = params['FailCode']
8783
+ @FailMessage = params['FailMessage']
8784
+ @CostMilliseconds = params['CostMilliseconds']
8785
+ @TotalTokens = params['TotalTokens']
8786
+ end
8787
+ end
8788
+
8789
+ # 工作流节点运行详情
8790
+ class NodeRunDetail < TencentCloud::Common::AbstractModel
8791
+ # @param NodeRunId: 节点运行的ID
8792
+ # @type NodeRunId: String
8793
+ # @param NodeId: 节点ID
8794
+ # @type NodeId: String
8795
+ # @param WorkflowRunId: 工作流运行实例的ID
8796
+ # @type WorkflowRunId: String
8797
+ # @param NodeName: 节点名称
8798
+ # @type NodeName: String
8799
+ # @param NodeType: 节点类型。
8800
+ # 1: 开始节点
8801
+ # 2:参数提取节点
8802
+ # 3:大模型节点
8803
+ # 4:知识问答节点
8804
+ # 5:知识检索节点
8805
+ # 6:标签提取节点
8806
+ # 7:代码执行节点
8807
+ # 8:工具节点
8808
+ # 9:逻辑判断节点
8809
+ # 10:回复节点
8810
+ # 11:选项卡节点
8811
+ # 12:循环节点
8812
+ # 13:意图识别节点
8813
+ # 14:工作流节点
8814
+ # 15:插件节点
8815
+ # 16:结束节点
8816
+ # 17: 变量聚合节点数据
8817
+ # 18: 批处理节点
8818
+ # 19: 消息队列节点
8819
+ # @type NodeType: Integer
8820
+ # @param State: 运行状态。0: 初始状态;1: 运行中;2: 运行成功; 3: 运行失败; 4: 已取消
8821
+ # @type State: Integer
8822
+ # @param FailCode: 错误码
8823
+ # @type FailCode: String
8824
+ # @param FailMessage: 错误信息
8825
+ # @type FailMessage: String
8826
+ # @param CostMilliseconds: 消耗时间(毫秒)
8827
+ # @type CostMilliseconds: Integer
8828
+ # @param TotalTokens: 消耗的token总数
8829
+ # @type TotalTokens: Integer
8830
+ # @param Input: 输入变量信息
8831
+ # @type Input: String
8832
+ # @param InputRef: 节点的输入的完整内容的链接。(当Input内容超过限制的时候此字段才有值)
8833
+ # @type InputRef: String
8834
+ # @param Output: 输出变量信息
8835
+ # @type Output: String
8836
+ # @param OutputRef: 节点的输出的完整内容的链接。(当Output内容超过限制的时候此字段才有值)
8837
+ # @type OutputRef: String
8838
+ # @param TaskOutput: 原始输出信息。部分节点才有值,如工具节点、代码节点
8839
+ # @type TaskOutput: String
8840
+ # @param TaskOutputRef: 任务的原始输出的完整内容的链接。(当TaskOutput内容超过限制的时候此字段才有值)
8841
+ # @type TaskOutputRef: String
8842
+ # @param Log: 节点的日志
8843
+ # @type Log: String
8844
+ # @param LogRef: 节点的日志的完整内容的链接志(当Log内容超过限制的时候才有值)
8845
+ # @type LogRef: String
8846
+ # @param StartTime: 开始时间戳(毫秒)
8847
+ # @type StartTime: String
8848
+ # @param EndTime: 结束时间戳(毫秒)
8849
+ # @type EndTime: String
8850
+ # @param StatisticInfos: LLM统计信息。
8851
+ # @type StatisticInfos: Array
8852
+
8853
+ attr_accessor :NodeRunId, :NodeId, :WorkflowRunId, :NodeName, :NodeType, :State, :FailCode, :FailMessage, :CostMilliseconds, :TotalTokens, :Input, :InputRef, :Output, :OutputRef, :TaskOutput, :TaskOutputRef, :Log, :LogRef, :StartTime, :EndTime, :StatisticInfos
8854
+
8855
+ def initialize(noderunid=nil, nodeid=nil, workflowrunid=nil, nodename=nil, nodetype=nil, state=nil, failcode=nil, failmessage=nil, costmilliseconds=nil, totaltokens=nil, input=nil, inputref=nil, output=nil, outputref=nil, taskoutput=nil, taskoutputref=nil, log=nil, logref=nil, starttime=nil, endtime=nil, statisticinfos=nil)
8856
+ @NodeRunId = noderunid
8857
+ @NodeId = nodeid
8858
+ @WorkflowRunId = workflowrunid
8859
+ @NodeName = nodename
8860
+ @NodeType = nodetype
8861
+ @State = state
8862
+ @FailCode = failcode
8863
+ @FailMessage = failmessage
8864
+ @CostMilliseconds = costmilliseconds
8865
+ @TotalTokens = totaltokens
8866
+ @Input = input
8867
+ @InputRef = inputref
8868
+ @Output = output
8869
+ @OutputRef = outputref
8870
+ @TaskOutput = taskoutput
8871
+ @TaskOutputRef = taskoutputref
8872
+ @Log = log
8873
+ @LogRef = logref
8874
+ @StartTime = starttime
8875
+ @EndTime = endtime
8876
+ @StatisticInfos = statisticinfos
8877
+ end
8878
+
8879
+ def deserialize(params)
8880
+ @NodeRunId = params['NodeRunId']
8881
+ @NodeId = params['NodeId']
8882
+ @WorkflowRunId = params['WorkflowRunId']
8883
+ @NodeName = params['NodeName']
8884
+ @NodeType = params['NodeType']
8885
+ @State = params['State']
8886
+ @FailCode = params['FailCode']
8887
+ @FailMessage = params['FailMessage']
8888
+ @CostMilliseconds = params['CostMilliseconds']
8889
+ @TotalTokens = params['TotalTokens']
8890
+ @Input = params['Input']
8891
+ @InputRef = params['InputRef']
8892
+ @Output = params['Output']
8893
+ @OutputRef = params['OutputRef']
8894
+ @TaskOutput = params['TaskOutput']
8895
+ @TaskOutputRef = params['TaskOutputRef']
8896
+ @Log = params['Log']
8897
+ @LogRef = params['LogRef']
8898
+ @StartTime = params['StartTime']
8899
+ @EndTime = params['EndTime']
8900
+ unless params['StatisticInfos'].nil?
8901
+ @StatisticInfos = []
8902
+ params['StatisticInfos'].each do |i|
8903
+ statisticinfo_tmp = StatisticInfo.new
8904
+ statisticinfo_tmp.deserialize(i)
8905
+ @StatisticInfos << statisticinfo_tmp
8906
+ end
8907
+ end
8908
+ end
8909
+ end
8910
+
8101
8911
  # 下拉框选项
8102
8912
  class Option < TencentCloud::Common::AbstractModel
8103
8913
  # @param Text: 文本
@@ -8849,6 +9659,50 @@ module TencentCloud
8849
9659
  end
8850
9660
  end
8851
9661
 
9662
+ # ReferShareKnowledge请求参数结构体
9663
+ class ReferShareKnowledgeRequest < TencentCloud::Common::AbstractModel
9664
+ # @param AppBizId: 应用业务id
9665
+ # @type AppBizId: String
9666
+ # @param KnowledgeBizId: 共享知识库业务id列表
9667
+ # @type KnowledgeBizId: Array
9668
+ # @param LoginUin: 登录用户主账号(集成商模式必填)
9669
+ # @type LoginUin: String
9670
+ # @param LoginSubAccountUin: 登录用户子账号(集成商模式必填)
9671
+ # @type LoginSubAccountUin: String
9672
+
9673
+ attr_accessor :AppBizId, :KnowledgeBizId, :LoginUin, :LoginSubAccountUin
9674
+
9675
+ def initialize(appbizid=nil, knowledgebizid=nil, loginuin=nil, loginsubaccountuin=nil)
9676
+ @AppBizId = appbizid
9677
+ @KnowledgeBizId = knowledgebizid
9678
+ @LoginUin = loginuin
9679
+ @LoginSubAccountUin = loginsubaccountuin
9680
+ end
9681
+
9682
+ def deserialize(params)
9683
+ @AppBizId = params['AppBizId']
9684
+ @KnowledgeBizId = params['KnowledgeBizId']
9685
+ @LoginUin = params['LoginUin']
9686
+ @LoginSubAccountUin = params['LoginSubAccountUin']
9687
+ end
9688
+ end
9689
+
9690
+ # ReferShareKnowledge返回参数结构体
9691
+ class ReferShareKnowledgeResponse < TencentCloud::Common::AbstractModel
9692
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9693
+ # @type RequestId: String
9694
+
9695
+ attr_accessor :RequestId
9696
+
9697
+ def initialize(requestid=nil)
9698
+ @RequestId = requestid
9699
+ end
9700
+
9701
+ def deserialize(params)
9702
+ @RequestId = params['RequestId']
9703
+ end
9704
+ end
9705
+
8852
9706
  # 发布拒答
8853
9707
  class RejectedQuestion < TencentCloud::Common::AbstractModel
8854
9708
  # @param RejectedBizId: 拒答问题ID
@@ -9728,6 +10582,38 @@ module TencentCloud
9728
10582
  end
9729
10583
  end
9730
10584
 
10585
+ # StopWorkflowRun请求参数结构体
10586
+ class StopWorkflowRunRequest < TencentCloud::Common::AbstractModel
10587
+ # @param WorkflowRunId: 工作流运行实例ID
10588
+ # @type WorkflowRunId: String
10589
+
10590
+ attr_accessor :WorkflowRunId
10591
+
10592
+ def initialize(workflowrunid=nil)
10593
+ @WorkflowRunId = workflowrunid
10594
+ end
10595
+
10596
+ def deserialize(params)
10597
+ @WorkflowRunId = params['WorkflowRunId']
10598
+ end
10599
+ end
10600
+
10601
+ # StopWorkflowRun返回参数结构体
10602
+ class StopWorkflowRunResponse < TencentCloud::Common::AbstractModel
10603
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10604
+ # @type RequestId: String
10605
+
10606
+ attr_accessor :RequestId
10607
+
10608
+ def initialize(requestid=nil)
10609
+ @RequestId = requestid
10610
+ end
10611
+
10612
+ def deserialize(params)
10613
+ @RequestId = params['RequestId']
10614
+ end
10615
+ end
10616
+
9731
10617
  # 字符串KV信息
9732
10618
  class StrValue < TencentCloud::Common::AbstractModel
9733
10619
  # @param Name: 名称
@@ -10068,6 +10954,49 @@ module TencentCloud
10068
10954
  end
10069
10955
  end
10070
10956
 
10957
+ # UpdateSharedKnowledge请求参数结构体
10958
+ class UpdateSharedKnowledgeRequest < TencentCloud::Common::AbstractModel
10959
+ # @param KnowledgeBizId: 共享知识库业务ID
10960
+ # @type KnowledgeBizId: String
10961
+ # @param Info: 共享知识库更新信息
10962
+ # @type Info: :class:`Tencentcloud::Lke.v20231130.models.KnowledgeUpdateInfo`
10963
+
10964
+ attr_accessor :KnowledgeBizId, :Info
10965
+
10966
+ def initialize(knowledgebizid=nil, info=nil)
10967
+ @KnowledgeBizId = knowledgebizid
10968
+ @Info = info
10969
+ end
10970
+
10971
+ def deserialize(params)
10972
+ @KnowledgeBizId = params['KnowledgeBizId']
10973
+ unless params['Info'].nil?
10974
+ @Info = KnowledgeUpdateInfo.new
10975
+ @Info.deserialize(params['Info'])
10976
+ end
10977
+ end
10978
+ end
10979
+
10980
+ # UpdateSharedKnowledge返回参数结构体
10981
+ class UpdateSharedKnowledgeResponse < TencentCloud::Common::AbstractModel
10982
+ # @param KnowledgeBizId: 共享知识库业务ID
10983
+ # @type KnowledgeBizId: String
10984
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10985
+ # @type RequestId: String
10986
+
10987
+ attr_accessor :KnowledgeBizId, :RequestId
10988
+
10989
+ def initialize(knowledgebizid=nil, requestid=nil)
10990
+ @KnowledgeBizId = knowledgebizid
10991
+ @RequestId = requestid
10992
+ end
10993
+
10994
+ def deserialize(params)
10995
+ @KnowledgeBizId = params['KnowledgeBizId']
10996
+ @RequestId = params['RequestId']
10997
+ end
10998
+ end
10999
+
10071
11000
  # UploadAttributeLabel请求参数结构体
10072
11001
  class UploadAttributeLabelRequest < TencentCloud::Common::AbstractModel
10073
11002
  # @param BotBizId: 应用ID
@@ -10164,6 +11093,27 @@ module TencentCloud
10164
11093
  end
10165
11094
  end
10166
11095
 
11096
+ # 用户基础信息
11097
+ class UserBaseInfo < TencentCloud::Common::AbstractModel
11098
+ # @param UserBizId: 用户ID
11099
+ # @type UserBizId: String
11100
+ # @param UserName: 用户名称
11101
+ # 注意:此字段可能返回 null,表示取不到有效值。
11102
+ # @type UserName: String
11103
+
11104
+ attr_accessor :UserBizId, :UserName
11105
+
11106
+ def initialize(userbizid=nil, username=nil)
11107
+ @UserBizId = userbizid
11108
+ @UserName = username
11109
+ end
11110
+
11111
+ def deserialize(params)
11112
+ @UserBizId = params['UserBizId']
11113
+ @UserName = params['UserName']
11114
+ end
11115
+ end
11116
+
10167
11117
  # 任务流程参数信息
10168
11118
  class ValueInfo < TencentCloud::Common::AbstractModel
10169
11119
  # @param Id: 值ID
@@ -10444,6 +11394,141 @@ module TencentCloud
10444
11394
  end
10445
11395
  end
10446
11396
 
11397
+ # 工作流运行实例的基本信息
11398
+ class WorkflowRunBase < TencentCloud::Common::AbstractModel
11399
+ # @param RunEnv: 运行环境。0: 测试环境; 1: 正式环境
11400
+ # @type RunEnv: Integer
11401
+ # @param AppBizId: 应用ID
11402
+ # @type AppBizId: String
11403
+ # @param WorkflowRunId: 工作流运行实例的ID
11404
+ # @type WorkflowRunId: String
11405
+ # @param WorkflowId: 所属工作流ID
11406
+ # @type WorkflowId: String
11407
+ # @param Name: 名称
11408
+ # @type Name: String
11409
+ # @param State: 运行状态。0: 排队中;1: 运行中;2: 运行成功;3: 运行失败; 4: 已取消
11410
+ # @type State: Integer
11411
+ # @param FailMessage: 错误信息
11412
+ # @type FailMessage: String
11413
+ # @param TotalTokens: 消耗的token总数
11414
+ # @type TotalTokens: Integer
11415
+ # @param CreateTime: 创建时间(毫秒时间戳)
11416
+ # @type CreateTime: String
11417
+ # @param StartTime: 开始时间(毫秒时间戳)
11418
+ # @type StartTime: String
11419
+ # @param EndTime: 结束时间(毫秒时间戳)
11420
+ # @type EndTime: String
11421
+
11422
+ attr_accessor :RunEnv, :AppBizId, :WorkflowRunId, :WorkflowId, :Name, :State, :FailMessage, :TotalTokens, :CreateTime, :StartTime, :EndTime
11423
+
11424
+ def initialize(runenv=nil, appbizid=nil, workflowrunid=nil, workflowid=nil, name=nil, state=nil, failmessage=nil, totaltokens=nil, createtime=nil, starttime=nil, endtime=nil)
11425
+ @RunEnv = runenv
11426
+ @AppBizId = appbizid
11427
+ @WorkflowRunId = workflowrunid
11428
+ @WorkflowId = workflowid
11429
+ @Name = name
11430
+ @State = state
11431
+ @FailMessage = failmessage
11432
+ @TotalTokens = totaltokens
11433
+ @CreateTime = createtime
11434
+ @StartTime = starttime
11435
+ @EndTime = endtime
11436
+ end
11437
+
11438
+ def deserialize(params)
11439
+ @RunEnv = params['RunEnv']
11440
+ @AppBizId = params['AppBizId']
11441
+ @WorkflowRunId = params['WorkflowRunId']
11442
+ @WorkflowId = params['WorkflowId']
11443
+ @Name = params['Name']
11444
+ @State = params['State']
11445
+ @FailMessage = params['FailMessage']
11446
+ @TotalTokens = params['TotalTokens']
11447
+ @CreateTime = params['CreateTime']
11448
+ @StartTime = params['StartTime']
11449
+ @EndTime = params['EndTime']
11450
+ end
11451
+ end
11452
+
11453
+ # 工作流运行实例详情
11454
+ class WorkflowRunDetail < TencentCloud::Common::AbstractModel
11455
+ # @param RunEnv: 运行环境。0: 测试环境; 1: 正式环境
11456
+ # @type RunEnv: Integer
11457
+ # @param AppBizId: 应用ID
11458
+ # @type AppBizId: String
11459
+ # @param WorkflowRunId: 工作流运行实例的ID
11460
+ # @type WorkflowRunId: String
11461
+ # @param WorkflowId: 所属工作流ID
11462
+ # @type WorkflowId: String
11463
+ # @param Name: 名称
11464
+ # @type Name: String
11465
+ # @param State: 运行状态。0: 排队中;1: 运行中;2: 运行成功;3: 运行失败; 4: 已取消
11466
+ # @type State: Integer
11467
+ # @param FailMessage: 错误信息
11468
+ # @type FailMessage: String
11469
+ # @param TotalTokens: 消耗的token总数
11470
+ # @type TotalTokens: Integer
11471
+ # @param CreateTime: 创建时间(毫秒时间戳)
11472
+ # @type CreateTime: String
11473
+ # @param StartTime: 开始时间(毫秒时间戳)
11474
+ # @type StartTime: String
11475
+ # @param EndTime: 结束时间(毫秒时间戳)
11476
+ # @type EndTime: String
11477
+ # @param DialogJson: 工作流画布Json
11478
+ # @type DialogJson: String
11479
+ # @param Query: 用户的输入
11480
+ # @type Query: String
11481
+ # @param MainModelName: 主模型名称
11482
+ # @type MainModelName: String
11483
+ # @param CustomVariables: API参数配置
11484
+ # @type CustomVariables: Array
11485
+
11486
+ attr_accessor :RunEnv, :AppBizId, :WorkflowRunId, :WorkflowId, :Name, :State, :FailMessage, :TotalTokens, :CreateTime, :StartTime, :EndTime, :DialogJson, :Query, :MainModelName, :CustomVariables
11487
+
11488
+ def initialize(runenv=nil, appbizid=nil, workflowrunid=nil, workflowid=nil, name=nil, state=nil, failmessage=nil, totaltokens=nil, createtime=nil, starttime=nil, endtime=nil, dialogjson=nil, query=nil, mainmodelname=nil, customvariables=nil)
11489
+ @RunEnv = runenv
11490
+ @AppBizId = appbizid
11491
+ @WorkflowRunId = workflowrunid
11492
+ @WorkflowId = workflowid
11493
+ @Name = name
11494
+ @State = state
11495
+ @FailMessage = failmessage
11496
+ @TotalTokens = totaltokens
11497
+ @CreateTime = createtime
11498
+ @StartTime = starttime
11499
+ @EndTime = endtime
11500
+ @DialogJson = dialogjson
11501
+ @Query = query
11502
+ @MainModelName = mainmodelname
11503
+ @CustomVariables = customvariables
11504
+ end
11505
+
11506
+ def deserialize(params)
11507
+ @RunEnv = params['RunEnv']
11508
+ @AppBizId = params['AppBizId']
11509
+ @WorkflowRunId = params['WorkflowRunId']
11510
+ @WorkflowId = params['WorkflowId']
11511
+ @Name = params['Name']
11512
+ @State = params['State']
11513
+ @FailMessage = params['FailMessage']
11514
+ @TotalTokens = params['TotalTokens']
11515
+ @CreateTime = params['CreateTime']
11516
+ @StartTime = params['StartTime']
11517
+ @EndTime = params['EndTime']
11518
+ @DialogJson = params['DialogJson']
11519
+ @Query = params['Query']
11520
+ @MainModelName = params['MainModelName']
11521
+ unless params['CustomVariables'].nil?
11522
+ @CustomVariables = []
11523
+ params['CustomVariables'].each do |i|
11524
+ customvariable_tmp = CustomVariable.new
11525
+ customvariable_tmp.deserialize(i)
11526
+ @CustomVariables << customvariable_tmp
11527
+ end
11528
+ end
11529
+ end
11530
+ end
11531
+
10447
11532
  # 工作流运行节点信息
10448
11533
  class WorkflowRunNodeInfo < TencentCloud::Common::AbstractModel
10449
11534
  # @param NodeId: 节点ID