tencentcloud-sdk-hunyuan 3.0.875 → 3.0.877

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: 887d56faa40119ad8a66300b525d4e098b8086e4
4
- data.tar.gz: d85646238d1ba9baa92868cc839030a0ab3ac2be
3
+ metadata.gz: 10560eef275c37ad333d44cefa7514c75894b5ba
4
+ data.tar.gz: 22ea06e74a2adcdfa299e936297d69c23f3b5a8e
5
5
  SHA512:
6
- metadata.gz: 64edf294b0b303b4f17d9a3d948a6f1073768563940bf72e52a7900260f82ff99cebdb1373bddf7c5f94db9618fa0f55c453d41f46f16468a756841e54c2418f
7
- data.tar.gz: 124b0f46ae11c0595bd37e92385d9306c784397cfbe2421cb2bd58a290ba0960c0a2e9ca43d7acd5ea35cd9c194767f2e8476ac1a1ad5772336db6b71f51f484
6
+ metadata.gz: d6ec0a3d5289b559816cc2e1d341a17cd50287da62853670b9721cdffee4d39688290d5ad6ec683b0a523eed70ec65db53d16e197f5b1ee768b096e50629fdeb
7
+ data.tar.gz: 64cd26223cdfe8999ac19004155d27731eef163d527e2ba54b80b514339afe37c3a80223f3d02254c1e855d2d0b71e9cef74a22e8a457e3f3d2b4578159de77a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.875
1
+ 3.0.877
@@ -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.875
4
+ version: 3.0.877
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-29 00:00:00.000000000 Z
11
+ date: 2024-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common