tencentcloud-sdk-python-lkeap 3.0.1447__tar.gz → 3.0.1450__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 (16) hide show
  1. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/setup.py +1 -1
  3. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
  5. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
  6. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/tencentcloud/lkeap/v20240522/models.py +24 -10
  7. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/tencentcloud_sdk_python_lkeap.egg-info/PKG-INFO +1 -1
  8. tencentcloud-sdk-python-lkeap-3.0.1450/tencentcloud_sdk_python_lkeap.egg-info/requires.txt +1 -0
  9. tencentcloud-sdk-python-lkeap-3.0.1447/tencentcloud_sdk_python_lkeap.egg-info/requires.txt +0 -1
  10. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/README.rst +0 -0
  11. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/setup.cfg +0 -0
  12. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/tencentcloud/lkeap/__init__.py +0 -0
  13. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/tencentcloud/lkeap/v20240522/__init__.py +0 -0
  14. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/tencentcloud_sdk_python_lkeap.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/tencentcloud_sdk_python_lkeap.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-lkeap-3.0.1447 → tencentcloud-sdk-python-lkeap-3.0.1450}/tencentcloud_sdk_python_lkeap.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-lkeap
3
- Version: 3.0.1447
3
+ Version: 3.0.1450
4
4
  Summary: Tencent Cloud Lkeap SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -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.1447,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1450,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Lkeap SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1447'
17
+ __version__ = '3.0.1450'
@@ -71,7 +71,7 @@ LIMITEXCEEDED_TOOLARGEFILEERROR = 'LimitExceeded.TooLargeFileError'
71
71
  # 请求的次数超过了频率限制。
72
72
  REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
73
73
 
74
- # 帐号已欠费。
74
+ # 账号已欠费。
75
75
  RESOURCEUNAVAILABLE_INARREARS = 'ResourceUnavailable.InArrears'
76
76
 
77
77
  # 账号资源包耗尽。
@@ -693,7 +693,7 @@ class LkeapClient(AbstractClient):
693
693
 
694
694
 
695
695
  def RunRerank(self, request):
696
- """基于知识引擎精调模型技术的rerank模型,支持对多路召回的结果进行重排序,根据query与切片内容的相关性,按分数由高到低对切片进行排序,并输出对应的打分结果。
696
+ """基于知识引擎精调模型技术的rerank模型,支持对多路召回的结果进行重排序,根据query与切片内容的相关性,按照顺序给出每一条结果和query的相关性分数。
697
697
 
698
698
  :param request: Request instance for RunRerank.
699
699
  :type request: :class:`tencentcloud.lkeap.v20240522.models.RunRerankRequest`
@@ -3868,9 +3868,12 @@ class QueryRewriteRequest(AbstractModel):
3868
3868
 
3869
3869
  def __init__(self):
3870
3870
  r"""
3871
- :param _Messages: 需要改写的多轮历史会话,每轮历史对话需要包含user(问)和assistant(答)成对输入,由于模型字符限制,最多提供4轮对话。针对最后一轮对话进行改写
3871
+ :param _Messages: 说明:需要改写的多轮历史会话,每轮历史对话需要包含user(问)和assistant(答)成对输入
3872
+ 备注:由于模型字符限制,最多提供4轮对话。针对最后一轮对话进行改写。四轮对话最多包含3600个字符。
3872
3873
  :type Messages: list of Message
3873
- :param _Model: 模型名称
3874
+ :param _Model: 说明:模型名称
3875
+ 备注:仅一个模型可选
3876
+ 默认值:lke-query-rewrite-base
3874
3877
  :type Model: str
3875
3878
  """
3876
3879
  self._Messages = None
@@ -3878,7 +3881,8 @@ class QueryRewriteRequest(AbstractModel):
3878
3881
 
3879
3882
  @property
3880
3883
  def Messages(self):
3881
- """需要改写的多轮历史会话,每轮历史对话需要包含user(问)和assistant(答)成对输入,由于模型字符限制,最多提供4轮对话。针对最后一轮对话进行改写
3884
+ """说明:需要改写的多轮历史会话,每轮历史对话需要包含user(问)和assistant(答)成对输入
3885
+ 备注:由于模型字符限制,最多提供4轮对话。针对最后一轮对话进行改写。四轮对话最多包含3600个字符。
3882
3886
  :rtype: list of Message
3883
3887
  """
3884
3888
  return self._Messages
@@ -3889,7 +3893,9 @@ class QueryRewriteRequest(AbstractModel):
3889
3893
 
3890
3894
  @property
3891
3895
  def Model(self):
3892
- """模型名称
3896
+ """说明:模型名称
3897
+ 备注:仅一个模型可选
3898
+ 默认值:lke-query-rewrite-base
3893
3899
  :rtype: str
3894
3900
  """
3895
3901
  return self._Model
@@ -4814,11 +4820,15 @@ class RunRerankRequest(AbstractModel):
4814
4820
 
4815
4821
  def __init__(self):
4816
4822
  r"""
4817
- :param _Query: 查询内容
4823
+ :param _Query: 说明:查询内容
4824
+ 备注:用于匹配的query
4818
4825
  :type Query: str
4819
- :param _Docs: 文档列表,最多20个
4826
+ :param _Docs: 说明:文档列表
4827
+ 备注:最多60个,Query字段和Docs字段的总长度上限为2000字符
4820
4828
  :type Docs: list of str
4821
- :param _Model: 模型名称, 默认: lke-reranker-base
4829
+ :param _Model: 说明:模型名称
4830
+ 备注:仅一个模型可选
4831
+ 默认值:lke-reranker-base
4822
4832
  :type Model: str
4823
4833
  """
4824
4834
  self._Query = None
@@ -4827,7 +4837,8 @@ class RunRerankRequest(AbstractModel):
4827
4837
 
4828
4838
  @property
4829
4839
  def Query(self):
4830
- """查询内容
4840
+ """说明:查询内容
4841
+ 备注:用于匹配的query
4831
4842
  :rtype: str
4832
4843
  """
4833
4844
  return self._Query
@@ -4838,7 +4849,8 @@ class RunRerankRequest(AbstractModel):
4838
4849
 
4839
4850
  @property
4840
4851
  def Docs(self):
4841
- """文档列表,最多20个
4852
+ """说明:文档列表
4853
+ 备注:最多60个,Query字段和Docs字段的总长度上限为2000字符
4842
4854
  :rtype: list of str
4843
4855
  """
4844
4856
  return self._Docs
@@ -4849,7 +4861,9 @@ class RunRerankRequest(AbstractModel):
4849
4861
 
4850
4862
  @property
4851
4863
  def Model(self):
4852
- """模型名称, 默认: lke-reranker-base
4864
+ """说明:模型名称
4865
+ 备注:仅一个模型可选
4866
+ 默认值:lke-reranker-base
4853
4867
  :rtype: str
4854
4868
  """
4855
4869
  return self._Model
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-lkeap
3
- Version: 3.0.1447
3
+ Version: 3.0.1450
4
4
  Summary: Tencent Cloud Lkeap SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1450
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1447