tencentcloud-sdk-python-cls 3.1.207__py2.py3-none-any.whl → 3.1.222__py2.py3-none-any.whl

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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.207'
17
+ __version__ = '3.1.222'
@@ -3581,13 +3581,13 @@ class ChatCompletionsRequest(AbstractModel):
3581
3581
 
3582
3582
  def __init__(self):
3583
3583
  r"""
3584
- :param _Model: <p>功能名称</p><p>枚举值:</p><ul><li>text2sql: 智能生成检索分析语句</li><li>text2sql-reasoning: 智能生成检索分析语句-深度思考</li></ul>
3584
+ :param _Model: <p>功能名称</p><p>枚举值:</p><ul><li>text2sql: 智能生成检索分析语句</li><li>text2insight: 智能分析日志洞察问题根因</li></ul>
3585
3585
  :type Model: str
3586
3586
  :param _Messages: <p>聊天上下文信息。<br>说明:</p><ol><li>长度最多为 11 (5轮历史会话 + user新提问) ,按对话时间从旧到新在数组中排列。超出此长度会丢弃旧会话数据。</li><li>Message.Role 可选值:user、assistant。<br>user 和 assistant 需交替出现,以 user 提问开始,user 提问结束,Content 不能为空。Role 的顺序示例:[user assistant user assistant user ...]。</li></ol>
3587
3587
  :type Messages: list of Message
3588
3588
  :param _Stream: <p>流式调用开关。<br>说明:</p><ol><li>未传值时默认为非流式调用(false)。</li><li>流式调用时以 SSE 协议增量返回结果(返回值取 Choices[n].Delta 中的值,需要拼接增量数据才能获得完整结果)。</li><li>非流式调用时:<br>调用方式与普通 HTTP 请求无异。<br>接口响应耗时较长,如需更低时延建议设置为 true。<br>只返回一次最终结果(返回值取 Choices[n].Message 中的值)。</li></ol><p>注意:</p><ol><li>通过 SDK 调用时,流式和非流式调用需用不同的方式获取返回值,具体参考 SDK 中的注释或示例(在各语言 SDK 代码仓库的 examples/cls/v20201016/ 目录中)。</li><li>可能会出现部分内容已输出,但中间某一段响应中的 FinishReason 值为 sensitive,此时说明安全审核未通过。如果业务场景有实时文字上屏的需求,需要自行撤回已上屏的内容,并建议自定义替换为一条提示语,如 “这个问题我不方便回答,不如我们换个话题试试”,以保障终端体验。</li></ol>
3589
3589
  :type Stream: bool
3590
- :param _Metadata: <p>额外元数据信息。例如:[{&quot;Key&quot;:&quot;topic_id&quot;,&quot;Value&quot;:&quot;xxxxxxxx-xxxx&quot;},{&quot;Key&quot;:&quot;topic_region&quot;,&quot;Value&quot;:&quot;ap-guangzhou&quot;}]</p><p>建议按照示例传递元数据信息,否则可能造成结果不准确。例如 text2sql,不传 topic_id, topic_region,将导致无法根据日志主题索引生成准确的检索语句。</p>
3590
+ :param _Metadata: <p>额外元数据信息。例如:[{&quot;Key&quot;:&quot;topic_id&quot;,&quot;Value&quot;:&quot;xxxxxxxx-xxxx&quot;},{&quot;Key&quot;:&quot;topic_region&quot;,&quot;Value&quot;:&quot;ap-guangzhou&quot;}]</p><p>建议按照示例传递元数据信息,否则可能造成结果不准确。例如 text2sql 和 text2insight,不传 topic_id, topic_region,将导致无法根据日志主题索引生成准确的检索语句。</p>
3591
3591
  :type Metadata: list of MetadataItem
3592
3592
  """
3593
3593
  self._Model = None
@@ -3597,7 +3597,7 @@ class ChatCompletionsRequest(AbstractModel):
3597
3597
 
3598
3598
  @property
3599
3599
  def Model(self):
3600
- r"""<p>功能名称</p><p>枚举值:</p><ul><li>text2sql: 智能生成检索分析语句</li><li>text2sql-reasoning: 智能生成检索分析语句-深度思考</li></ul>
3600
+ r"""<p>功能名称</p><p>枚举值:</p><ul><li>text2sql: 智能生成检索分析语句</li><li>text2insight: 智能分析日志洞察问题根因</li></ul>
3601
3601
  :rtype: str
