tencentcloud-sdk-python-lkeap 3.0.1317__tar.gz → 3.0.1318__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.
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/setup.py +1 -1
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/tencentcloud/lkeap/v20240522/lkeap_client.py +2 -1
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/tencentcloud/lkeap/v20240522/models.py +2 -2
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/tencentcloud_sdk_python_lkeap.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-lkeap-3.0.1318/tencentcloud_sdk_python_lkeap.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-lkeap-3.0.1317/tencentcloud_sdk_python_lkeap.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/README.rst +0 -0
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/setup.cfg +0 -0
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/tencentcloud/lkeap/__init__.py +0 -0
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/tencentcloud/lkeap/v20240522/__init__.py +0 -0
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/tencentcloud/lkeap/v20240522/errorcodes.py +0 -0
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/tencentcloud_sdk_python_lkeap.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/tencentcloud_sdk_python_lkeap.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/tencentcloud_sdk_python_lkeap.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-lkeap',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1318"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Lkeap SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -45,7 +45,8 @@ class LkeapClient(AbstractClient):
|
|
|
45
45
|
|
|
46
46
|
本接口调用DeepSeek系列模型限时免费。即日至北京时间2025年2月25日23:59:59,所有腾讯云用户均可享受DeepSeek-V3、DeepSeek-R1模型限时免费服务,单账号限制接口并发上限为5。在此之后,模型价格将恢复至原价。
|
|
47
47
|
- 标准计费(2025年2月26日起生效)
|
|
48
|
-
|
|
48
|
+
|
|
49
|
+

|
|
49
50
|
|
|
50
51
|
### Openai兼容协议接口
|
|
51
52
|
知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1772/115968)。
|
|
@@ -235,7 +235,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
|
235
235
|
说明:
|
|
236
236
|
1. 长度最多为 40,按对话时间从旧到新在数组中排列。
|
|
237
237
|
2. Message.Role 可选值:system、user、assistant。
|
|
238
|
-
其中,system 角色可选,如存在则必须位于列表的最开始。user
|
|
238
|
+
其中,system 角色可选,如存在则必须位于列表的最开始。user 和 assistant 需交替出现,以 user 提问开始,user 提问结束,Content 不能为空。Role 的顺序示例:[system(可选) user assistant user assistant user ...]。
|
|
239
239
|
|
|
240
240
|
:type Messages: list of Message
|
|
241
241
|
:param _Stream: 是否流式输出
|
|
@@ -268,7 +268,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
|
268
268
|
说明:
|
|
269
269
|
1. 长度最多为 40,按对话时间从旧到新在数组中排列。
|
|
270
270
|
2. Message.Role 可选值:system、user、assistant。
|
|
271
|
-
其中,system 角色可选,如存在则必须位于列表的最开始。user
|
|
271
|
+
其中,system 角色可选,如存在则必须位于列表的最开始。user 和 assistant 需交替出现,以 user 提问开始,user 提问结束,Content 不能为空。Role 的顺序示例:[system(可选) user assistant user assistant user ...]。
|
|
272
272
|
|
|
273
273
|
:rtype: list of Message
|
|
274
274
|
"""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1318
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1317
|
{tencentcloud-sdk-python-lkeap-3.0.1317 → tencentcloud-sdk-python-lkeap-3.0.1318}/README.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|