tencentcloud-sdk-python-dataagent 3.1.88__tar.gz → 3.1.112__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.88 → tencentcloud_sdk_python_dataagent-3.1.112}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/setup.py +1 -1
  3. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/tencentcloud/dataagent/v20250513/dataagent_client.py +23 -0
  5. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/tencentcloud/dataagent/v20250513/dataagent_client_async.py +18 -0
  6. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/tencentcloud/dataagent/v20250513/models.py +172 -48
  7. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/tencentcloud_sdk_python_dataagent.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_dataagent-3.1.112/tencentcloud_sdk_python_dataagent.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_dataagent-3.1.88/tencentcloud_sdk_python_dataagent.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/README.rst +0 -0
  11. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/tencentcloud/dataagent/__init__.py +0 -0
  13. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/tencentcloud/dataagent/v20250513/__init__.py +0 -0
  14. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/tencentcloud/dataagent/v20250513/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/tencentcloud_sdk_python_dataagent.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/tencentcloud_sdk_python_dataagent.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_dataagent-3.1.88 → tencentcloud_sdk_python_dataagent-3.1.112}/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.88
3
+ Version: 3.1.112
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.88
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.112
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.88,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.112,<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.88'
17
+ __version__ = '3.1.112'
@@ -297,6 +297,29 @@ class DataagentClient(AbstractClient):
297
297
  raise TencentCloudSDKException(type(e).__name__, str(e))
298
298
 
299
299
 
300
+ def GetUserInstanceList(self, request):
301
+ r"""获取实例信息列表
302
+
303
+ :param request: Request instance for GetUserInstanceList.
304
+ :type request: :class:`tencentcloud.dataagent.v20250513.models.GetUserInstanceListRequest`
305
+ :rtype: :class:`tencentcloud.dataagent.v20250513.models.GetUserInstanceListResponse`
306
+
307
+ """
308
+ try:
309
+ params = request._serialize()
310
+ headers = request.headers
311
+ body = self.call("GetUserInstanceList", params, headers=headers)
312
+ response = json.loads(body)
313
+ model = models.GetUserInstanceListResponse()
314
+ model._deserialize(response["Response"])
315
+ return model
316
+ except Exception as e:
317
+ if isinstance(e, TencentCloudSDKException):
318
+ raise
319
+ else:
320
+ raise TencentCloudSDKException(type(e).__name__, str(e))
321
+
322
+
300
323
  def ModifyChunk(self, request):
301
324
  r"""编辑修改分片
302
325
 
@@ -241,6 +241,24 @@ class DataagentClient(AbstractClient):
241
241
 
242
242
  return await self.call_and_deserialize(**kwargs)
243
243
 
244
+ async def GetUserInstanceList(
245
+ self,
246
+ request: models.GetUserInstanceListRequest,
247
+ opts: Dict = None,
248
+ ) -> models.GetUserInstanceListResponse:
249
+ """
250
+ 获取实例信息列表
251
+ """
252
+
253
+ kwargs = {}
254
+ kwargs["action"] = "GetUserInstanceList"
255
+ kwargs["params"] = request._serialize()
256
+ kwargs["resp_cls"] = models.GetUserInstanceListResponse
257
+ kwargs["headers"] = request.headers
258
+ kwargs["opts"] = opts or {}
259
+
260
+ return await self.call_and_deserialize(**kwargs)
261
+
244
262
  async def ModifyChunk(
245
263
  self,
246
264
  request: models.ModifyChunkRequest,
@@ -320,25 +320,25 @@ class ChatAIRequest(AbstractModel):
320
320
 
321
321
  def __init__(self):
322
322
  r"""
323
- :param _SessionId: 会话ID
323
+ :param _SessionId: <p>会话ID</p>
324
324
  :type SessionId: str
325
- :param _InstanceId: 实例ID
325
+ :param _InstanceId: <p>实例ID</p>
326
326
  :type InstanceId: str
327
- :param _Question: 问题内容
327
+ :param _Question: <p>问题内容</p>
328
328
  :type Question: str
329
- :param _Context: 上下文
329
+ :param _Context: <p>上下文</p>
330
330
  :type Context: str
331
- :param _Model: 模型
331
+ :param _Model: <p>模型</p>
332
332
  :type Model: str
333
- :param _DeepThinking: 是否深度思考
333
+ :param _DeepThinking: <p>是否深度思考</p>
334
334
  :type DeepThinking: bool