3602
3602
  """
3603
3603
  return self._Model
@@ -3630,7 +3630,7 @@ class ChatCompletionsRequest(AbstractModel):
3630
3630
 
3631
3631
  @property
3632
3632
  def Metadata(self):
3633
- r"""<p>额外元数据信息。例如:[{&quot;Key&quot;:&quot;topic_id&quot;,&quot;Value&quot;:&quot;xxxxxxxx-xxxx&quot;},{&quot;Key&quot;:&quot;topic_region&quot;,&quot;Value&quot;:&quot;ap-guangzhou&quot;}]</p><p>建议按照示例传递元数据信息,否则可能造成结果不准确。例如 text2sql,不传 topic_id, topic_region,将导致无法根据日志主题索引生成准确的检索语句。</p>
3633
+ r"""<p>额外元数据信息。例如:[{&quot;Key&quot;:&quot;topic_id&quot;,&quot;Value&quot;:&quot;xxxxxxxx-xxxx&quot;},{&quot;Key&quot;:&quot;topic_region&quot;,&quot;Value&quot;:&quot;ap-guangzhou&quot;}]</p><p>建议按照示例传递元数据信息,否则可能造成结果不准确。例如 text2sql 和 text2insight,不传 topic_id, topic_region,将导致无法根据日志主题索引生成准确的检索语句。</p>
3634
3634
  :rtype: list of MetadataItem
3635
3635
  """
3636
3636
  return self._Metadata
@@ -3680,7 +3680,7 @@ class ChatCompletionsResponse(AbstractModel):
3680
3680
  :type Id: str
3681
3681
  :param _Choices: <p>回复内容。</p>
3682
3682
  :type Choices: list of Choice
3683
- :param _Model: <p>功能名称</p><p>枚举值:</p><ul><li>text2sql: 智能生成检索分析语句</li><li>text2sql-reasoning: 智能生成检索分析语句-深度思考</li></ul>
3683
+ :param _Model: <p>功能名称</p><p>枚举值:</p><ul><li>text2sql: 智能生成检索分析语句</li><li>text2insight: 智能分析日志洞察问题根因</li></ul>
3684
3684
  :type Model: str
3685
3685
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
3686
3686
  :type RequestId: str
@@ -3738,7 +3738,7 @@ class ChatCompletionsResponse(AbstractModel):
3738
3738
 
3739
3739
  @property
3740
3740
  def Model(self):
3741
- r"""<p>功能名称</p><p>枚举值:</p><ul><li>text2sql: 智能生成检索分析语句</li><li>text2sql-reasoning: 智能生成检索分析语句-深度思考</li></ul>
3741
+ r"""<p>功能名称</p><p>枚举值:</p><ul><li>text2sql: 智能生成检索分析语句</li><li>text2insight: 智能分析日志洞察问题根因</li></ul>
3742
3742
  :rtype: str
3743
3743
  """
3744
3744
  return self._Model
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cls
3
- Version: 3.1.207
3
+ Version: 3.1.222
4
4
  Summary: Tencent Cloud Cls 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.207
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.222
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=7wxxwgy4o2cS92M5HhRyu1CjoSZz6utbZRAzG9UpafU,630
1
+ tencentcloud/__init__.py,sha256=PcrCkULUzFK8IcPAi3WBKUtFKrhvSWjN2-AxwLgsDwE,630
2
2
  tencentcloud/cls/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/cls/v20201016/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/cls/v20201016/cls_client.py,sha256=q6ClvPHykM5oLbdfnYje-kcJ02B8ssE7_veBm5mZJ9M,222383
5
5
  tencentcloud/cls/v20201016/cls_client_async.py,sha256=LxLrCln8x1QQfbga7StWQQPBg3fHM8H4Hj9srkze_VQ,152758
6
6
  tencentcloud/cls/v20201016/errorcodes.py,sha256=keoMHT2kK_hkLEfR8OwznKnuAwBdhNjTT9FujhZE0r8,12681
7
- tencentcloud/cls/v20201016/models.py,sha256=ZAT63V9a0RIH5vf8S9TPmIdgjw7Dd4SdE_CK0RpfqHM,2110418
8
- tencentcloud_sdk_python_cls-3.1.207.dist-info/METADATA,sha256=YuTCwgEU83nIn4QvKzXbq14uMb-BRKhXdDnSpQh1AAI,1497
9
- tencentcloud_sdk_python_cls-3.1.207.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_cls-3.1.207.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_cls-3.1.207.dist-info/RECORD,,
7
+ tencentcloud/cls/v20201016/models.py,sha256=1ba7XMagKtoswa3OtzUKPYmcYaW1A38kTuhtmlEYC1g,2110400
8
+ tencentcloud_sdk_python_cls-3.1.222.dist-info/METADATA,sha256=_gy8KalSJb-NtnJYaImScDCD-S9W5g6WlcAjxQDV0oE,1497
9
+ tencentcloud_sdk_python_cls-3.1.222.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_cls-3.1.222.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_cls-3.1.222.dist-info/RECORD,,