tencentcloud-sdk-python-dataagent 3.1.137__tar.gz → 3.1.157__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 (17) hide show
  1. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/tencentcloud/dataagent/v20250513/models.py +134 -14
  5. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/tencentcloud_sdk_python_dataagent.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_dataagent-3.1.157/tencentcloud_sdk_python_dataagent.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_dataagent-3.1.137/tencentcloud_sdk_python_dataagent.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/README.rst +0 -0
  9. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/tencentcloud/dataagent/__init__.py +0 -0
  11. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/tencentcloud/dataagent/v20250513/__init__.py +0 -0
  12. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/tencentcloud/dataagent/v20250513/dataagent_client.py +0 -0
  13. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/tencentcloud/dataagent/v20250513/dataagent_client_async.py +0 -0
  14. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/tencentcloud/dataagent/v20250513/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/tencentcloud_sdk_python_dataagent.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/tencentcloud_sdk_python_dataagent.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_dataagent-3.1.137 → tencentcloud_sdk_python_dataagent-3.1.157}/tencentcloud_sdk_python_dataagent.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dataagent
3
- Version: 3.1.137
3
+ Version: 3.1.157
4
4
  Summary: Tencent Cloud Dataagent 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.137
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.157
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-dataagent',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.137,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.157,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Dataagent SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.137'
17
+ __version__ = '3.1.157'
@@ -1737,6 +1737,14 @@ class FileInfo(AbstractModel):
1737
1737
  :type WebUrl: str
1738
1738
  :param _Capabilities: <p>文件能力标识列表</p>
1739
1739
  :type Capabilities: list of str