335
- :param _DataSourceIds: 数据源id
335
+ :param _DataSourceIds: <p>数据源id</p>
336
336
  :type DataSourceIds: list of str
337
- :param _AgentType: agent类型
337
+ :param _AgentType: <p>agent类型</p>
338
338
  :type AgentType: str
339
- :param _OldRecordId: 需要重新生成答案的记录ID
339
+ :param _OldRecordId: <p>需要重新生成答案的记录ID</p>
340
340
  :type OldRecordId: str
341
- :param _KnowledgeBaseIds: 知识库id列表
341
+ :param _KnowledgeBaseIds: <p>知识库id列表</p>
342
342
  :type KnowledgeBaseIds: list of str
343
343
  """
344
344
  self._SessionId = None
@@ -354,7 +354,7 @@ class ChatAIRequest(AbstractModel):
354
354
 
355
355
  @property
356
356
  def SessionId(self):
357
- r"""会话ID
357
+ r"""<p>会话ID</p>
358
358
  :rtype: str
359
359
  """
360
360
  return self._SessionId
@@ -365,7 +365,7 @@ class ChatAIRequest(AbstractModel):
365
365
 
366
366
  @property
367
367
  def InstanceId(self):
368
- r"""实例ID
368
+ r"""<p>实例ID</p>
369
369
  :rtype: str
370
370
  """
371
371
  return self._InstanceId
@@ -376,7 +376,7 @@ class ChatAIRequest(AbstractModel):
376
376
 
377
377
  @property
378
378
  def Question(self):
379
- r"""问题内容
379
+ r"""<p>问题内容</p>
380
380
  :rtype: str
381
381
  """
382
382
  return self._Question
@@ -387,7 +387,7 @@ class ChatAIRequest(AbstractModel):
387
387
 
388
388
  @property
389
389
  def Context(self):
390
- r"""上下文
390
+ r"""<p>上下文</p>
391
391
  :rtype: str
392
392
  """
393
393
  return self._Context
@@ -398,7 +398,7 @@ class ChatAIRequest(AbstractModel):
398
398
 
399
399
  @property
400
400
  def Model(self):
401
- r"""模型
401
+ r"""<p>模型</p>
402
402
  :rtype: str
403
403
  """
404
404
  return self._Model
@@ -409,7 +409,7 @@ class ChatAIRequest(AbstractModel):
409
409
 
410
410
  @property
411
411
  def DeepThinking(self):
412
- r"""是否深度思考
412
+ r"""<p>是否深度思考</p>
413
413
  :rtype: bool
414
414
  """
415
415
  return self._DeepThinking
@@ -420,7 +420,7 @@ class ChatAIRequest(AbstractModel):
420
420
 
421
421
  @property
422
422
  def DataSourceIds(self):
423
- r"""数据源id
423
+ r"""<p>数据源id</p>
424
424
  :rtype: list of str
425
425
  """
426
426
  return self._DataSourceIds
@@ -431,7 +431,7 @@ class ChatAIRequest(AbstractModel):
431
431
 
432
432
  @property
433
433
  def AgentType(self):
434
- r"""agent类型
434
+ r"""<p>agent类型</p>
435
435
  :rtype: str
436
436
  """
437
437
  return self._AgentType
@@ -442,7 +442,7 @@ class ChatAIRequest(AbstractModel):
442
442
 
443
443
  @property
444
444
  def OldRecordId(self):
445
- r"""需要重新生成答案的记录ID
445
+ r"""<p>需要重新生成答案的记录ID</p>
446
446
  :rtype: str
447
447
  """
448
448
  return self._OldRecordId
@@ -453,7 +453,7 @@ class ChatAIRequest(AbstractModel):
453
453
 
454
454
  @property
455
455
  def KnowledgeBaseIds(self):
456
- r"""知识库id列表
456
+ r"""<p>知识库id列表</p>
457
457
  :rtype: list of str
458
458
  """
459
459
  return self._KnowledgeBaseIds
@@ -519,23 +519,26 @@ class Chunk(AbstractModel):
519
519
 
520
520
  def __init__(self):
521
521
  r"""
522
- :param _Id: 切片ID
522
+ :param _Id: <p>切片ID</p>
523
523
  :type Id: str
524
- :param _Content: 切片内容
524
+ :param _Content: <p>切片内容</p>
525
525
  :type Content: str
526
- :param _Size: 切片的字数
526
+ :param _Size: <p>切片的字数</p>
527
527
  :type Size: int
