tencentcloud-sdk-es 3.0.1122 → 3.0.1139
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/v20180416/models.rb +36 -4
- data/lib/v20250101/models.rb +111 -17
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58bc18bdae5d125ab2a56ef94b6fd289a0cd3dfc
|
4
|
+
data.tar.gz: 4865eb52cfa8ae3b214a524c36130bc1a1bf6b0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9140919bba597d1cf08fb60382ee5e6cc35d7a09046030df696326ad3b42028eb6194e9745e574517156eee7cff17d9f448a5923881b0b3964a2d77b8a7c2e0
|
7
|
+
data.tar.gz: 6d0c2df17280c8ea92c8a87825d20495b9ba29a790a3d4cec437b7c256bc1aa14c7323369b381bba96b60e1654ce6eed128818f6213f08e1fbf0722b2512e1cd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1139
|
data/lib/v20180416/models.rb
CHANGED
@@ -3635,6 +3635,26 @@ module TencentCloud
|
|
3635
3635
|
end
|
3636
3636
|
end
|
3637
3637
|
|
3638
|
+
# 节点Gpu信息
|
3639
|
+
class GpuInfo < TencentCloud::Common::AbstractModel
|
3640
|
+
# @param GpuCount: Gpu块数
|
3641
|
+
# @type GpuCount: Integer
|
3642
|
+
# @param GpuType: Gpu类型
|
3643
|
+
# @type GpuType: String
|
3644
|
+
|
3645
|
+
attr_accessor :GpuCount, :GpuType
|
3646
|
+
|
3647
|
+
def initialize(gpucount=nil, gputype=nil)
|
3648
|
+
@GpuCount = gpucount
|
3649
|
+
@GpuType = gputype
|
3650
|
+
end
|
3651
|
+
|
3652
|
+
def deserialize(params)
|
3653
|
+
@GpuCount = params['GpuCount']
|
3654
|
+
@GpuType = params['GpuType']
|
3655
|
+
end
|
3656
|
+
end
|
3657
|
+
|
3638
3658
|
# 索引元数据字段
|
3639
3659
|
class IndexMetaField < TencentCloud::Common::AbstractModel
|
3640
3660
|
# @param IndexType: 索引类型
|
@@ -4219,10 +4239,12 @@ module TencentCloud
|
|
4219
4239
|
# @type EnableDestroyProtection: String
|
4220
4240
|
# @param ShowKibanaIpPort: kibana内网访问地址
|
4221
4241
|
# @type ShowKibanaIpPort: String
|
4242
|
+
# @param IsCdzLite: 是否为CDZLite可用区
|
4243
|
+
# @type IsCdzLite: Boolean
|
4222
4244
|
|
4223
|
-
attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :AppId, :Uin, :VpcUid, :SubnetUid, :Status, :RenewFlag, :ChargeType, :ChargePeriod, :NodeType, :NodeNum, :CpuNum, :MemSize, :DiskType, :DiskSize, :EsDomain, :EsVip, :EsPort, :KibanaUrl, :EsVersion, :EsConfig, :EsAcl, :CreateTime, :UpdateTime, :Deadline, :InstanceType, :IkConfig, :MasterNodeInfo, :CosBackup, :AllowCosBackup, :TagList, :LicenseType, :EnableHotWarmMode, :WarmNodeType, :WarmNodeNum, :WarmCpuNum, :WarmMemSize, :WarmDiskType, :WarmDiskSize, :NodeInfoList, :EsPublicUrl, :MultiZoneInfo, :DeployMode, :PublicAccess, :EsPublicAcl, :KibanaPrivateUrl, :KibanaPublicAccess, :KibanaPrivateAccess, :SecurityType, :SceneType, :KibanaConfig, :KibanaNodeInfo, :WebNodeTypeInfo, :Jdk, :Protocol, :SecurityGroups, :ColdNodeType, :ColdNodeNum, :ColdCpuNum, :ColdMemSize, :ColdDiskType, :ColdDiskSize, :FrozenNodeType, :FrozenNodeNum, :FrozenCpuNum, :FrozenMemSize, :FrozenDiskType, :FrozenDiskSize, :HealthStatus, :EsPrivateUrl, :EsPrivateDomain, :EsConfigSets, :OperationDuration, :OptionalWebServiceInfos, :AutoIndexEnabled, :EnableHybridStorage, :ProcessPercent, :KibanaAlteringPublicAccess, :HasKernelUpgrade, :CdcId, :KibanaPrivateVip, :CustomKibanaPrivateUrl, :OutboundPublicAcls, :NetConnectScheme, :DisasterRecoverGroupAffinity, :SubProductCode, :CosBucketStorageSize, :ReadWriteMode, :EnableScheduleRecoverGroup, :EnableScheduleOperationDuration, :EnableDestroyProtection, :ShowKibanaIpPort
|
4245
|
+
attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :AppId, :Uin, :VpcUid, :SubnetUid, :Status, :RenewFlag, :ChargeType, :ChargePeriod, :NodeType, :NodeNum, :CpuNum, :MemSize, :DiskType, :DiskSize, :EsDomain, :EsVip, :EsPort, :KibanaUrl, :EsVersion, :EsConfig, :EsAcl, :CreateTime, :UpdateTime, :Deadline, :InstanceType, :IkConfig, :MasterNodeInfo, :CosBackup, :AllowCosBackup, :TagList, :LicenseType, :EnableHotWarmMode, :WarmNodeType, :WarmNodeNum, :WarmCpuNum, :WarmMemSize, :WarmDiskType, :WarmDiskSize, :NodeInfoList, :EsPublicUrl, :MultiZoneInfo, :DeployMode, :PublicAccess, :EsPublicAcl, :KibanaPrivateUrl, :KibanaPublicAccess, :KibanaPrivateAccess, :SecurityType, :SceneType, :KibanaConfig, :KibanaNodeInfo, :WebNodeTypeInfo, :Jdk, :Protocol, :SecurityGroups, :ColdNodeType, :ColdNodeNum, :ColdCpuNum, :ColdMemSize, :ColdDiskType, :ColdDiskSize, :FrozenNodeType, :FrozenNodeNum, :FrozenCpuNum, :FrozenMemSize, :FrozenDiskType, :FrozenDiskSize, :HealthStatus, :EsPrivateUrl, :EsPrivateDomain, :EsConfigSets, :OperationDuration, :OptionalWebServiceInfos, :AutoIndexEnabled, :EnableHybridStorage, :ProcessPercent, :KibanaAlteringPublicAccess, :HasKernelUpgrade, :CdcId, :KibanaPrivateVip, :CustomKibanaPrivateUrl, :OutboundPublicAcls, :NetConnectScheme, :DisasterRecoverGroupAffinity, :SubProductCode, :CosBucketStorageSize, :ReadWriteMode, :EnableScheduleRecoverGroup, :EnableScheduleOperationDuration, :EnableDestroyProtection, :ShowKibanaIpPort, :IsCdzLite
|
4224
4246
|
|
4225
|
-
def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, appid=nil, uin=nil, vpcuid=nil, subnetuid=nil, status=nil, renewflag=nil, chargetype=nil, chargeperiod=nil, nodetype=nil, nodenum=nil, cpunum=nil, memsize=nil, disktype=nil, disksize=nil, esdomain=nil, esvip=nil, esport=nil, kibanaurl=nil, esversion=nil, esconfig=nil, esacl=nil, createtime=nil, updatetime=nil, deadline=nil, instancetype=nil, ikconfig=nil, masternodeinfo=nil, cosbackup=nil, allowcosbackup=nil, taglist=nil, licensetype=nil, enablehotwarmmode=nil, warmnodetype=nil, warmnodenum=nil, warmcpunum=nil, warmmemsize=nil, warmdisktype=nil, warmdisksize=nil, nodeinfolist=nil, espublicurl=nil, multizoneinfo=nil, deploymode=nil, publicaccess=nil, espublicacl=nil, kibanaprivateurl=nil, kibanapublicaccess=nil, kibanaprivateaccess=nil, securitytype=nil, scenetype=nil, kibanaconfig=nil, kibananodeinfo=nil, webnodetypeinfo=nil, jdk=nil, protocol=nil, securitygroups=nil, coldnodetype=nil, coldnodenum=nil, coldcpunum=nil, coldmemsize=nil, colddisktype=nil, colddisksize=nil, frozennodetype=nil, frozennodenum=nil, frozencpunum=nil, frozenmemsize=nil, frozendisktype=nil, frozendisksize=nil, healthstatus=nil, esprivateurl=nil, esprivatedomain=nil, esconfigsets=nil, operationduration=nil, optionalwebserviceinfos=nil, autoindexenabled=nil, enablehybridstorage=nil, processpercent=nil, kibanaalteringpublicaccess=nil, haskernelupgrade=nil, cdcid=nil, kibanaprivatevip=nil, customkibanaprivateurl=nil, outboundpublicacls=nil, netconnectscheme=nil, disasterrecovergroupaffinity=nil, subproductcode=nil, cosbucketstoragesize=nil, readwritemode=nil, enableschedulerecovergroup=nil, enablescheduleoperationduration=nil, enabledestroyprotection=nil, showkibanaipport=nil)
|
4247
|
+
def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, appid=nil, uin=nil, vpcuid=nil, subnetuid=nil, status=nil, renewflag=nil, chargetype=nil, chargeperiod=nil, nodetype=nil, nodenum=nil, cpunum=nil, memsize=nil, disktype=nil, disksize=nil, esdomain=nil, esvip=nil, esport=nil, kibanaurl=nil, esversion=nil, esconfig=nil, esacl=nil, createtime=nil, updatetime=nil, deadline=nil, instancetype=nil, ikconfig=nil, masternodeinfo=nil, cosbackup=nil, allowcosbackup=nil, taglist=nil, licensetype=nil, enablehotwarmmode=nil, warmnodetype=nil, warmnodenum=nil, warmcpunum=nil, warmmemsize=nil, warmdisktype=nil, warmdisksize=nil, nodeinfolist=nil, espublicurl=nil, multizoneinfo=nil, deploymode=nil, publicaccess=nil, espublicacl=nil, kibanaprivateurl=nil, kibanapublicaccess=nil, kibanaprivateaccess=nil, securitytype=nil, scenetype=nil, kibanaconfig=nil, kibananodeinfo=nil, webnodetypeinfo=nil, jdk=nil, protocol=nil, securitygroups=nil, coldnodetype=nil, coldnodenum=nil, coldcpunum=nil, coldmemsize=nil, colddisktype=nil, colddisksize=nil, frozennodetype=nil, frozennodenum=nil, frozencpunum=nil, frozenmemsize=nil, frozendisktype=nil, frozendisksize=nil, healthstatus=nil, esprivateurl=nil, esprivatedomain=nil, esconfigsets=nil, operationduration=nil, optionalwebserviceinfos=nil, autoindexenabled=nil, enablehybridstorage=nil, processpercent=nil, kibanaalteringpublicaccess=nil, haskernelupgrade=nil, cdcid=nil, kibanaprivatevip=nil, customkibanaprivateurl=nil, outboundpublicacls=nil, netconnectscheme=nil, disasterrecovergroupaffinity=nil, subproductcode=nil, cosbucketstoragesize=nil, readwritemode=nil, enableschedulerecovergroup=nil, enablescheduleoperationduration=nil, enabledestroyprotection=nil, showkibanaipport=nil, iscdzlite=nil)
|
4226
4248
|
@InstanceId = instanceid
|
4227
4249
|
@InstanceName = instancename
|
4228
4250
|
@Region = region
|
@@ -4318,6 +4340,7 @@ module TencentCloud
|
|
4318
4340
|
@EnableScheduleOperationDuration = enablescheduleoperationduration
|
4319
4341
|
@EnableDestroyProtection = enabledestroyprotection
|
4320
4342
|
@ShowKibanaIpPort = showkibanaipport
|
4343
|
+
@IsCdzLite = iscdzlite
|
4321
4344
|
end
|
4322
4345
|
|
4323
4346
|
def deserialize(params)
|
@@ -4485,6 +4508,7 @@ module TencentCloud
|
|
4485
4508
|
end
|
4486
4509
|
@EnableDestroyProtection = params['EnableDestroyProtection']
|
4487
4510
|
@ShowKibanaIpPort = params['ShowKibanaIpPort']
|
4511
|
+
@IsCdzLite = params['IsCdzLite']
|
4488
4512
|
end
|
4489
4513
|
end
|
4490
4514
|
|
@@ -5299,10 +5323,13 @@ module TencentCloud
|
|
5299
5323
|
# @param DiskEnhance: /
|
5300
5324
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5301
5325
|
# @type DiskEnhance: Integer
|
5326
|
+
# @param GpuInfo: 节点Gpu信息
|
5327
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5328
|
+
# @type GpuInfo: :class:`Tencentcloud::Es.v20180416.models.GpuInfo`
|
5302
5329
|
|
5303
|
-
attr_accessor :NodeNum, :NodeType, :Type, :DiskType, :DiskSize, :LocalDiskInfo, :DiskCount, :DiskEncrypt, :CpuNum, :MemSize, :DiskEnhance
|
5330
|
+
attr_accessor :NodeNum, :NodeType, :Type, :DiskType, :DiskSize, :LocalDiskInfo, :DiskCount, :DiskEncrypt, :CpuNum, :MemSize, :DiskEnhance, :GpuInfo
|
5304
5331
|
|
5305
|
-
def initialize(nodenum=nil, nodetype=nil, type=nil, disktype=nil, disksize=nil, localdiskinfo=nil, diskcount=nil, diskencrypt=nil, cpunum=nil, memsize=nil, diskenhance=nil)
|
5332
|
+
def initialize(nodenum=nil, nodetype=nil, type=nil, disktype=nil, disksize=nil, localdiskinfo=nil, diskcount=nil, diskencrypt=nil, cpunum=nil, memsize=nil, diskenhance=nil, gpuinfo=nil)
|
5306
5333
|
@NodeNum = nodenum
|
5307
5334
|
@NodeType = nodetype
|
5308
5335
|
@Type = type
|
@@ -5314,6 +5341,7 @@ module TencentCloud
|
|
5314
5341
|
@CpuNum = cpunum
|
5315
5342
|
@MemSize = memsize
|
5316
5343
|
@DiskEnhance = diskenhance
|
5344
|
+
@GpuInfo = gpuinfo
|
5317
5345
|
end
|
5318
5346
|
|
5319
5347
|
def deserialize(params)
|
@@ -5331,6 +5359,10 @@ module TencentCloud
|
|
5331
5359
|
@CpuNum = params['CpuNum']
|
5332
5360
|
@MemSize = params['MemSize']
|
5333
5361
|
@DiskEnhance = params['DiskEnhance']
|
5362
|
+
unless params['GpuInfo'].nil?
|
5363
|
+
@GpuInfo = GpuInfo.new
|
5364
|
+
@GpuInfo.deserialize(params['GpuInfo'])
|
5365
|
+
end
|
5334
5366
|
end
|
5335
5367
|
end
|
5336
5368
|
|
data/lib/v20250101/models.rb
CHANGED
@@ -332,12 +332,20 @@ module TencentCloud
|
|
332
332
|
|
333
333
|
# 文档信息
|
334
334
|
class Document < TencentCloud::Common::AbstractModel
|
335
|
-
# @param FileType:
|
336
|
-
#
|
337
|
-
#
|
338
|
-
|
339
|
-
#
|
340
|
-
# -
|
335
|
+
# @param FileType: 支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、
|
336
|
+
# XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、
|
337
|
+
# IM、PCX、PPM、TIFF、XBM、HEIF、JP2
|
338
|
+
|
339
|
+
# 文档解析支持的文件大小:
|
340
|
+
# -PDF、DOC、DOCX、PPT、PPTX支持100M
|
341
|
+
# -MD、TXT、XLS、XLSX、CSV支特10M
|
342
|
+
# -其他支持20M
|
343
|
+
|
344
|
+
# 文本切片支持的文件大小:
|
345
|
+
# -PDF最大300M
|
346
|
+
# -D0CX、D0C、PPT、PPTX最大200M
|
347
|
+
# -TXT、MD最大10M
|
348
|
+
# -其他最大20M
|
341
349
|
# @type FileType: String
|
342
350
|
# @param FileUrl: 文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,使用腾讯云COS 文件地址。
|
343
351
|
# @type FileUrl: String
|
@@ -587,21 +595,36 @@ module TencentCloud
|
|
587
595
|
|
588
596
|
# 会话内容,按对话时间从旧到新在数组中排列,长度受模型窗口大小限制。
|
589
597
|
class Message < TencentCloud::Common::AbstractModel
|
590
|
-
# @param Role:
|
598
|
+
# @param Role: 角色,可选值包括 system、user、assistant、 tool。
|
591
599
|
# @type Role: String
|
592
600
|
# @param Content: 具体文本内容
|
593
601
|
# @type Content: String
|
602
|
+
# @param ToolCallId: 当role为tool时传入,标识具体的函数调用
|
603
|
+
# @type ToolCallId: String
|
604
|
+
# @param ToolCalls: 模型生成的工具调用
|
605
|
+
# @type ToolCalls: Array
|
594
606
|
|
595
|
-
attr_accessor :Role, :Content
|
607
|
+
attr_accessor :Role, :Content, :ToolCallId, :ToolCalls
|
596
608
|
|
597
|
-
def initialize(role=nil, content=nil)
|
609
|
+
def initialize(role=nil, content=nil, toolcallid=nil, toolcalls=nil)
|
598
610
|
@Role = role
|
599
611
|
@Content = content
|
612
|
+
@ToolCallId = toolcallid
|
613
|
+
@ToolCalls = toolcalls
|
600
614
|
end
|
601
615
|
|
602
616
|
def deserialize(params)
|
603
617
|
@Role = params['Role']
|
604
618
|
@Content = params['Content']
|
619
|
+
@ToolCallId = params['ToolCallId']
|
620
|
+
unless params['ToolCalls'].nil?
|
621
|
+
@ToolCalls = []
|
622
|
+
params['ToolCalls'].each do |i|
|
623
|
+
toolcall_tmp = ToolCall.new
|
624
|
+
toolcall_tmp.deserialize(i)
|
625
|
+
@ToolCalls << toolcall_tmp
|
626
|
+
end
|
627
|
+
end
|
605
628
|
end
|
606
629
|
end
|
607
630
|
|
@@ -629,19 +652,30 @@ module TencentCloud
|
|
629
652
|
# @type Content: String
|
630
653
|
# @param ReasoningContent: 推理内容
|
631
654
|
# @type ReasoningContent: String
|
655
|
+
# @param ToolCalls: 模型生成的工具调用
|
656
|
+
# @type ToolCalls: Array
|
632
657
|
|
633
|
-
attr_accessor :Role, :Content, :ReasoningContent
|
658
|
+
attr_accessor :Role, :Content, :ReasoningContent, :ToolCalls
|
634
659
|
|
635
|
-
def initialize(role=nil, content=nil, reasoningcontent=nil)
|
660
|
+
def initialize(role=nil, content=nil, reasoningcontent=nil, toolcalls=nil)
|
636
661
|
@Role = role
|
637
662
|
@Content = content
|
638
663
|
@ReasoningContent = reasoningcontent
|
664
|
+
@ToolCalls = toolcalls
|
639
665
|
end
|
640
666
|
|
641
667
|
def deserialize(params)
|
642
668
|
@Role = params['Role']
|
643
669
|
@Content = params['Content']
|
644
670
|
@ReasoningContent = params['ReasoningContent']
|
671
|
+
unless params['ToolCalls'].nil?
|
672
|
+
@ToolCalls = []
|
673
|
+
params['ToolCalls'].each do |i|
|
674
|
+
toolcall_tmp = ToolCall.new
|
675
|
+
toolcall_tmp.deserialize(i)
|
676
|
+
@ToolCalls << toolcall_tmp
|
677
|
+
end
|
678
|
+
end
|
645
679
|
end
|
646
680
|
end
|
647
681
|
|
@@ -663,18 +697,27 @@ module TencentCloud
|
|
663
697
|
|
664
698
|
# 文档信息
|
665
699
|
class ParseDocument < TencentCloud::Common::AbstractModel
|
666
|
-
# @param FileType:
|
667
|
-
#
|
668
|
-
#
|
669
|
-
|
670
|
-
#
|
671
|
-
# -
|
700
|
+
# @param FileType: 支持的文件类型:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、
|
701
|
+
# XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、
|
702
|
+
# IM、PCX、PPM、TIFF、XBM、HEIF、JP2
|
703
|
+
|
704
|
+
# 文档解析支持的文件大小:
|
705
|
+
# -PDF、DOC、DOCX、PPT、PPTX支持100M
|
706
|
+
# -MD、TXT、XLS、XLSX、CSV支特10M
|
707
|
+
# -其他支持20M
|
708
|
+
|
709
|
+
# 文本切片支持的文件大小:
|
710
|
+
# -PDF最大300M
|
711
|
+
# -D0CX、D0C、PPT、PPTX最大200M
|
712
|
+
# -TXT、MD最大10M
|
713
|
+
# -其他最大20M
|
672
714
|
# @type FileType: String
|
673
715
|
# @param FileUrl: 文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,使用腾讯云COS 文件地址。
|
674
716
|
# @type FileUrl: String
|
675
717
|
# @param FileContent: 文件的 base64 值,携带 MineType前缀信息。编码后的后的文件不超过 10M。
|
676
718
|
# 支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过3秒。
|
677
719
|
# 支持的图片像素:单边介于20-10000px之间。
|
720
|
+
# 文件的 FileUrl、FileContent必须提供一个,如果都提供只使用 FileUrl。
|
678
721
|
# @type FileContent: String
|
679
722
|
# @param DocumentParseConfig: 文档解析配置
|
680
723
|
# @type DocumentParseConfig: :class:`Tencentcloud::Es.v20250101.models.DocumentParseConfig`
|
@@ -925,6 +968,57 @@ module TencentCloud
|
|
925
968
|
end
|
926
969
|
end
|
927
970
|
|
971
|
+
# 模型生成的工具调用
|
972
|
+
class ToolCall < TencentCloud::Common::AbstractModel
|
973
|
+
# @param Id: 工具调用id
|
974
|
+
# @type Id: String
|
975
|
+
# @param Type: 工具调用类型,当前只支持function
|
976
|
+
# @type Type: String
|
977
|
+
# @param Function: 具体的function调用
|
978
|
+
# @type Function: :class:`Tencentcloud::Es.v20250101.models.ToolCallFunction`
|
979
|
+
# @param Index: 索引值
|
980
|
+
# @type Index: Integer
|
981
|
+
|
982
|
+
attr_accessor :Id, :Type, :Function, :Index
|
983
|
+
|
984
|
+
def initialize(id=nil, type=nil, function=nil, index=nil)
|
985
|
+
@Id = id
|
986
|
+
@Type = type
|
987
|
+
@Function = function
|
988
|
+
@Index = index
|
989
|
+
end
|
990
|
+
|
991
|
+
def deserialize(params)
|
992
|
+
@Id = params['Id']
|
993
|
+
@Type = params['Type']
|
994
|
+
unless params['Function'].nil?
|
995
|
+
@Function = ToolCallFunction.new
|
996
|
+
@Function.deserialize(params['Function'])
|
997
|
+
end
|
998
|
+
@Index = params['Index']
|
999
|
+
end
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
# 具体的function调用
|
1003
|
+
class ToolCallFunction < TencentCloud::Common::AbstractModel
|
1004
|
+
# @param Name: function名称
|
1005
|
+
# @type Name: String
|
1006
|
+
# @param Arguments: function参数,一般为json字符串
|
1007
|
+
# @type Arguments: String
|
1008
|
+
|
1009
|
+
attr_accessor :Name, :Arguments
|
1010
|
+
|
1011
|
+
def initialize(name=nil, arguments=nil)
|
1012
|
+
@Name = name
|
1013
|
+
@Arguments = arguments
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
def deserialize(params)
|
1017
|
+
@Name = params['Name']
|
1018
|
+
@Arguments = params['Arguments']
|
1019
|
+
end
|
1020
|
+
end
|
1021
|
+
|
928
1022
|
# token消耗总数
|
929
1023
|
class Usage < TencentCloud::Common::AbstractModel
|
930
1024
|
# @param TotalTokens: tokens总数
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-es
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1139
|
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-
|
11
|
+
date: 2025-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -34,10 +34,10 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- lib/tencentcloud-sdk-es.rb
|
37
|
-
- lib/v20250101/client.rb
|
38
37
|
- lib/v20250101/models.rb
|
39
|
-
- lib/
|
38
|
+
- lib/v20250101/client.rb
|
40
39
|
- lib/v20180416/models.rb
|
40
|
+
- lib/v20180416/client.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|