1740
+ :param _EnableGraphBuild: <p>0:关闭 1:开启图谱构建(入库时构建图谱),默认0</p>
1741
+ :type EnableGraphBuild: int
1742
+ :param _EnableTreeBuild: <p>0:关闭 1:开启树构建(入库时构建树),默认0</p>
1743
+ :type EnableTreeBuild: int
1744
+ :param _GraphBuildStatus: <p>图谱构建状态:null=未启用图谱; 0=待入库; 1=入库中; 2=入库成功; -1=入库失败(仅 EnableGraphBuild=1 时有意义)</p>
1745
+ :type GraphBuildStatus: int
1746
+ :param _TreeBuildStatus: <p>图谱构建状态:null=未启用图谱; 0=待入库; 1=入库中; 2=入库成功; -1=入库失败(仅 EnableGraphBuild=1 时有意义)</p>
1747
+ :type TreeBuildStatus: int
1740
1748
  """
1741
1749
  self._FileName = None
1742
1750
  self._FileSize = None
@@ -1753,6 +1761,10 @@ class FileInfo(AbstractModel):
1753
1761
  self._DocumentSummary = None
1754
1762
  self._WebUrl = None
1755
1763
  self._Capabilities = None
1764
+ self._EnableGraphBuild = None
1765
+ self._EnableTreeBuild = None
1766
+ self._GraphBuildStatus = None
1767
+ self._TreeBuildStatus = None
1756
1768
 
1757
1769
  @property
1758
1770
  def FileName(self):
@@ -1919,6 +1931,50 @@ class FileInfo(AbstractModel):
1919
1931
  def Capabilities(self, Capabilities):
1920
1932
  self._Capabilities = Capabilities
1921
1933
 
1934
+ @property
1935
+ def EnableGraphBuild(self):
1936
+ r"""<p>0:关闭 1:开启图谱构建(入库时构建图谱),默认0</p>
1937
+ :rtype: int
1938
+ """
1939
+ return self._EnableGraphBuild
1940
+
1941
+ @EnableGraphBuild.setter
1942
+ def EnableGraphBuild(self, EnableGraphBuild):
1943
+ self._EnableGraphBuild = EnableGraphBuild
1944
+
1945
+ @property
1946
+ def EnableTreeBuild(self):
1947
+ r"""<p>0:关闭 1:开启树构建(入库时构建树),默认0</p>
1948
+ :rtype: int
1949
+ """
1950
+ return self._EnableTreeBuild
1951
+
1952
+ @EnableTreeBuild.setter
1953
+ def EnableTreeBuild(self, EnableTreeBuild):
1954
+ self._EnableTreeBuild = EnableTreeBuild
1955
+
1956
+ @property
1957
+ def GraphBuildStatus(self):
1958
+ r"""<p>图谱构建状态:null=未启用图谱; 0=待入库; 1=入库中; 2=入库成功; -1=入库失败(仅 EnableGraphBuild=1 时有意义)</p>
1959
+ :rtype: int
1960
+ """
1961
+ return self._GraphBuildStatus
1962
+
1963
+ @GraphBuildStatus.setter
1964
+ def GraphBuildStatus(self, GraphBuildStatus):
1965
+ self._GraphBuildStatus = GraphBuildStatus
1966
+
1967
+ @property
1968
+ def TreeBuildStatus(self):
1969
+ r"""<p>图谱构建状态:null=未启用图谱; 0=待入库; 1=入库中; 2=入库成功; -1=入库失败(仅 EnableGraphBuild=1 时有意义)</p>
1970
+ :rtype: int
1971
+ """
1972
+ return self._TreeBuildStatus
1973
+
1974
+ @TreeBuildStatus.setter
1975
+ def TreeBuildStatus(self, TreeBuildStatus):
1976
+ self._TreeBuildStatus = TreeBuildStatus
1977
+
1922
1978
 
1923
1979
  def _deserialize(self, params):
1924
1980
  self._FileName = params.get("FileName")
@@ -1938,6 +1994,10 @@ class FileInfo(AbstractModel):
1938
1994
  self._DocumentSummary = params.get("DocumentSummary")
1939
1995
  self._WebUrl = params.get("WebUrl")
1940
1996
  self._Capabilities = params.get("Capabilities")
1997
+ self._EnableGraphBuild = params.get("EnableGraphBuild")
1998
+ self._EnableTreeBuild = params.get("EnableTreeBuild")
1999
+ self._GraphBuildStatus = params.get("GraphBuildStatus")
2000
+ self._TreeBuildStatus = params.get("TreeBuildStatus")
1941
2001
  memeber_set = set(params.keys())
1942
2002
  for name, value in vars(self).items():
1943
2003
  property_name = name[1:]
@@ -2786,6 +2846,10 @@ class KnowledgeTaskConfig(AbstractModel):
2786
2846
  :type EnableImageUnderstanding: int
2787
2847
  :param _EnableExtractDb: <p>是否开启表格结构化提取</p><p>枚举值:</p><ul><li>0: 不开启表格提取</li><li>1: 开启表格提取</li></ul><p>默认值:1</p>
2788
2848
  :type EnableExtractDb: int
2849
+ :param _EnableGraphBuild: <p>0:关闭 1:开启图谱构建(入库时),默认0</p>
2850
+ :type EnableGraphBuild: int
2851
+ :param _EnableTreeBuild: <p>0:关闭 1:开启树构建(入库时),默认0</p>
2852
+ :type EnableTreeBuild: int
2789
2853
  """
2790
2854
  self._ChunkType = None
2791
2855
  self._MaxChunkSize = None
@@ -2797,6 +2861,8 @@ class KnowledgeTaskConfig(AbstractModel):
2797
2861
  self._GenParaSummary = None
2798
2862
  self._EnableImageUnderstanding = None
2799
2863
  self._EnableExtractDb = None
2864
+ self._EnableGraphBuild = None
2865
+ self._EnableTreeBuild = None
2800
2866
 
2801
2867
  @property
2802
2868
  def ChunkType(self):
@@ -2909,6 +2975,28 @@ class KnowledgeTaskConfig(AbstractModel):
2909
2975
  def EnableExtractDb(self, EnableExtractDb):
2910
2976
  self._EnableExtractDb = EnableExtractDb
2911
2977
 
2978
+ @property
2979
+ def EnableGraphBuild(self):
2980
+ r"""<p>0:关闭 1:开启图谱构建(入库时),默认0</p>
2981
+ :rtype: int
2982
+ """
2983
+ return self._EnableGraphBuild
2984
+
2985
+ @EnableGraphBuild.setter
2986
+ def EnableGraphBuild(self, EnableGraphBuild):
2987
+ self._EnableGraphBuild = EnableGraphBuild
2988
+
2989
+ @property
2990
+ def EnableTreeBuild(self):
2991
+ r"""<p>0:关闭 1:开启树构建(入库时),默认0</p>
2992
+ :rtype: int
2993
+ """
2994
+ return self._EnableTreeBuild
2995
+
2996
+ @EnableTreeBuild.setter
2997
+ def EnableTreeBuild(self, EnableTreeBuild):
2998
+ self._EnableTreeBuild = EnableTreeBuild
2999
+
2912
3000
 