528
- :param _Summary: 切片概要
528
+ :param _Summary: <p>切片概要</p>
529
529
  :type Summary: str
530
+ :param _ChunkSource: <p>分段类型</p><p>枚举值:</p><ul><li>0: 自动分段</li><li>1: 新建分段</li></ul>
531
+ :type ChunkSource: int
530
532
  """
531
533
  self._Id = None
532
534
  self._Content = None
533
535
  self._Size = None
534
536
  self._Summary = None
537
+ self._ChunkSource = None
535
538
 
536
539
  @property
537
540
  def Id(self):
538
- r"""切片ID
541
+ r"""<p>切片ID</p>
539
542
  :rtype: str
540
543
  """
541
544
  return self._Id
@@ -546,7 +549,7 @@ class Chunk(AbstractModel):
546
549
 
547
550
  @property
548
551
  def Content(self):
549
- r"""切片内容
552
+ r"""<p>切片内容</p>
550
553
  :rtype: str
551
554
  """
552
555
  return self._Content
@@ -557,7 +560,7 @@ class Chunk(AbstractModel):
557
560
 
558
561
  @property
559
562
  def Size(self):
560
- r"""切片的字数
563
+ r"""<p>切片的字数</p>
561
564
  :rtype: int
562
565
  """
563
566
  return self._Size
@@ -568,7 +571,7 @@ class Chunk(AbstractModel):
568
571
 
569
572
  @property
570
573
  def Summary(self):
571
- r"""切片概要
574
+ r"""<p>切片概要</p>
572
575
  :rtype: str
573
576
  """
574
577
  return self._Summary
@@ -577,12 +580,24 @@ class Chunk(AbstractModel):
577
580
  def Summary(self, Summary):
578
581
  self._Summary = Summary
579
582
 
583
+ @property
584
+ def ChunkSource(self):
585
+ r"""<p>分段类型</p><p>枚举值:</p><ul><li>0: 自动分段</li><li>1: 新建分段</li></ul>
586
+ :rtype: int
587
+ """
588
+ return self._ChunkSource
589
+
590
+ @ChunkSource.setter
591
+ def ChunkSource(self, ChunkSource):
592
+ self._ChunkSource = ChunkSource
593
+
580
594
 
581
595
  def _deserialize(self, params):
582
596
  self._Id = params.get("Id")
583
597
  self._Content = params.get("Content")
584
598
  self._Size = params.get("Size")
585
599
  self._Summary = params.get("Summary")
600
+ self._ChunkSource = params.get("ChunkSource")
586
601
  memeber_set = set(params.keys())
587
602
  for name, value in vars(self).items():
588
603
  property_name = name[1:]
@@ -1278,6 +1293,8 @@ class FileInfo(AbstractModel):
1278
1293
  :type CreateUser: str
1279
1294
  :param _CreateTime: <p>创建时间</p>
1280
1295
  :type CreateTime: str
1296
+ :param _UpdateTime: <p>更新时间</p>
1297
+ :type UpdateTime: str
1281
1298
  :param _ChunkConfig: <p>分片策略</p>
1282
1299
  :type ChunkConfig: :class:`tencentcloud.dataagent.v20250513.models.KnowledgeTaskConfig`
1283
1300
  :param _Source: <p>文件来源0=unknow,1=user_cos,2=local</p>
@@ -1300,6 +1317,7 @@ class FileInfo(AbstractModel):
1300
1317
  self._Status = None
1301
1318
  self._CreateUser = None
1302
1319
  self._CreateTime = None
1320
+ self._UpdateTime = None
1303
1321
  self._ChunkConfig = None
1304
1322
  self._Source = None
1305
1323
  self._FileUrl = None
@@ -1385,6 +1403,17 @@ class FileInfo(AbstractModel):
1385
1403
  def CreateTime(self, CreateTime):
1386
1404
  self._CreateTime = CreateTime
1387
1405
 
1406
+ @property
1407
+ def UpdateTime(self):
1408
+ r"""<p>更新时间</p>
1409
+ :rtype: str
1410
+ """
1411
+ return self._UpdateTime
1412
+
1413
+ @UpdateTime.setter
1414
+ def UpdateTime(self, UpdateTime):
1415
+ self._UpdateTime = UpdateTime
1416
+
1388
1417
  @property
1389
1418
  def ChunkConfig(self):
1390
1419
  r"""<p>分片策略</p>
@@ -1471,6 +1500,7 @@ class FileInfo(AbstractModel):
1471
1500
  self._Status = params.get("Status")
