tencentcloud-sdk-python-es 3.1.161__tar.gz → 3.1.165__tar.gz

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.
Files changed (22) hide show
  1. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/setup.py +1 -1
  3. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud/es/v20180416/models.py +30 -0
  5. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud/es/v20250101/models.py +28 -28
  6. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud_sdk_python_es.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_es-3.1.165/tencentcloud_sdk_python_es.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_es-3.1.161/tencentcloud_sdk_python_es.egg-info/requires.txt +0 -1
  9. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/README.rst +0 -0
  10. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/setup.cfg +0 -0
  11. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud/es/__init__.py +0 -0
  12. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud/es/v20180416/__init__.py +0 -0
  13. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud/es/v20180416/errorcodes.py +0 -0
  14. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud/es/v20180416/es_client.py +0 -0
  15. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud/es/v20180416/es_client_async.py +0 -0
  16. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud/es/v20250101/__init__.py +0 -0
  17. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud/es/v20250101/errorcodes.py +0 -0
  18. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud/es/v20250101/es_client.py +0 -0
  19. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud/es/v20250101/es_client_async.py +0 -0
  20. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud_sdk_python_es.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud_sdk_python_es.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_es-3.1.161 → tencentcloud_sdk_python_es-3.1.165}/tencentcloud_sdk_python_es.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-es
3
- Version: 3.1.161
3
+ Version: 3.1.165
4
4
  Summary: Tencent Cloud Es SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.161
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.165
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-es',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.161,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.165,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Es SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.161'
17
+ __version__ = '3.1.165'
@@ -15556,6 +15556,10 @@ class InstanceInfo(AbstractModel):
15556
15556
  :type OpenMTLS: int
15557
15557
  :param _ServerCertSource: <p>证书类型</p>
15558
15558
  :type ServerCertSource: str
15559
+ :param _OldEsVip: <p>集群待迁移的VIP</p>
15560
+ :type OldEsVip: str
15561
+ :param _OldEsPrivateTcpUrl: <p>集群待迁移的TCP地址</p>
15562
+ :type OldEsPrivateTcpUrl: str
15559
15563
  """
15560
15564
  self._InstanceId = None
15561
15565
  self._InstanceName = None
@@ -15662,6 +15666,8 @@ class InstanceInfo(AbstractModel):
15662
15666
  self._EnableAutoReplace = None
15663
15667
  self._OpenMTLS = None
15664
15668
  self._ServerCertSource = None
15669
+ self._OldEsVip = None
15670
+ self._OldEsPrivateTcpUrl = None
15665
15671
 
15666
15672
  @property
15667
15673
  def InstanceId(self):
@@ -16877,6 +16883,28 @@ class InstanceInfo(AbstractModel):
16877
16883
  def ServerCertSource(self, ServerCertSource):
16878
16884
  self._ServerCertSource = ServerCertSource
16879
16885
 
16886
+ @property
16887
+ def OldEsVip(self):
16888
+ r"""<p>集群待迁移的VIP</p>
16889
+ :rtype: str
16890
+ """
16891
+ return self._OldEsVip
16892
+
16893
+ @OldEsVip.setter
16894
+ def OldEsVip(self, OldEsVip):
16895
+ self._OldEsVip = OldEsVip
16896
+
16897
+ @property
16898
+ def OldEsPrivateTcpUrl(self):
16899
+ r"""<p>集群待迁移的TCP地址</p>
16900
+ :rtype: str
16901
+ """
16902
+ return self._OldEsPrivateTcpUrl
16903
+
16904
+ @OldEsPrivateTcpUrl.setter
16905
+ def OldEsPrivateTcpUrl(self, OldEsPrivateTcpUrl):
16906
+ self._OldEsPrivateTcpUrl = OldEsPrivateTcpUrl
16907
+
16880
16908
 
16881
16909
  def _deserialize(self, params):
16882
16910
  self._InstanceId = params.get("InstanceId")
@@ -17032,6 +17060,8 @@ class InstanceInfo(AbstractModel):
17032
17060
  self._EnableAutoReplace = params.get("EnableAutoReplace")
17033
17061
  self._OpenMTLS = params.get("OpenMTLS")
17034
17062
  self._ServerCertSource = params.get("ServerCertSource")
17063
+ self._OldEsVip = params.get("OldEsVip")
17064
+ self._OldEsPrivateTcpUrl = params.get("OldEsPrivateTcpUrl")
17035
17065
  memeber_set = set(params.keys())
17036
17066
  for name, value in vars(self).items():
17037
17067
  property_name = name[1:]
@@ -25,25 +25,25 @@ class ChatCompletionsRequest(AbstractModel):
25
25
 
26
26
  def __init__(self):
27
27
  r"""