2913
3001
  def _deserialize(self, params):
2914
3002
  self._ChunkType = params.get("ChunkType")
@@ -2926,6 +3014,8 @@ class KnowledgeTaskConfig(AbstractModel):
2926
3014
  self._GenParaSummary = params.get("GenParaSummary")
2927
3015
  self._EnableImageUnderstanding = params.get("EnableImageUnderstanding")
2928
3016
  self._EnableExtractDb = params.get("EnableExtractDb")
3017
+ self._EnableGraphBuild = params.get("EnableGraphBuild")
3018
+ self._EnableTreeBuild = params.get("EnableTreeBuild")
2929
3019
  memeber_set = set(params.keys())
2930
3020
  for name, value in vars(self).items():
2931
3021
  property_name = name[1:]
@@ -4670,20 +4760,24 @@ class SearchConfig(AbstractModel):
4670
4760
 
4671
4761
  def __init__(self):
4672
4762
  r"""
4673
- :param _Type: 检索类型:0:混合搜索 1:向量搜索 2:全文搜索
4763
+ :param _Type: <p>检索类型:0:混合搜索 1:向量搜索 2:全文搜索</p>
4674
4764
  :type Type: int
4675
- :param _Num: 召回数量最大值
4765
+ :param _Num: <p>召回数量最大值</p>
4676
4766
  :type Num: int
4677
- :param _EmbeddingWeight: 权重配置
4767
+ :param _EmbeddingWeight: <p>权重配置</p>
4678
4768
  :type EmbeddingWeight: float
4679
- :param _Rerank: 0:关闭 1:开启,默认1
4769
+ :param _Rerank: <p>0:关闭 1:开启,默认1</p>
4680
4770
  :type Rerank: int
4681
- :param _AutoRag: 0:关闭 1:开启,默认0
4771
+ :param _AutoRag: <p>0:关闭 1:开启,默认0</p>
4682
4772
  :type AutoRag: int
4683
- :param _KnowledgeBaseIds: AutoRag关联的知识库ID列表
4773
+ :param _KnowledgeBaseIds: <p>AutoRag关联的知识库ID列表</p>
4684
4774
  :type KnowledgeBaseIds: list of str
4685
- :param _SearchStatus: AutoRag搜索状态:0-未完成,1-已完成。仅当AutoRag=1时,该字段有效
4775
+ :param _SearchStatus: <p>AutoRag搜索状态:0-未完成,1-已完成。仅当AutoRag=1时,该字段有效</p>
4686
4776
  :type SearchStatus: int
4777
+ :param _EnableGraphSearch: <p>0:关闭 1:开启图谱检索,默认0</p>
4778
+ :type EnableGraphSearch: int
4779
+ :param _EnableTreeSearch: <p>0:关闭 1:开启树检索,默认0</p>
4780
+ :type EnableTreeSearch: int
4687
4781
  """
4688
4782
  self._Type = None
4689
4783
  self._Num = None
@@ -4692,10 +4786,12 @@ class SearchConfig(AbstractModel):
4692
4786
  self._AutoRag = None
4693
4787
  self._KnowledgeBaseIds = None
4694
4788
  self._SearchStatus = None
4789
+ self._EnableGraphSearch = None
4790
+ self._EnableTreeSearch = None
4695
4791
 
4696
4792
  @property
4697
4793
  def Type(self):
4698
- r"""检索类型:0:混合搜索 1:向量搜索 2:全文搜索
4794
+ r"""<p>检索类型:0:混合搜索 1:向量搜索 2:全文搜索</p>
4699
4795
  :rtype: int
4700
4796
  """
4701
4797
  return self._Type
@@ -4706,7 +4802,7 @@ class SearchConfig(AbstractModel):
4706
4802
 
4707
4803
  @property
4708
4804
  def Num(self):
4709
- r"""召回数量最大值
4805
+ r"""<p>召回数量最大值</p>
4710
4806
  :rtype: int
4711
4807
  """