1472
1501
  self._CreateUser = params.get("CreateUser")
1473
1502
  self._CreateTime = params.get("CreateTime")
1503
+ self._UpdateTime = params.get("UpdateTime")
1474
1504
  if params.get("ChunkConfig") is not None:
1475
1505
  self._ChunkConfig = KnowledgeTaskConfig()
1476
1506
  self._ChunkConfig._deserialize(params.get("ChunkConfig"))
@@ -2042,6 +2072,40 @@ class GetUploadJobDetailsResponse(AbstractModel):
2042
2072
  self._RequestId = params.get("RequestId")
2043
2073
 
2044
2074
 
2075
+ class GetUserInstanceListRequest(AbstractModel):
2076
+ r"""GetUserInstanceList请求参数结构体
2077
+
2078
+ """
2079
+
2080
+
2081
+ class GetUserInstanceListResponse(AbstractModel):
2082
+ r"""GetUserInstanceList返回参数结构体
2083
+
2084
+ """
2085
+
2086
+ def __init__(self):
2087
+ r"""
2088
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2089
+ :type RequestId: str
2090
+ """
2091
+ self._RequestId = None
2092
+
2093
+ @property
2094
+ def RequestId(self):
2095
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2096
+ :rtype: str
2097
+ """
2098
+ return self._RequestId
2099
+
2100
+ @RequestId.setter
2101
+ def RequestId(self, RequestId):
2102
+ self._RequestId = RequestId
2103
+
2104
+
2105
+ def _deserialize(self, params):
2106
+ self._RequestId = params.get("RequestId")
2107
+
2108
+
2045
2109
  class KnowledgeBase(AbstractModel):
2046
2110
  r"""知识库信息
2047
2111
 
@@ -2211,6 +2275,8 @@ class KnowledgeTaskConfig(AbstractModel):
2211
2275
  :type GenParaSummary: int
2212
2276
  :param _EnableImageUnderstanding: <p>0:不开启图片理解,1:开启图片理解。默认1</p><p>取值范围:[1, 10000]</p><p>默认值:1</p>
2213
2277
  :type EnableImageUnderstanding: int
2278
+ :param _EnableExtractDb: <p>是否开启表格结构化提取</p><p>枚举值:</p><ul><li>0: 不开启表格提取</li><li>1: 开启表格提取</li></ul><p>默认值:1</p>
2279
+ :type EnableExtractDb: int
2214
2280
  """
2215
2281
  self._ChunkType = None
2216
2282
  self._MaxChunkSize = None
@@ -2221,6 +2287,7 @@ class KnowledgeTaskConfig(AbstractModel):
2221
2287
  self._GenDocSummary = None
2222
2288
  self._GenParaSummary = None
2223
2289
  self._EnableImageUnderstanding = None
2290
+ self._EnableExtractDb = None
2224
2291
 
2225
2292
  @property
2226
2293
  def ChunkType(self):
@@ -2322,6 +2389,17 @@ class KnowledgeTaskConfig(AbstractModel):
2322
2389
  def EnableImageUnderstanding(self, EnableImageUnderstanding):
2323
2390
  self._EnableImageUnderstanding = EnableImageUnderstanding
2324
2391
 
2392
+ @property
2393
+ def EnableExtractDb(self):
2394
+ r"""<p>是否开启表格结构化提取</p><p>枚举值:</p><ul><li>0: 不开启表格提取</li><li>1: 开启表格提取</li></ul><p>默认值:1</p>
2395
+ :rtype: int
2396
+ """
2397
+ return self._EnableExtractDb
2398
+
2399
+ @EnableExtractDb.setter
2400
+ def EnableExtractDb(self, EnableExtractDb):
2401
+ self._EnableExtractDb = EnableExtractDb
2402
+
2325
2403
 
2326
2404
  def _deserialize(self, params):
2327
2405
  self._ChunkType = params.get("ChunkType")
@@ -2338,6 +2416,7 @@ class KnowledgeTaskConfig(AbstractModel):
2338
2416
  self._GenDocSummary = params.get("GenDocSummary")
2339
2417
  self._GenParaSummary = params.get("GenParaSummary")
2340
2418
  self._EnableImageUnderstanding = params.get("EnableImageUnderstanding")
2419
+ self._EnableExtractDb = params.get("EnableExtractDb")
2341
2420
  memeber_set = set(params.keys())
2342
2421
  for name, value in vars(self).items():
2343
2422
  property_name = name[1:]
@@ -2496,26 +2575,29 @@ class ModifyChunkRequest(AbstractModel):
2496
2575
 
2497
2576
  def __init__(self):
2498
2577
  r"""
