tencentcloud-sdk-hunyuan 3.0.1161 → 3.0.1168
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/v20230901/models.rb +55 -3
- 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: 3951a45297980e217c2a2dfd7c96cbcbbb9b394c
|
|
4
|
+
data.tar.gz: a9704c156865cbc51044072ac7fbaaca3391ed88
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 967423c8d1575bdd70c893cc8fbd4b74cb4438cde282fb1e73d914498231a57ba26864a28d2e321ca7dbe98ae738b079c1da852e1e3db91e1f2cb740a495b9d8
|
|
7
|
+
data.tar.gz: 6a666e56fd55691579713506a969063c5e3ffc13ce9fc2bc7f58f58bf22285cfd3bcc000c812e25569cc2d4cd4ad95be14d55cc770c3044ffcc889fd86bedb8f
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1168
|
data/lib/v20230901/models.rb
CHANGED
|
@@ -551,7 +551,7 @@ module TencentCloud
|
|
|
551
551
|
# @param Type: 内容类型
|
|
552
552
|
# 注意:
|
|
553
553
|
# 需包含至少一个 Type 为"text"的参数。
|
|
554
|
-
# 参数值可选范围:[text", "image_url"]
|
|
554
|
+
# 参数值可选范围:[text", "image_url","video_url"]
|
|
555
555
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
556
556
|
# @type Type: String
|
|
557
557
|
# @param Text: 当 Type 为 text 时使用,表示具体的文本内容。当 Type 为 image_url 时,当前字段内容需保持为空,传递内容不生效。
|
|
@@ -561,13 +561,21 @@ module TencentCloud
|
|
|
561
561
|
# 如"https://example.com/1.png" 或 图片的base64(注意 "data:image/jpeg;base64," 为必要部分):"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAA......"。当 Type 为 text 时,当前字段内容需保持为空,传递内容不生效。
|
|
562
562
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
563
563
|
# @type ImageUrl: :class:`Tencentcloud::Hunyuan.v20230901.models.ImageUrl`
|
|
564
|
+
# @param VideoUrl: 当type为video_url时使用,标识具体的视频链接内容
|
|
565
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
566
|
+
# @type VideoUrl: :class:`Tencentcloud::Hunyuan.v20230901.models.VideoUrl`
|
|
567
|
+
# @param VideoFrames: 当type为video_frames时使用,标识具体的视频内图像帧内容
|
|
568
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
569
|
+
# @type VideoFrames: :class:`Tencentcloud::Hunyuan.v20230901.models.VideoFrames`
|
|
564
570
|
|
|
565
|
-
attr_accessor :Type, :Text, :ImageUrl
|
|
571
|
+
attr_accessor :Type, :Text, :ImageUrl, :VideoUrl, :VideoFrames
|
|
566
572
|
|
|
567
|
-
def initialize(type=nil, text=nil, imageurl=nil)
|
|
573
|
+
def initialize(type=nil, text=nil, imageurl=nil, videourl=nil, videoframes=nil)
|
|
568
574
|
@Type = type
|
|
569
575
|
@Text = text
|
|
570
576
|
@ImageUrl = imageurl
|
|
577
|
+
@VideoUrl = videourl
|
|
578
|
+
@VideoFrames = videoframes
|
|
571
579
|
end
|
|
572
580
|
|
|
573
581
|
def deserialize(params)
|
|
@@ -577,6 +585,14 @@ module TencentCloud
|
|
|
577
585
|
@ImageUrl = ImageUrl.new
|
|
578
586
|
@ImageUrl.deserialize(params['ImageUrl'])
|
|
579
587
|
end
|
|
588
|
+
unless params['VideoUrl'].nil?
|
|
589
|
+
@VideoUrl = VideoUrl.new
|
|
590
|
+
@VideoUrl.deserialize(params['VideoUrl'])
|
|
591
|
+
end
|
|
592
|
+
unless params['VideoFrames'].nil?
|
|
593
|
+
@VideoFrames = VideoFrames.new
|
|
594
|
+
@VideoFrames.deserialize(params['VideoFrames'])
|
|
595
|
+
end
|
|
580
596
|
end
|
|
581
597
|
end
|
|
582
598
|
|
|
@@ -3087,6 +3103,42 @@ module TencentCloud
|
|
|
3087
3103
|
end
|
|
3088
3104
|
end
|
|
3089
3105
|
|
|
3106
|
+
# 当type为video_frames时使用,标识具体的视频内图像帧内容
|
|
3107
|
+
class VideoFrames < TencentCloud::Common::AbstractModel
|
|
3108
|
+
# @param Frames: 视频图像帧列表,图像帧传url
|
|
3109
|
+
# @type Frames: Array
|
|
3110
|
+
|
|
3111
|
+
attr_accessor :Frames
|
|
3112
|
+
|
|
3113
|
+
def initialize(frames=nil)
|
|
3114
|
+
@Frames = frames
|
|
3115
|
+
end
|
|
3116
|
+
|
|
3117
|
+
def deserialize(params)
|
|
3118
|
+
@Frames = params['Frames']
|
|
3119
|
+
end
|
|
3120
|
+
end
|
|
3121
|
+
|
|
3122
|
+
# 当type为video_url时使用,标识具体的视频链接内容
|
|
3123
|
+
class VideoUrl < TencentCloud::Common::AbstractModel
|
|
3124
|
+
# @param Url: 视频的url,如"https://your-video-path.mp/4"
|
|
3125
|
+
# @type Url: String
|
|
3126
|
+
# @param Fps: 控制视频抽帧频率,取值范围为 0.1 ~5,表示每隔 1/fps 秒抽取一帧,默认为 1s抽取一帧
|
|
3127
|
+
# @type Fps: Float
|
|
3128
|
+
|
|
3129
|
+
attr_accessor :Url, :Fps
|
|
3130
|
+
|
|
3131
|
+
def initialize(url=nil, fps=nil)
|
|
3132
|
+
@Url = url
|
|
3133
|
+
@Fps = fps
|
|
3134
|
+
end
|
|
3135
|
+
|
|
3136
|
+
def deserialize(params)
|
|
3137
|
+
@Url = params['Url']
|
|
3138
|
+
@Fps = params['Fps']
|
|
3139
|
+
end
|
|
3140
|
+
end
|
|
3141
|
+
|
|
3090
3142
|
# 知识注入相关的参数信息
|
|
3091
3143
|
class WebSearchOptions < TencentCloud::Common::AbstractModel
|
|
3092
3144
|
# @param Knowledge: 表示用户注入的知识信息
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-hunyuan
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1168
|
|
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-
|
|
11
|
+
date: 2025-11-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|