tencentcloud-sdk-hunyuan 3.0.876 → 3.0.878

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20230901/models.rb +11 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00648d6ff282ef4dee6a3311a4fd065de8e84208
4
- data.tar.gz: b62d8dfbd2ea80087526504b06ca28730927ba5d
3
+ metadata.gz: 2e87034b18ea56c272ece89942a7ab05c165e428
4
+ data.tar.gz: bc023e59b943ae0b22e3ccffa3c73ba0e3646f14
5
5
  SHA512:
6
- metadata.gz: 498de8117ee28f2765a64d6fe158cf98a92eec18ff966a6176de55aff3be4ffc27dc06772c7fc8f05f36e98f98650cf66501d0b6efae1a41776b5d9e42259c9a
7
- data.tar.gz: 910057f873aff58fe7886099ae9b368eef238935a24449c8b18f1a036f97a816dbb0fcc039368cac21a2958faf4c1f4d235c6b4283b3cf79dcc9db7d4047dd7d
6
+ metadata.gz: 8e63935838c729d139f5a04a1bd71673f5c334d4ca0b4139048ea705c2d88681777ddada4105d8a6adcd91737dcbfa99cfe7447a00b8cc0ddd5dba4788c3b019
7
+ data.tar.gz: 0e46d646e59691150cde9086e3edf04172004950d5bb194c3093281792c0ca39c920c122f3a1db116cb269ad515be952e0c2d4bd646be9f731957a56bf349cba
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.876
1
+ 3.0.878
@@ -83,10 +83,16 @@ module TencentCloud
83
83
  # @type CustomTool: :class:`Tencentcloud::Hunyuan.v20230901.models.Tool`
84
84
  # @param SearchInfo: 默认是false,在值为true且命中搜索时,接口会返回SearchInfo
85
85
  # @type SearchInfo: Boolean
86
+ # @param Citation: 搜索引文角标开关。
87
+ # 说明:
88
+ # 1. 配合EnableEnhancement和SearchInfo参数使用。打开后,回答中命中搜索的结果会在片段后增加角标标志,对应SearchInfo列表中的链接。
89
+ # 2. false:开关关闭,true:开关打开。
90
+ # 3. 未传值时默认开关关闭(false)。
91
+ # @type Citation: Boolean
86
92
 
87
- attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature, :EnableEnhancement, :Tools, :ToolChoice, :CustomTool, :SearchInfo
93
+ attr_accessor :Model, :Messages, :Stream, :StreamModeration, :TopP, :Temperature, :EnableEnhancement, :Tools, :ToolChoice, :CustomTool, :SearchInfo, :Citation
88
94
 
89
- def initialize(model=nil, messages=nil, stream=nil, streammoderation=nil, topp=nil, temperature=nil, enableenhancement=nil, tools=nil, toolchoice=nil, customtool=nil, searchinfo=nil)
95
+ def initialize(model=nil, messages=nil, stream=nil, streammoderation=nil, topp=nil, temperature=nil, enableenhancement=nil, tools=nil, toolchoice=nil, customtool=nil, searchinfo=nil, citation=nil)
90
96
  @Model = model
91
97
  @Messages = messages
92
98
  @Stream = stream
@@ -98,6 +104,7 @@ module TencentCloud
98
104
  @ToolChoice = toolchoice
99
105
  @CustomTool = customtool
100
106
  @SearchInfo = searchinfo
107
+ @Citation = citation
101
108
  end
102
109
 
103
110
  def deserialize(params)
@@ -129,6 +136,7 @@ module TencentCloud
129
136
  @CustomTool.deserialize(params['CustomTool'])
130
137
  end
131
138
  @SearchInfo = params['SearchInfo']
139
+ @Citation = params['Citation']
132
140
  end
133
141
  end
134
142
 
@@ -141,7 +149,7 @@ module TencentCloud
141
149
  # @type Usage: :class:`Tencentcloud::Hunyuan.v20230901.models.Usage`
142
150
  # @param Note: 免责声明。
143
151
  # @type Note: String
144
- # @param Id: 本轮对话的 ID
152
+ # @param Id: 本次请求的 RequestId
145
153
  # @type Id: String
146
154
  # @param Choices: 回复内容。
147
155
  # @type Choices: Array
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.876
4
+ version: 3.0.878
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-30 00:00:00.000000000 Z
11
+ date: 2024-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common