2499
- :param _InstanceId: 实例ID
2578
+ :param _InstanceId: <p>实例ID</p>
2500
2579
  :type InstanceId: str
2501
- :param _FileId: 文件ID
2580
+ :param _FileId: <p>文件ID</p>
2502
2581
  :type FileId: str
2503
- :param _ChunkId: 切片ID
2582
+ :param _ChunkId: <p>切片ID</p>
2504
2583
  :type ChunkId: str
2505
- :param _Content: 编辑后的文本
2584
+ :param _Content: <p>编辑后的文本</p>
2506
2585
  :type Content: str
2507
- :param _KnowledgeBaseId: 知识库id
2586
+ :param _Summary: <p>分段概要</p>
2587
+ :type Summary: str
2588
+ :param _KnowledgeBaseId: <p>知识库id</p>
2508
2589
  :type KnowledgeBaseId: str
2509
2590
  """
2510
2591
  self._InstanceId = None
2511
2592
  self._FileId = None
2512
2593
  self._ChunkId = None
2513
2594
  self._Content = None
2595
+ self._Summary = None
2514
2596
  self._KnowledgeBaseId = None
2515
2597
 
2516
2598
  @property
2517
2599
  def InstanceId(self):
2518
- r"""实例ID
2600
+ r"""<p>实例ID</p>
2519
2601
  :rtype: str
2520
2602
  """
2521
2603
  return self._InstanceId
@@ -2526,7 +2608,7 @@ class ModifyChunkRequest(AbstractModel):
2526
2608
 
2527
2609
  @property
2528
2610
  def FileId(self):
2529
- r"""文件ID
2611
+ r"""<p>文件ID</p>
2530
2612
  :rtype: str
2531
2613
  """
2532
2614
  return self._FileId
@@ -2537,7 +2619,7 @@ class ModifyChunkRequest(AbstractModel):
2537
2619
 
2538
2620
  @property
2539
2621
  def ChunkId(self):
2540
- r"""切片ID
2622
+ r"""<p>切片ID</p>
2541
2623
  :rtype: str
2542
2624
  """
2543
2625
  return self._ChunkId
@@ -2548,7 +2630,7 @@ class ModifyChunkRequest(AbstractModel):
2548
2630
 
2549
2631
  @property
2550
2632
  def Content(self):
2551
- r"""编辑后的文本
2633
+ r"""<p>编辑后的文本</p>
2552
2634
  :rtype: str
2553
2635
  """
2554
2636
  return self._Content
@@ -2557,9 +2639,20 @@ class ModifyChunkRequest(AbstractModel):
2557
2639
  def Content(self, Content):
2558
2640
  self._Content = Content
2559
2641
 
2642
+ @property
2643
+ def Summary(self):
2644
+ r"""<p>分段概要</p>
2645
+ :rtype: str
2646
+ """
2647
+ return self._Summary
2648
+
2649
+ @Summary.setter
2650
+ def Summary(self, Summary):
2651
+ self._Summary = Summary
2652
+
2560
2653
  @property
2561
2654
  def KnowledgeBaseId(self):
2562
- r"""知识库id
2655
+ r"""<p>知识库id</p>
2563
2656
  :rtype: str
2564
2657
  """
2565
2658
  return self._KnowledgeBaseId
@@ -2574,6 +2667,7 @@ class ModifyChunkRequest(AbstractModel):
2574
2667
  self._FileId = params.get("FileId")
2575
2668
  self._ChunkId = params.get("ChunkId")
2576
2669
  self._Content = params.get("Content")
2670
+ self._Summary = params.get("Summary")
2577
2671
  self._KnowledgeBaseId = params.get("KnowledgeBaseId")
2578
2672
  memeber_set = set(params.keys())
2579
2673
  for name, value in vars(self).items():
@@ -2930,11 +3024,11 @@ class QueryChunkListRequest(AbstractModel):
2930
3024
 
2931
3025
  def __init__(self):
2932
3026
  r"""
2933
- :param _Page: 表示第一页
3027
+ :param _Page: <p>表示第一页</p>
2934
3028
  :type Page: int
2935
- :param _PageSize: 默认一页展示 10
3029
+ :param _PageSize: <p>默认一页展示 10 条</p>
2936
3030
  :type PageSize: int
2937
- :param _KnowledgeBaseId: 知识库id
3031
+ :param _KnowledgeBaseId: <p>知识库id</p>
2938
3032
  :type KnowledgeBaseId: str
2939
3033
  """