28
- :param _Messages: 会话内容,按对话时间从旧到新在数组中排列,长度受模型窗口大小限制。
28
+ :param _Messages: <p>会话内容,按对话时间从旧到新在数组中排列,长度受模型窗口大小限制。</p>
29
29
  :type Messages: list of Message
30
- :param _ModelName: 模型名称,可选模型列表:hunyuan-turbo,hunyuan-large,hunyuan-large-longcontext,hunyuan-standard,hunyuan-standard-256K,deepseek-r1,deepseek-v3,deepseek-r1-distill-qwen-32b。
30
+ :param _ModelName: <p>模型名称,可选模型列表:hunyuan-turbo,hunyuan-large,hunyuan-large-longcontext,hunyuan-standard,hunyuan-standard-256K,deepseek-r1,deepseek-v3,deepseek-r1-distill-qwen-32b。</p>
31
31
  :type ModelName: str
32
- :param _Stream: 是否以流式接口的形式返回数据,默认true。
32
+ :param _Stream: <p>是否以流式接口的形式返回数据,默认true。</p>
33
33
  :type Stream: bool
34
- :param _TopP: 取值区间为[0.0, 1.0], 非必要不建议使用, 不合理的取值会影响效果 。
34
+ :param _TopP: <p>取值区间为[0.0, 1.0], 非必要不建议使用, 不合理的取值会影响效果 。</p>
35
35
  :type TopP: float
36
- :param _Temperature: 取值区间为[0.0, 2.0], 非必要不建议使用, 不合理的取值会影响效果 。
36
+ :param _Temperature: <p>取值区间为[0.0, 2.0], 非必要不建议使用, 不合理的取值会影响效果 。</p>
37
37
  :type Temperature: float
38
- :param _OnlineSearch: 是否开启联网搜索。默认为 false。
38
+ :param _OnlineSearch: <p>是否开启联网搜索。默认为 false。</p>
39
39
  :type OnlineSearch: bool
40
- :param _OnlineSearchOptions: 当 OnlineSearch 为 true 时,指定的搜索引擎,默认为 bing。
40
+ :param _OnlineSearchOptions: <p>当 OnlineSearch 为 true 时,指定的搜索引擎,默认为 bing。</p>
41
41
  :type OnlineSearchOptions: :class:`tencentcloud.es.v20250101.models.OnlineSearchOptions`
42
- :param _Tools: 可调用的工具列表,当前支持模型:hunyuan-turbo, deepseek-v3。
42
+ :param _Tools: <p>可调用的工具列表,当前支持模型:hunyuan-turbo, deepseek-v3。</p>
43
43
  :type Tools: list of Tool
44
- :param _ToolChoice: 工具使用选项,可选值包括 none、auto、custom。说明:1. 仅对 hunyuan-turbo、deepseek-v3 模型生效。2. none:不调用工具;auto:模型自行选择生成回复或调用工具;custom:强制模型调用指定的工具。3. 未设置时,默认值为auto
44
+ :param _ToolChoice: <p>工具使用选项,可选值包括 none、auto、custom。说明:1. 仅对 hunyuan-turbo、deepseek-v3 模型生效。2. none:不调用工具;auto:模型自行选择生成回复或调用工具;custom:强制模型调用指定的工具。3. 未设置时,默认值为auto</p>
45
45
  :type ToolChoice: str
