tencentcloud-sdk-tione 3.0.650 → 3.0.651
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20211111/client.rb +5 -3
- data/lib/v20211111/models.rb +236 -39
- 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: 38798bca6058d1d0f704f70dbc6efbd5a06f0bd3
|
4
|
+
data.tar.gz: 65d571ca0c72905cf7ffbf34499bec23db20198b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb616564ac828ff28e5ef2d63a6731805dcc8146825f6f0ee7ecfd86020c386bf1919df960782cb752784c4318f08926b5e1cf5646c2e2bdee3934efb277b92f
|
7
|
+
data.tar.gz: 8cb23eb93fdff563f71ede34b098e9a2a8486b326981389d36706eb62be77c9ce0d27ffb8f07308d0b3575d7c5e97ac755f3616e7331d393e22a97a68049fd96
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.651
|
data/lib/v20211111/client.rb
CHANGED
@@ -29,7 +29,9 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
-
#
|
32
|
+
# 该接口支持与两种类型大模型的聊天。
|
33
|
+
# 1. 与多行业多场景大模型的在线体验聊天
|
34
|
+
# 2. 与自行部署的开源大模型的聊天
|
33
35
|
|
34
36
|
# @param request: Request instance for ChatCompletion.
|
35
37
|
# @type request: :class:`Tencentcloud::tione::V20211111::ChatCompletionRequest`
|
@@ -797,7 +799,7 @@ module TencentCloud
|
|
797
799
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
800
|
end
|
799
801
|
|
800
|
-
# 获取训练、推理、Notebook服务的日志
|
802
|
+
# 获取训练、推理、Notebook服务的日志 API
|
801
803
|
|
802
804
|
# @param request: Request instance for DescribeLogs.
|
803
805
|
# @type request: :class:`Tencentcloud::tione::V20211111::DescribeLogsRequest`
|
@@ -1517,7 +1519,7 @@ module TencentCloud
|
|
1517
1519
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1518
1520
|
end
|
1519
1521
|
|
1520
|
-
#
|
1522
|
+
# 这是一个供您体验大模型聊天的接口。
|
1521
1523
|
|
1522
1524
|
# @param request: Request instance for SendChatMessage.
|
1523
1525
|
# @type request: :class:`Tencentcloud::tione::V20211111::SendChatMessageRequest`
|
data/lib/v20211111/models.rb
CHANGED
@@ -555,15 +555,17 @@ module TencentCloud
|
|
555
555
|
|
556
556
|
# ChatCompletion请求参数结构体
|
557
557
|
class ChatCompletionRequest < TencentCloud::Common::AbstractModel
|
558
|
-
# @param Model:
|
558
|
+
# @param Model: 对话的目标模型ID。
|
559
|
+
# 多行业多场景大模型在线体验聊天:tj_llm_clm-v1。
|
560
|
+
# 自行部署的开源大模型聊天:部署的模型服务组ID,形如ms-xxyyzz。
|
559
561
|
# @type Model: String
|
560
562
|
# @param Messages: 输入对话历史。旧的对话在前,数组中最后一项应该为这次的问题。
|
561
563
|
# @type Messages: Array
|
562
|
-
# @param Temperature:
|
564
|
+
# @param Temperature: 仅当模型为自行部署的开源大模型时生效。采样随机值,默认值为1.0,取值范围[0,2]。较高的值(如0.8)将使输出更加随机,而较低的值(如0.2)将使输出更加确定。建议仅修改此参数或TopP,但不建议两者都修改。
|
563
565
|
# @type Temperature: Float
|
564
|
-
# @param TopP:
|
566
|
+
# @param TopP: 仅当模型为自行部署的开源大模型时生效。核采样,默认值为1,取值范围[0,1]。指的是预先设置一个概率界限 p,然后将所有可能生成的token,根据概率大小从高到低排列,依次选取。当这些选取的token的累积概率大于或等于 p 值时停止,然后从已经选取的token中进行采样,生成下一个token。例如top_p为0.1时意味着模型只考虑累积概率为10%的token。建议仅修改此参数或Temperature,不建议两者都修改。
|
565
567
|
# @type TopP: Float
|
566
|
-
# @param MaxTokens:
|
568
|
+
# @param MaxTokens: 仅当模型为自行部署的开源大模型时生效。最大生成的token数目。默认为无限大。
|
567
569
|
# @type MaxTokens: Integer
|
568
570
|
|
569
571
|
attr_accessor :Model, :Messages, :Temperature, :TopP, :MaxTokens
|
@@ -1588,8 +1590,6 @@ module TencentCloud
|
|
1588
1590
|
# VERSION:导入新版本
|
1589
1591
|
# EXIST:导入现有版本
|
1590
1592
|
# @type ImportMethod: String
|
1591
|
-
# @param TrainingModelCosPath: 模型来源cos目录,以/结尾
|
1592
|
-
# @type TrainingModelCosPath: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
1593
1593
|
# @param ReasoningEnvironmentSource: 推理环境来源(SYSTEM/CUSTOM)
|
1594
1594
|
# @type ReasoningEnvironmentSource: String
|
1595
1595
|
# @param TrainingModelName: 模型名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
|
@@ -1598,6 +1598,8 @@ module TencentCloud
|
|
1598
1598
|
# @type Tags: Array
|
1599
1599
|
# @param TrainingJobName: 训练任务名称
|
1600
1600
|
# @type TrainingJobName: String
|
1601
|
+
# @param TrainingModelCosPath: 模型来源cos目录,以/结尾
|
1602
|
+
# @type TrainingModelCosPath: :class:`Tencentcloud::Tione.v20211111.models.CosPathInfo`
|
1601
1603
|
# @param AlgorithmFramework: 算法框架 (PYTORCH/TENSORFLOW/DETECTRON2/PMML/MMDETECTION)
|
1602
1604
|
# @type AlgorithmFramework: String
|
1603
1605
|
# @param ReasoningEnvironment: 推理环境
|
@@ -1641,15 +1643,15 @@ module TencentCloud
|
|
1641
1643
|
# @param IsQAT: 是否QAT模型
|
1642
1644
|
# @type IsQAT: Boolean
|
1643
1645
|
|
1644
|
-
attr_accessor :ImportMethod, :
|
1646
|
+
attr_accessor :ImportMethod, :ReasoningEnvironmentSource, :TrainingModelName, :Tags, :TrainingJobName, :TrainingModelCosPath, :AlgorithmFramework, :ReasoningEnvironment, :TrainingModelIndex, :TrainingModelVersion, :ReasoningImageInfo, :ModelMoveMode, :TrainingJobId, :TrainingModelId, :ModelOutputPath, :TrainingModelSource, :TrainingPreference, :AutoMLTaskId, :TrainingJobVersion, :ModelVersionType, :ModelFormat, :ReasoningEnvironmentId, :AutoClean, :MaxReservedModels, :ModelCleanPeriod, :IsQAT
|
1645
1647
|
|
1646
|
-
def initialize(importmethod=nil,
|
1648
|
+
def initialize(importmethod=nil, reasoningenvironmentsource=nil, trainingmodelname=nil, tags=nil, trainingjobname=nil, trainingmodelcospath=nil, algorithmframework=nil, reasoningenvironment=nil, trainingmodelindex=nil, trainingmodelversion=nil, reasoningimageinfo=nil, modelmovemode=nil, trainingjobid=nil, trainingmodelid=nil, modeloutputpath=nil, trainingmodelsource=nil, trainingpreference=nil, automltaskid=nil, trainingjobversion=nil, modelversiontype=nil, modelformat=nil, reasoningenvironmentid=nil, autoclean=nil, maxreservedmodels=nil, modelcleanperiod=nil, isqat=nil)
|
1647
1649
|
@ImportMethod = importmethod
|
1648
|
-
@TrainingModelCosPath = trainingmodelcospath
|
1649
1650
|
@ReasoningEnvironmentSource = reasoningenvironmentsource
|
1650
1651
|
@TrainingModelName = trainingmodelname
|
1651
1652
|
@Tags = tags
|
1652
1653
|
@TrainingJobName = trainingjobname
|
1654
|
+
@TrainingModelCosPath = trainingmodelcospath
|
1653
1655
|
@AlgorithmFramework = algorithmframework
|
1654
1656
|
@ReasoningEnvironment = reasoningenvironment
|
1655
1657
|
@TrainingModelIndex = trainingmodelindex
|
@@ -1674,10 +1676,6 @@ module TencentCloud
|
|
1674
1676
|
|
1675
1677
|
def deserialize(params)
|
1676
1678
|
@ImportMethod = params['ImportMethod']
|
1677
|
-
unless params['TrainingModelCosPath'].nil?
|
1678
|
-
@TrainingModelCosPath = CosPathInfo.new
|
1679
|
-
@TrainingModelCosPath.deserialize(params['TrainingModelCosPath'])
|
1680
|
-
end
|
1681
1679
|
@ReasoningEnvironmentSource = params['ReasoningEnvironmentSource']
|
1682
1680
|
@TrainingModelName = params['TrainingModelName']
|
1683
1681
|
unless params['Tags'].nil?
|
@@ -1689,6 +1687,10 @@ module TencentCloud
|
|
1689
1687
|
end
|
1690
1688
|
end
|
1691
1689
|
@TrainingJobName = params['TrainingJobName']
|
1690
|
+
unless params['TrainingModelCosPath'].nil?
|
1691
|
+
@TrainingModelCosPath = CosPathInfo.new
|
1692
|
+
@TrainingModelCosPath.deserialize(params['TrainingModelCosPath'])
|
1693
|
+
end
|
1692
1694
|
@AlgorithmFramework = params['AlgorithmFramework']
|
1693
1695
|
@ReasoningEnvironment = params['ReasoningEnvironment']
|
1694
1696
|
@TrainingModelIndex = params['TrainingModelIndex']
|
@@ -2612,15 +2614,19 @@ module TencentCloud
|
|
2612
2614
|
class DeleteModelServiceRequest < TencentCloud::Common::AbstractModel
|
2613
2615
|
# @param ServiceId: 服务id
|
2614
2616
|
# @type ServiceId: String
|
2617
|
+
# @param ServiceCategory: 服务分类
|
2618
|
+
# @type ServiceCategory: String
|
2615
2619
|
|
2616
|
-
attr_accessor :ServiceId
|
2620
|
+
attr_accessor :ServiceId, :ServiceCategory
|
2617
2621
|
|
2618
|
-
def initialize(serviceid=nil)
|
2622
|
+
def initialize(serviceid=nil, servicecategory=nil)
|
2619
2623
|
@ServiceId = serviceid
|
2624
|
+
@ServiceCategory = servicecategory
|
2620
2625
|
end
|
2621
2626
|
|
2622
2627
|
def deserialize(params)
|
2623
2628
|
@ServiceId = params['ServiceId']
|
2629
|
+
@ServiceCategory = params['ServiceCategory']
|
2624
2630
|
end
|
2625
2631
|
end
|
2626
2632
|
|
@@ -3603,14 +3609,14 @@ module TencentCloud
|
|
3603
3609
|
class DescribeLogsRequest < TencentCloud::Common::AbstractModel
|
3604
3610
|
# @param Service: 查询哪个服务的事件(可选值为TRAIN, NOTEBOOK, INFER)
|
3605
3611
|
# @type Service: String
|
3606
|
-
# @param PodName: 查询哪个Pod的日志(支持结尾通配符*)
|
3607
|
-
# @type PodName: String
|
3608
3612
|
# @param StartTime: 日志查询开始时间(RFC3339格式的时间字符串),默认值为当前时间的前一个小时
|
3609
3613
|
# @type StartTime: String
|
3610
3614
|
# @param EndTime: 日志查询结束时间(RFC3339格式的时间字符串),默认值为当前时间
|
3611
3615
|
# @type EndTime: String
|
3612
3616
|
# @param Limit: 日志查询条数,默认值100,最大值100
|
3613
3617
|
# @type Limit: Integer
|
3618
|
+
# @param PodName: 查询哪个Pod的日志(支持结尾通配符*)
|
3619
|
+
# @type PodName: String
|
3614
3620
|
# @param Order: 排序方向(可选值为ASC, DESC ),默认为DESC
|
3615
3621
|
# @type Order: String
|
3616
3622
|
# @param OrderField: 按哪个字段排序(可选值为Timestamp),默认值为Timestamp
|
@@ -3624,14 +3630,14 @@ module TencentCloud
|
|
3624
3630
|
# 3. Filter. Negative和Filter. Fuzzy没有使用
|
3625
3631
|
# @type Filters: Array
|
3626
3632
|
|
3627
|
-
attr_accessor :Service, :
|
3633
|
+
attr_accessor :Service, :StartTime, :EndTime, :Limit, :PodName, :Order, :OrderField, :Context, :Filters
|
3628
3634
|
|
3629
|
-
def initialize(service=nil,
|
3635
|
+
def initialize(service=nil, starttime=nil, endtime=nil, limit=nil, podname=nil, order=nil, orderfield=nil, context=nil, filters=nil)
|
3630
3636
|
@Service = service
|
3631
|
-
@PodName = podname
|
3632
3637
|
@StartTime = starttime
|
3633
3638
|
@EndTime = endtime
|
3634
3639
|
@Limit = limit
|
3640
|
+
@PodName = podname
|
3635
3641
|
@Order = order
|
3636
3642
|
@OrderField = orderfield
|
3637
3643
|
@Context = context
|
@@ -3640,10 +3646,10 @@ module TencentCloud
|
|
3640
3646
|
|
3641
3647
|
def deserialize(params)
|
3642
3648
|
@Service = params['Service']
|
3643
|
-
@PodName = params['PodName']
|
3644
3649
|
@StartTime = params['StartTime']
|
3645
3650
|
@EndTime = params['EndTime']
|
3646
3651
|
@Limit = params['Limit']
|
3652
|
+
@PodName = params['PodName']
|
3647
3653
|
@Order = params['Order']
|
3648
3654
|
@OrderField = params['OrderField']
|
3649
3655
|
@Context = params['Context']
|
@@ -3874,15 +3880,19 @@ module TencentCloud
|
|
3874
3880
|
class DescribeModelServiceCallInfoRequest < TencentCloud::Common::AbstractModel
|
3875
3881
|
# @param ServiceGroupId: 服务组id
|
3876
3882
|
# @type ServiceGroupId: String
|
3883
|
+
# @param ServiceCategory: 服务分类
|
3884
|
+
# @type ServiceCategory: String
|
3877
3885
|
|
3878
|
-
attr_accessor :ServiceGroupId
|
3886
|
+
attr_accessor :ServiceGroupId, :ServiceCategory
|
3879
3887
|
|
3880
|
-
def initialize(servicegroupid=nil)
|
3888
|
+
def initialize(servicegroupid=nil, servicecategory=nil)
|
3881
3889
|
@ServiceGroupId = servicegroupid
|
3890
|
+
@ServiceCategory = servicecategory
|
3882
3891
|
end
|
3883
3892
|
|
3884
3893
|
def deserialize(params)
|
3885
3894
|
@ServiceGroupId = params['ServiceGroupId']
|
3895
|
+
@ServiceCategory = params['ServiceCategory']
|
3886
3896
|
end
|
3887
3897
|
end
|
3888
3898
|
|
@@ -3897,15 +3907,23 @@ module TencentCloud
|
|
3897
3907
|
# @param DefaultNginxGatewayCallInfo: 默认nginx网关的调用信息
|
3898
3908
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3899
3909
|
# @type DefaultNginxGatewayCallInfo: :class:`Tencentcloud::Tione.v20211111.models.DefaultNginxGatewayCallInfo`
|
3910
|
+
# @param TJCallInfo: 太极服务的调用信息
|
3911
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3912
|
+
# @type TJCallInfo: :class:`Tencentcloud::Tione.v20211111.models.TJCallInfo`
|
3913
|
+
# @param IntranetCallInfo: 内网调用信息
|
3914
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3915
|
+
# @type IntranetCallInfo: :class:`Tencentcloud::Tione.v20211111.models.IntranetCallInfo`
|
3900
3916
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3901
3917
|
# @type RequestId: String
|
3902
3918
|
|
3903
|
-
attr_accessor :ServiceCallInfo, :InferGatewayCallInfo, :DefaultNginxGatewayCallInfo, :RequestId
|
3919
|
+
attr_accessor :ServiceCallInfo, :InferGatewayCallInfo, :DefaultNginxGatewayCallInfo, :TJCallInfo, :IntranetCallInfo, :RequestId
|
3904
3920
|
|
3905
|
-
def initialize(servicecallinfo=nil, infergatewaycallinfo=nil, defaultnginxgatewaycallinfo=nil, requestid=nil)
|
3921
|
+
def initialize(servicecallinfo=nil, infergatewaycallinfo=nil, defaultnginxgatewaycallinfo=nil, tjcallinfo=nil, intranetcallinfo=nil, requestid=nil)
|
3906
3922
|
@ServiceCallInfo = servicecallinfo
|
3907
3923
|
@InferGatewayCallInfo = infergatewaycallinfo
|
3908
3924
|
@DefaultNginxGatewayCallInfo = defaultnginxgatewaycallinfo
|
3925
|
+
@TJCallInfo = tjcallinfo
|
3926
|
+
@IntranetCallInfo = intranetcallinfo
|
3909
3927
|
@RequestId = requestid
|
3910
3928
|
end
|
3911
3929
|
|
@@ -3922,6 +3940,14 @@ module TencentCloud
|
|
3922
3940
|
@DefaultNginxGatewayCallInfo = DefaultNginxGatewayCallInfo.new
|
3923
3941
|
@DefaultNginxGatewayCallInfo.deserialize(params['DefaultNginxGatewayCallInfo'])
|
3924
3942
|
end
|
3943
|
+
unless params['TJCallInfo'].nil?
|
3944
|
+
@TJCallInfo = TJCallInfo.new
|
3945
|
+
@TJCallInfo.deserialize(params['TJCallInfo'])
|
3946
|
+
end
|
3947
|
+
unless params['IntranetCallInfo'].nil?
|
3948
|
+
@IntranetCallInfo = IntranetCallInfo.new
|
3949
|
+
@IntranetCallInfo.deserialize(params['IntranetCallInfo'])
|
3950
|
+
end
|
3925
3951
|
@RequestId = params['RequestId']
|
3926
3952
|
end
|
3927
3953
|
end
|
@@ -3930,15 +3956,19 @@ module TencentCloud
|
|
3930
3956
|
class DescribeModelServiceGroupRequest < TencentCloud::Common::AbstractModel
|
3931
3957
|
# @param ServiceGroupId: 服务组ID
|
3932
3958
|
# @type ServiceGroupId: String
|
3959
|
+
# @param ServiceCategory: 服务分类
|
3960
|
+
# @type ServiceCategory: String
|
3933
3961
|
|
3934
|
-
attr_accessor :ServiceGroupId
|
3962
|
+
attr_accessor :ServiceGroupId, :ServiceCategory
|
3935
3963
|
|
3936
|
-
def initialize(servicegroupid=nil)
|
3964
|
+
def initialize(servicegroupid=nil, servicecategory=nil)
|
3937
3965
|
@ServiceGroupId = servicegroupid
|
3966
|
+
@ServiceCategory = servicecategory
|
3938
3967
|
end
|
3939
3968
|
|
3940
3969
|
def deserialize(params)
|
3941
3970
|
@ServiceGroupId = params['ServiceGroupId']
|
3971
|
+
@ServiceCategory = params['ServiceCategory']
|
3942
3972
|
end
|
3943
3973
|
end
|
3944
3974
|
|
@@ -3981,16 +4011,19 @@ module TencentCloud
|
|
3981
4011
|
# @type Filters: Array
|
3982
4012
|
# @param TagFilters: 标签过滤参数
|
3983
4013
|
# @type TagFilters: Array
|
4014
|
+
# @param ServiceCategory: 服务分类
|
4015
|
+
# @type ServiceCategory: String
|
3984
4016
|
|
3985
|
-
attr_accessor :Offset, :Limit, :Order, :OrderField, :Filters, :TagFilters
|
4017
|
+
attr_accessor :Offset, :Limit, :Order, :OrderField, :Filters, :TagFilters, :ServiceCategory
|
3986
4018
|
|
3987
|
-
def initialize(offset=nil, limit=nil, order=nil, orderfield=nil, filters=nil, tagfilters=nil)
|
4019
|
+
def initialize(offset=nil, limit=nil, order=nil, orderfield=nil, filters=nil, tagfilters=nil, servicecategory=nil)
|
3988
4020
|
@Offset = offset
|
3989
4021
|
@Limit = limit
|
3990
4022
|
@Order = order
|
3991
4023
|
@OrderField = orderfield
|
3992
4024
|
@Filters = filters
|
3993
4025
|
@TagFilters = tagfilters
|
4026
|
+
@ServiceCategory = servicecategory
|
3994
4027
|
end
|
3995
4028
|
|
3996
4029
|
def deserialize(params)
|
@@ -4014,6 +4047,7 @@ module TencentCloud
|
|
4014
4047
|
@TagFilters << tagfilter_tmp
|
4015
4048
|
end
|
4016
4049
|
end
|
4050
|
+
@ServiceCategory = params['ServiceCategory']
|
4017
4051
|
end
|
4018
4052
|
end
|
4019
4053
|
|
@@ -4156,15 +4190,19 @@ module TencentCloud
|
|
4156
4190
|
class DescribeModelServiceRequest < TencentCloud::Common::AbstractModel
|
4157
4191
|
# @param ServiceId: 服务id
|
4158
4192
|
# @type ServiceId: String
|
4193
|
+
# @param ServiceCategory: 服务分类
|
4194
|
+
# @type ServiceCategory: String
|
4159
4195
|
|
4160
|
-
attr_accessor :ServiceId
|
4196
|
+
attr_accessor :ServiceId, :ServiceCategory
|
4161
4197
|
|
4162
|
-
def initialize(serviceid=nil)
|
4198
|
+
def initialize(serviceid=nil, servicecategory=nil)
|
4163
4199
|
@ServiceId = serviceid
|
4200
|
+
@ServiceCategory = servicecategory
|
4164
4201
|
end
|
4165
4202
|
|
4166
4203
|
def deserialize(params)
|
4167
4204
|
@ServiceId = params['ServiceId']
|
4205
|
+
@ServiceCategory = params['ServiceCategory']
|
4168
4206
|
end
|
4169
4207
|
end
|
4170
4208
|
|
@@ -5593,6 +5631,38 @@ module TencentCloud
|
|
5593
5631
|
end
|
5594
5632
|
end
|
5595
5633
|
|
5634
|
+
# 私有连接通道信息
|
5635
|
+
class IngressPrivateLinkInfo < TencentCloud::Common::AbstractModel
|
5636
|
+
# @param VpcId: 用户VpcId
|
5637
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5638
|
+
# @type VpcId: String
|
5639
|
+
# @param SubnetId: 用户子网ID
|
5640
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5641
|
+
# @type SubnetId: String
|
5642
|
+
# @param InnerHttpAddr: 内网http调用地址
|
5643
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5644
|
+
# @type InnerHttpAddr: Array
|
5645
|
+
# @param InnerHttpsAddr: 内网https调用地址
|
5646
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5647
|
+
# @type InnerHttpsAddr: Array
|
5648
|
+
|
5649
|
+
attr_accessor :VpcId, :SubnetId, :InnerHttpAddr, :InnerHttpsAddr
|
5650
|
+
|
5651
|
+
def initialize(vpcid=nil, subnetid=nil, innerhttpaddr=nil, innerhttpsaddr=nil)
|
5652
|
+
@VpcId = vpcid
|
5653
|
+
@SubnetId = subnetid
|
5654
|
+
@InnerHttpAddr = innerhttpaddr
|
5655
|
+
@InnerHttpsAddr = innerhttpsaddr
|
5656
|
+
end
|
5657
|
+
|
5658
|
+
def deserialize(params)
|
5659
|
+
@VpcId = params['VpcId']
|
5660
|
+
@SubnetId = params['SubnetId']
|
5661
|
+
@InnerHttpAddr = params['InnerHttpAddr']
|
5662
|
+
@InnerHttpsAddr = params['InnerHttpsAddr']
|
5663
|
+
end
|
5664
|
+
end
|
5665
|
+
|
5596
5666
|
# 资源组节点信息
|
5597
5667
|
class Instance < TencentCloud::Common::AbstractModel
|
5598
5668
|
# @param InstanceId: 资源组节点id
|
@@ -5672,6 +5742,38 @@ module TencentCloud
|
|
5672
5742
|
end
|
5673
5743
|
end
|
5674
5744
|
|
5745
|
+
# 内网调用信息
|
5746
|
+
class IntranetCallInfo < TencentCloud::Common::AbstractModel
|
5747
|
+
# @param IngressPrivateLinkInfo: 私有连接通道信息
|
5748
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5749
|
+
# @type IngressPrivateLinkInfo: :class:`Tencentcloud::Tione.v20211111.models.IngressPrivateLinkInfo`
|
5750
|
+
# @param ServiceEIPInfo: 共享弹性网卡信息
|
5751
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5752
|
+
# @type ServiceEIPInfo: Array
|
5753
|
+
|
5754
|
+
attr_accessor :IngressPrivateLinkInfo, :ServiceEIPInfo
|
5755
|
+
|
5756
|
+
def initialize(ingressprivatelinkinfo=nil, serviceeipinfo=nil)
|
5757
|
+
@IngressPrivateLinkInfo = ingressprivatelinkinfo
|
5758
|
+
@ServiceEIPInfo = serviceeipinfo
|
5759
|
+
end
|
5760
|
+
|
5761
|
+
def deserialize(params)
|
5762
|
+
unless params['IngressPrivateLinkInfo'].nil?
|
5763
|
+
@IngressPrivateLinkInfo = IngressPrivateLinkInfo.new
|
5764
|
+
@IngressPrivateLinkInfo.deserialize(params['IngressPrivateLinkInfo'])
|
5765
|
+
end
|
5766
|
+
unless params['ServiceEIPInfo'].nil?
|
5767
|
+
@ServiceEIPInfo = []
|
5768
|
+
params['ServiceEIPInfo'].each do |i|
|
5769
|
+
serviceeipinfo_tmp = ServiceEIPInfo.new
|
5770
|
+
serviceeipinfo_tmp.deserialize(i)
|
5771
|
+
@ServiceEIPInfo << serviceeipinfo_tmp
|
5772
|
+
end
|
5773
|
+
end
|
5774
|
+
end
|
5775
|
+
end
|
5776
|
+
|
5675
5777
|
# 日志配置
|
5676
5778
|
class LogConfig < TencentCloud::Common::AbstractModel
|
5677
5779
|
# @param LogsetId: 日志需要投递到cls的日志集
|
@@ -7794,12 +7896,18 @@ module TencentCloud
|
|
7794
7896
|
# @type SessionId: String
|
7795
7897
|
# @param Question: 问题描述
|
7796
7898
|
# @type Question: String
|
7797
|
-
# @param ModelVersion:
|
7798
|
-
#
|
7899
|
+
# @param ModelVersion: 会话模型版本。
|
7900
|
+
# 多行业多场景大模型:填写 tj_llm_clm-v1。
|
7901
|
+
# 多行业客服大模型:填写demo_big_model_version_id。
|
7902
|
+
# 默认为demo_big_model_version_id,即多行业客服大模型。
|
7799
7903
|
# @type ModelVersion: String
|
7800
|
-
# @param Mode: 使用模式(
|
7904
|
+
# @param Mode: 使用模式(仅多场景客服大模型支持)。
|
7905
|
+
# 通用问答:填写General。
|
7906
|
+
# 搜索增强问答:填写WithSearchPlugin。
|
7907
|
+
# 默认为General,即通用问答。
|
7801
7908
|
# @type Mode: String
|
7802
|
-
# @param SearchSource: 搜索来源。仅当Mode
|
7909
|
+
# @param SearchSource: 搜索来源。仅当Mode为WithSearchPlugin时生效。
|
7910
|
+
# 预置文稿库:填写Preset。自定义:填写Custom。
|
7803
7911
|
# @type SearchSource: String
|
7804
7912
|
|
7805
7913
|
attr_accessor :SessionId, :Question, :ModelVersion, :Mode, :SearchSource
|
@@ -8072,6 +8180,60 @@ module TencentCloud
|
|
8072
8180
|
end
|
8073
8181
|
end
|
8074
8182
|
|
8183
|
+
# 服务共享弹性网卡设置
|
8184
|
+
class ServiceEIP < TencentCloud::Common::AbstractModel
|
8185
|
+
# @param EnableEIP: 是否开启TIONE内网到外部的访问
|
8186
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8187
|
+
# @type EnableEIP: Boolean
|
8188
|
+
# @param VpcId: 用户VpcId
|
8189
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8190
|
+
# @type VpcId: String
|
8191
|
+
# @param SubnetId: 用户subnetId
|
8192
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8193
|
+
# @type SubnetId: String
|
8194
|
+
|
8195
|
+
attr_accessor :EnableEIP, :VpcId, :SubnetId
|
8196
|
+
|
8197
|
+
def initialize(enableeip=nil, vpcid=nil, subnetid=nil)
|
8198
|
+
@EnableEIP = enableeip
|
8199
|
+
@VpcId = vpcid
|
8200
|
+
@SubnetId = subnetid
|
8201
|
+
end
|
8202
|
+
|
8203
|
+
def deserialize(params)
|
8204
|
+
@EnableEIP = params['EnableEIP']
|
8205
|
+
@VpcId = params['VpcId']
|
8206
|
+
@SubnetId = params['SubnetId']
|
8207
|
+
end
|
8208
|
+
end
|
8209
|
+
|
8210
|
+
# 共享弹性网卡信息
|
8211
|
+
class ServiceEIPInfo < TencentCloud::Common::AbstractModel
|
8212
|
+
# @param ServiceId: 服务ID
|
8213
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8214
|
+
# @type ServiceId: String
|
8215
|
+
# @param VpcId: 用户VpcId
|
8216
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8217
|
+
# @type VpcId: String
|
8218
|
+
# @param SubnetId: 用户子网Id
|
8219
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8220
|
+
# @type SubnetId: String
|
8221
|
+
|
8222
|
+
attr_accessor :ServiceId, :VpcId, :SubnetId
|
8223
|
+
|
8224
|
+
def initialize(serviceid=nil, vpcid=nil, subnetid=nil)
|
8225
|
+
@ServiceId = serviceid
|
8226
|
+
@VpcId = vpcid
|
8227
|
+
@SubnetId = subnetid
|
8228
|
+
end
|
8229
|
+
|
8230
|
+
def deserialize(params)
|
8231
|
+
@ServiceId = params['ServiceId']
|
8232
|
+
@VpcId = params['VpcId']
|
8233
|
+
@SubnetId = params['SubnetId']
|
8234
|
+
end
|
8235
|
+
end
|
8236
|
+
|
8075
8237
|
# 在线服务一个服务组的信息
|
8076
8238
|
class ServiceGroup < TencentCloud::Common::AbstractModel
|
8077
8239
|
# @param ServiceGroupId: 服务组id
|
@@ -8323,10 +8485,13 @@ module TencentCloud
|
|
8323
8485
|
# @param Command: 服务的启动命令
|
8324
8486
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8325
8487
|
# @type Command: String
|
8488
|
+
# @param ServiceEIP: 开启TIONE内网访问外部设置
|
8489
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8490
|
+
# @type ServiceEIP: :class:`Tencentcloud::Tione.v20211111.models.ServiceEIP`
|
8326
8491
|
|
8327
|
-
attr_accessor :Replicas, :ImageInfo, :Env, :Resources, :InstanceType, :ModelInfo, :LogEnable, :LogConfig, :AuthorizationEnable, :HorizontalPodAutoscaler, :Status, :Weight, :PodList, :ResourceTotal, :OldReplicas, :HybridBillingPrepaidReplicas, :OldHybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScaleMode, :CronScaleJobs, :ScaleStrategy, :ScheduledAction, :Pods, :PodInfos, :ServiceLimit, :ModelTurboEnable, :VolumeMount, :InferCodeInfo, :Command
|
8492
|
+
attr_accessor :Replicas, :ImageInfo, :Env, :Resources, :InstanceType, :ModelInfo, :LogEnable, :LogConfig, :AuthorizationEnable, :HorizontalPodAutoscaler, :Status, :Weight, :PodList, :ResourceTotal, :OldReplicas, :HybridBillingPrepaidReplicas, :OldHybridBillingPrepaidReplicas, :ModelHotUpdateEnable, :ScaleMode, :CronScaleJobs, :ScaleStrategy, :ScheduledAction, :Pods, :PodInfos, :ServiceLimit, :ModelTurboEnable, :VolumeMount, :InferCodeInfo, :Command, :ServiceEIP
|
8328
8493
|
|
8329
|
-
def initialize(replicas=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, modelinfo=nil, logenable=nil, logconfig=nil, authorizationenable=nil, horizontalpodautoscaler=nil, status=nil, weight=nil, podlist=nil, resourcetotal=nil, oldreplicas=nil, hybridbillingprepaidreplicas=nil, oldhybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, scalemode=nil, cronscalejobs=nil, scalestrategy=nil, scheduledaction=nil, pods=nil, podinfos=nil, servicelimit=nil, modelturboenable=nil, volumemount=nil, infercodeinfo=nil, command=nil)
|
8494
|
+
def initialize(replicas=nil, imageinfo=nil, env=nil, resources=nil, instancetype=nil, modelinfo=nil, logenable=nil, logconfig=nil, authorizationenable=nil, horizontalpodautoscaler=nil, status=nil, weight=nil, podlist=nil, resourcetotal=nil, oldreplicas=nil, hybridbillingprepaidreplicas=nil, oldhybridbillingprepaidreplicas=nil, modelhotupdateenable=nil, scalemode=nil, cronscalejobs=nil, scalestrategy=nil, scheduledaction=nil, pods=nil, podinfos=nil, servicelimit=nil, modelturboenable=nil, volumemount=nil, infercodeinfo=nil, command=nil, serviceeip=nil)
|
8330
8495
|
@Replicas = replicas
|
8331
8496
|
@ImageInfo = imageinfo
|
8332
8497
|
@Env = env
|
@@ -8356,6 +8521,7 @@ module TencentCloud
|
|
8356
8521
|
@VolumeMount = volumemount
|
8357
8522
|
@InferCodeInfo = infercodeinfo
|
8358
8523
|
@Command = command
|
8524
|
+
@ServiceEIP = serviceeip
|
8359
8525
|
end
|
8360
8526
|
|
8361
8527
|
def deserialize(params)
|
@@ -8442,6 +8608,10 @@ module TencentCloud
|
|
8442
8608
|
@InferCodeInfo.deserialize(params['InferCodeInfo'])
|
8443
8609
|
end
|
8444
8610
|
@Command = params['Command']
|
8611
|
+
unless params['ServiceEIP'].nil?
|
8612
|
+
@ServiceEIP = ServiceEIP.new
|
8613
|
+
@ServiceEIP.deserialize(params['ServiceEIP'])
|
8614
|
+
end
|
8445
8615
|
end
|
8446
8616
|
end
|
8447
8617
|
|
@@ -8845,6 +9015,33 @@ module TencentCloud
|
|
8845
9015
|
end
|
8846
9016
|
end
|
8847
9017
|
|
9018
|
+
# 太极服务的调用信息
|
9019
|
+
class TJCallInfo < TencentCloud::Common::AbstractModel
|
9020
|
+
# @param HttpAddr: 调用地址
|
9021
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9022
|
+
# @type HttpAddr: String
|
9023
|
+
# @param Token: token
|
9024
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9025
|
+
# @type Token: String
|
9026
|
+
# @param CallExample: 调用示例
|
9027
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9028
|
+
# @type CallExample: String
|
9029
|
+
|
9030
|
+
attr_accessor :HttpAddr, :Token, :CallExample
|
9031
|
+
|
9032
|
+
def initialize(httpaddr=nil, token=nil, callexample=nil)
|
9033
|
+
@HttpAddr = httpaddr
|
9034
|
+
@Token = token
|
9035
|
+
@CallExample = callexample
|
9036
|
+
end
|
9037
|
+
|
9038
|
+
def deserialize(params)
|
9039
|
+
@HttpAddr = params['HttpAddr']
|
9040
|
+
@Token = params['Token']
|
9041
|
+
@CallExample = params['CallExample']
|
9042
|
+
end
|
9043
|
+
end
|
9044
|
+
|
8848
9045
|
# 描述腾讯云标签
|
8849
9046
|
class Tag < TencentCloud::Common::AbstractModel
|
8850
9047
|
# @param TagKey: 标签键
|
@@ -9852,8 +10049,8 @@ module TencentCloud
|
|
9852
10049
|
|
9853
10050
|
attr_accessor :Replicas, :UpdatedReplicas, :ReadyReplicas, :AvailableReplicas, :UnavailableReplicas, :Status, :StatefulSetCondition, :Conditions, :Reason
|
9854
10051
|
extend Gem::Deprecate
|
9855
|
-
deprecate :StatefulSetCondition, :none, 2023,
|
9856
|
-
deprecate :StatefulSetCondition=, :none, 2023,
|
10052
|
+
deprecate :StatefulSetCondition, :none, 2023, 9
|
10053
|
+
deprecate :StatefulSetCondition=, :none, 2023, 9
|
9857
10054
|
|
9858
10055
|
def initialize(replicas=nil, updatedreplicas=nil, readyreplicas=nil, availablereplicas=nil, unavailablereplicas=nil, status=nil, statefulsetcondition=nil, conditions=nil, reason=nil)
|
9859
10056
|
@Replicas = replicas
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tione
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.651
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|