2940
3034
  self._Page = None
@@ -2943,7 +3037,7 @@ class QueryChunkListRequest(AbstractModel):
2943
3037
 
2944
3038
  @property
2945
3039
  def Page(self):
2946
- r"""表示第一页
3040
+ r"""<p>表示第一页</p>
2947
3041
  :rtype: int
2948
3042
  """
2949
3043
  return self._Page
@@ -2954,7 +3048,7 @@ class QueryChunkListRequest(AbstractModel):
2954
3048
 
2955
3049
  @property
2956
3050
  def PageSize(self):
2957
- r"""默认一页展示 10
3051
+ r"""<p>默认一页展示 10 条</p>
2958
3052
  :rtype: int
2959
3053
  """
2960
3054
  return self._PageSize
@@ -2965,7 +3059,7 @@ class QueryChunkListRequest(AbstractModel):
2965
3059
 
2966
3060
  @property
2967
3061
  def KnowledgeBaseId(self):
2968
- r"""知识库id
3062
+ r"""<p>知识库id</p>
2969
3063
  :rtype: str
2970
3064
  """
2971
3065
  return self._KnowledgeBaseId
@@ -2996,20 +3090,26 @@ class QueryChunkListResponse(AbstractModel):
2996
3090
 
2997
3091
  def __init__(self):
2998
3092
  r"""
2999
- :param _Total: 总数
3093
+ :param _Total: <p>总数</p>
3000
3094
  :type Total: int
3001
- :param _Chunks: 分片信息
3095
+ :param _AutoTotal: <p>文档的自动分段数</p>
3096
+ :type AutoTotal: int
3097
+ :param _ManualTotal: <p>文档的手动新建分段数</p>
3098
+ :type ManualTotal: int
3099
+ :param _Chunks: <p>分片信息</p>
3002
3100
  :type Chunks: list of Chunk
3003
3101
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3004
3102
  :type RequestId: str
3005
3103
  """
3006
3104
  self._Total = None
3105
+ self._AutoTotal = None
3106
+ self._ManualTotal = None
3007
3107
  self._Chunks = None
3008
3108
  self._RequestId = None
3009
3109
 
3010
3110
  @property
3011
3111
  def Total(self):
3012
- r"""总数
3112
+ r"""<p>总数</p>
3013
3113
  :rtype: int
3014
3114
  """
3015
3115
  return self._Total
@@ -3018,9 +3118,31 @@ class QueryChunkListResponse(AbstractModel):
3018
3118
  def Total(self, Total):
3019
3119
  self._Total = Total
3020
3120
 
3121
+ @property
3122
+ def AutoTotal(self):
3123
+ r"""<p>文档的自动分段数</p>
3124
+ :rtype: int
3125
+ """
3126
+ return self._AutoTotal
3127
+
3128
+ @AutoTotal.setter
3129
+ def AutoTotal(self, AutoTotal):
3130
+ self._AutoTotal = AutoTotal
3131
+
3132
+ @property
3133
+ def ManualTotal(self):
3134
+ r"""<p>文档的手动新建分段数</p>
3135
+ :rtype: int
3136
+ """
3137
+ return self._ManualTotal
3138
+
3139
+ @ManualTotal.setter
3140
+ def ManualTotal(self, ManualTotal):
3141
+ self._ManualTotal = ManualTotal
3142
+
3021
3143
  @property
3022
3144
  def Chunks(self):
3023
- r"""分片信息
3145
+ r"""<p>分片信息</p>
3024
3146
  :rtype: list of Chunk
3025
3147
  """
3026
3148
  return self._Chunks
@@ -3043,6 +3165,8 @@ class QueryChunkListResponse(AbstractModel):
3043
3165
 
3044
3166
  def _deserialize(self, params):
3045
3167
  self._Total = params.get("Total")
3168
+ self._AutoTotal = params.get("AutoTotal")
3169
+ self._ManualTotal = params.get("ManualTotal")
3046
3170
  if params.get("Chunks") is not None:
3047
3171
  self._Chunks = []
3048
3172
  for item in params.get("Chunks"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-dataagent
3
- Version: 3.1.88
3
+ Version: 3.1.112
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.88
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.112
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.112
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.88