46
- :param _CustomTool: 强制模型调用指定的工具,当参数ToolChoice为custom时,此参数为必填
46
+ :param _CustomTool: <p>强制模型调用指定的工具,当参数ToolChoice为custom时,此参数为必填</p>
47
47
  :type CustomTool: :class:`tencentcloud.es.v20250101.models.Tool`
48
48
  """
49
49
  self._Messages = None
@@ -59,7 +59,7 @@ class ChatCompletionsRequest(AbstractModel):
59
59
 
60
60
  @property
61
61
  def Messages(self):
62
- r"""会话内容,按对话时间从旧到新在数组中排列,长度受模型窗口大小限制。
62
+ r"""<p>会话内容,按对话时间从旧到新在数组中排列,长度受模型窗口大小限制。</p>
63
63
  :rtype: list of Message
64
64
  """
65
65
  return self._Messages
@@ -70,7 +70,7 @@ class ChatCompletionsRequest(AbstractModel):
70
70
 
71
71
  @property
72
72
  def ModelName(self):
73
- r"""模型名称,可选模型列表:hunyuan-turbo,hunyuan-large,hunyuan-large-longcontext,hunyuan-standard,hunyuan-standard-256K,deepseek-r1,deepseek-v3,deepseek-r1-distill-qwen-32b。
73
+ r"""<p>模型名称,可选模型列表:hunyuan-turbo,hunyuan-large,hunyuan-large-longcontext,hunyuan-standard,hunyuan-standard-256K,deepseek-r1,deepseek-v3,deepseek-r1-distill-qwen-32b。</p>
74
74
  :rtype: str
75
75
  """
76
76
  return self._ModelName
@@ -81,7 +81,7 @@ class ChatCompletionsRequest(AbstractModel):
81
81
 
82
82
  @property
83
83
  def Stream(self):
84
- r"""是否以流式接口的形式返回数据,默认true。
84
+ r"""<p>是否以流式接口的形式返回数据,默认true。</p>
85
85
  :rtype: bool
86
86
  """
87
87
  return self._Stream
@@ -92,7 +92,7 @@ class ChatCompletionsRequest(AbstractModel):
92
92
 
93
93
  @property
94
94
  def TopP(self):
95
- r"""取值区间为[0.0, 1.0], 非必要不建议使用, 不合理的取值会影响效果 。
95
+ r"""<p>取值区间为[0.0, 1.0], 非必要不建议使用, 不合理的取值会影响效果 。</p>
96
96
  :rtype: float
97
97
  """
98
98
  return self._TopP
@@ -103,7 +103,7 @@ class ChatCompletionsRequest(AbstractModel):
103
103
 
104
104
  @property
105
105
  def Temperature(self):
106
- r"""取值区间为[0.0, 2.0], 非必要不建议使用, 不合理的取值会影响效果 。
106
+ r"""<p>取值区间为[0.0, 2.0], 非必要不建议使用, 不合理的取值会影响效果 。</p>
107
107
  :rtype: float
108
108
  """
109
109
  return self._Temperature
@@ -114,7 +114,7 @@ class ChatCompletionsRequest(AbstractModel):
114
114
 
115
115
  @property
116
116
  def OnlineSearch(self):
117
- r"""是否开启联网搜索。默认为 false。
117
+ r"""<p>是否开启联网搜索。默认为 false。</p>
118
118
  :rtype: bool
119
119
  """
120
120
  return self._OnlineSearch
@@ -125,7 +125,7 @@ class ChatCompletionsRequest(AbstractModel):
125
125
 
126
126
  @property
127
127
  def OnlineSearchOptions(self):
128
- r"""当 OnlineSearch 为 true 时,指定的搜索引擎,默认为 bing。
128
+ r"""<p>当 OnlineSearch 为 true 时,指定的搜索引擎,默认为 bing。</p>
129
129
  :rtype: :class:`tencentcloud.es.v20250101.models.OnlineSearchOptions`
130
130
  """
131
131
  return self._OnlineSearchOptions
@@ -136,7 +136,7 @@ class ChatCompletionsRequest(AbstractModel):
136
136
 
137
137
  @property
138
138
  def Tools(self):