4712
4808
  return self._Num
@@ -4717,7 +4813,7 @@ class SearchConfig(AbstractModel):
4717
4813
 
4718
4814
  @property
4719
4815
  def EmbeddingWeight(self):
4720
- r"""权重配置
4816
+ r"""<p>权重配置</p>
4721
4817
  :rtype: float
4722
4818
  """
4723
4819
  return self._EmbeddingWeight
@@ -4728,7 +4824,7 @@ class SearchConfig(AbstractModel):
4728
4824
 
4729
4825
  @property
4730
4826
  def Rerank(self):
4731
- r"""0:关闭 1:开启,默认1
4827
+ r"""<p>0:关闭 1:开启,默认1</p>
4732
4828
  :rtype: int
4733
4829
  """
4734
4830
  return self._Rerank
@@ -4739,7 +4835,7 @@ class SearchConfig(AbstractModel):
4739
4835
 
4740
4836
  @property
4741
4837
  def AutoRag(self):
4742
- r"""0:关闭 1:开启,默认0
4838
+ r"""<p>0:关闭 1:开启,默认0</p>
4743
4839
  :rtype: int
4744
4840
  """
4745
4841
  return self._AutoRag
@@ -4750,7 +4846,7 @@ class SearchConfig(AbstractModel):
4750
4846
 
4751
4847
  @property
4752
4848
  def KnowledgeBaseIds(self):
4753
- r"""AutoRag关联的知识库ID列表
4849
+ r"""<p>AutoRag关联的知识库ID列表</p>
4754
4850
  :rtype: list of str
4755
4851
  """
4756
4852
  return self._KnowledgeBaseIds
@@ -4761,7 +4857,7 @@ class SearchConfig(AbstractModel):
4761
4857
 
4762
4858
  @property
4763
4859
  def SearchStatus(self):
4764
- r"""AutoRag搜索状态:0-未完成,1-已完成。仅当AutoRag=1时,该字段有效
4860
+ r"""<p>AutoRag搜索状态:0-未完成,1-已完成。仅当AutoRag=1时,该字段有效</p>
4765
4861
  :rtype: int
4766
4862
  """
4767
4863
  return self._SearchStatus
@@ -4770,6 +4866,28 @@ class SearchConfig(AbstractModel):
4770
4866
  def SearchStatus(self, SearchStatus):
4771
4867
  self._SearchStatus = SearchStatus
4772
4868
 
4869
+ @property
4870
+ def EnableGraphSearch(self):
4871
+ r"""<p>0:关闭 1:开启图谱检索,默认0</p>
4872
+ :rtype: int
4873
+ """
4874
+ return self._EnableGraphSearch
4875
+
4876
+ @EnableGraphSearch.setter
4877
+ def EnableGraphSearch(self, EnableGraphSearch):
4878
+ self._EnableGraphSearch = EnableGraphSearch
4879
+
4880
+ @property
4881
+ def EnableTreeSearch(self):
4882
+ r"""<p>0:关闭 1:开启树检索,默认0</p>
4883
+ :rtype: int
4884
+ """
4885
+ return self._EnableTreeSearch
4886
+
4887
+ @EnableTreeSearch.setter
4888
+ def EnableTreeSearch(self, EnableTreeSearch):
4889
+ self._EnableTreeSearch = EnableTreeSearch
4890
+
4773
4891
 
4774
4892
  def _deserialize(self, params):
4775
4893
  self._Type = params.get("Type")
@@ -4779,6 +4897,8 @@ class SearchConfig(AbstractModel):
4779
4897
  self._AutoRag = params.get("AutoRag")
4780
4898
  self._KnowledgeBaseIds = params.get("KnowledgeBaseIds")
4781
4899
  self._SearchStatus = params.get("SearchStatus")
4900
+ self._EnableGraphSearch = params.get("EnableGraphSearch")
4901
+ self._EnableTreeSearch = params.get("EnableTreeSearch")
4782
4902
  memeber_set = set(params.keys())
4783
4903
  for name, value in vars(self).items():
4784
4904
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dataagent
3
- Version: 3.1.137
3
+ Version: 3.1.157
4
4
  Summary: Tencent Cloud Dataagent 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.137
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.157
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.157
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.137