139
- r"""可调用的工具列表,当前支持模型:hunyuan-turbo, deepseek-v3。
139
+ r"""<p>可调用的工具列表,当前支持模型:hunyuan-turbo, deepseek-v3。</p>
140
140
  :rtype: list of Tool
141
141
  """
142
142
  return self._Tools
@@ -147,7 +147,7 @@ class ChatCompletionsRequest(AbstractModel):
147
147
 
148
148
  @property
149
149
  def ToolChoice(self):
150
- r"""工具使用选项,可选值包括 none、auto、custom。说明:1. 仅对 hunyuan-turbo、deepseek-v3 模型生效。2. none:不调用工具;auto:模型自行选择生成回复或调用工具;custom:强制模型调用指定的工具。3. 未设置时,默认值为auto
150
+ r"""<p>工具使用选项,可选值包括 none、auto、custom。说明:1. 仅对 hunyuan-turbo、deepseek-v3 模型生效。2. none:不调用工具;auto:模型自行选择生成回复或调用工具;custom:强制模型调用指定的工具。3. 未设置时,默认值为auto</p>
151
151
  :rtype: str
152
152
  """
153
153
  return self._ToolChoice
@@ -158,7 +158,7 @@ class ChatCompletionsRequest(AbstractModel):
158
158
 
159
159
  @property
160
160
  def CustomTool(self):
161
- r"""强制模型调用指定的工具,当参数ToolChoice为custom时,此参数为必填
161
+ r"""<p>强制模型调用指定的工具,当参数ToolChoice为custom时,此参数为必填</p>
162
162
  :rtype: :class:`tencentcloud.es.v20250101.models.Tool`
163
163
  """
164
164
  return self._CustomTool
@@ -210,13 +210,13 @@ class ChatCompletionsResponse(AbstractModel):
210
210
 
211
211
  def __init__(self):
212
212
  r"""
213
- :param _Id: 此次请求的id
213
+ :param _Id: <p>此次请求的id</p>
214
214
  :type Id: str
215
- :param _Choices: 回复内容
215
+ :param _Choices: <p>回复内容</p>
216
216
  :type Choices: list of Choice
217
- :param _Usage: token使用量
217
+ :param _Usage: <p>token使用量</p>
218
218
  :type Usage: :class:`tencentcloud.es.v20250101.models.TokenUsage`
219
- :param _OnlineSearchContent: 联网搜索结果。
219
+ :param _OnlineSearchContent: <p>联网搜索结果。</p>
220
220
  注意:此字段可能返回 null,表示取不到有效值。
221
221
  :type OnlineSearchContent: list of WebContent
222
222
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
@@ -230,7 +230,7 @@ class ChatCompletionsResponse(AbstractModel):
230
230
 
231
231
  @property
232
232
  def Id(self):
233
- r"""此次请求的id
233
+ r"""<p>此次请求的id</p>
234
234
  :rtype: str
235
235
  """
236
236
  return self._Id
@@ -241,7 +241,7 @@ class ChatCompletionsResponse(AbstractModel):
241
241
 
242
242
  @property
243
243
  def Choices(self):
244
- r"""回复内容
244
+ r"""<p>回复内容</p>
245
245
  :rtype: list of Choice
246
246
  """
247
247
  return self._Choices
@@ -252,7 +252,7 @@ class ChatCompletionsResponse(AbstractModel):
252
252
 
253
253
  @property
254
254
  def Usage(self):
255
- r"""token使用量
255
+ r"""<p>token使用量</p>
256
256
  :rtype: :class:`tencentcloud.es.v20250101.models.TokenUsage`
257
257
  """
258
258
  return self._Usage
@@ -263,7 +263,7 @@ class ChatCompletionsResponse(AbstractModel):
263
263
 
264
264
  @property
265
265
  def OnlineSearchContent(self):
266
- r"""联网搜索结果。
266
+ r"""<p>联网搜索结果。</p>
267
267
  注意:此字段可能返回 null,表示取不到有效值。
268
268
  :rtype: list of WebContent
269
269
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-es
3
- Version: 3.1.161
3
+ Version: 3.1.165
4
4
  Summary: Tencent Cloud Es SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.161
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.165
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.165
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.161