tencentcloud-sdk-python-dataagent 3.1.46__py2.py3-none-any.whl → 3.1.88__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.46'
17
+ __version__ = '3.1.88'
@@ -1264,32 +1264,34 @@ class FileInfo(AbstractModel):
1264
1264
 
1265
1265
  def __init__(self):
1266
1266
  r"""
1267
- :param _FileName: 文件名称
1267
+ :param _FileName: <p>文件名称</p>
1268
1268
  :type FileName: str
1269
- :param _FileSize: 文件大小,字节
1269
+ :param _FileSize: <p>文件大小,字节</p>
1270
1270
  :type FileSize: float
1271
- :param _Type: 文件类型,0=文本,1=表格,默认0
1272
-
1271
+ :param _Type: <p>文件类型,0=文本,1=表格,默认0</p>
1273
1272
  :type Type: int
1274
- :param _FileId: 文件ID
1273
+ :param _FileId: <p>文件ID</p>
1275
1274
  :type FileId: str
1276
- :param _Status: 状态,0:数据处理中 1:可用 -1:错误
1275
+ :param _Status: <p>状态,0:数据处理中 1:可用 -1:错误</p>
1277
1276
  :type Status: int
1278
- :param _CreateUser: 操作者
1279
-
1277
+ :param _CreateUser: <p>操作者</p>
1280
1278
  :type CreateUser: str
1281
- :param _CreateTime: 创建时间
1279
+ :param _CreateTime: <p>创建时间</p>
1282
1280
  :type CreateTime: str
1283
- :param _ChunkConfig: 分片策略
1281
+ :param _ChunkConfig: <p>分片策略</p>
1284
1282
  :type ChunkConfig: :class:`tencentcloud.dataagent.v20250513.models.KnowledgeTaskConfig`
1285
- :param _Source: 文件来源0=unknow,1=user_cos,2=local
1283
+ :param _Source: <p>文件来源0=unknow,1=user_cos,2=local</p>
1286
1284
  :type Source: int
1287
- :param _FileUrl: 文件url
1285
+ :param _FileUrl: <p>文件url</p>
1288
1286
  :type FileUrl: str
1289
- :param _IsShowCase: 是否官方示例,0=否,1=是
1287
+ :param _IsShowCase: <p>是否官方示例,0=否,1=是</p>
1290
1288
  :type IsShowCase: int
1291
- :param _DocumentSummary: 文档摘要
1289
+ :param _DocumentSummary: <p>文档摘要</p>
1292
1290
  :type DocumentSummary: str
1291
+ :param _WebUrl: <p>网页地址</p>
1292
+ :type WebUrl: str
1293
+ :param _Capabilities: <p>文件能力标识列表</p>
1294
+ :type Capabilities: list of str
1293
1295
  """
1294
1296
  self._FileName = None
1295
1297
  self._FileSize = None
@@ -1303,10 +1305,12 @@ class FileInfo(AbstractModel):
1303
1305
  self._FileUrl = None
1304
1306
  self._IsShowCase = None
1305
1307
  self._DocumentSummary = None
1308
+ self._WebUrl = None
1309
+ self._Capabilities = None
1306
1310
 
1307
1311
  @property
1308
1312
  def FileName(self):
1309
- r"""文件名称
1313
+ r"""<p>文件名称</p>
1310
1314
  :rtype: str
1311
1315
  """
1312
1316
  return self._FileName
@@ -1317,7 +1321,7 @@ class FileInfo(AbstractModel):
1317
1321
 
1318
1322
  @property
1319
1323
  def FileSize(self):
1320
- r"""文件大小,字节
1324
+ r"""<p>文件大小,字节</p>
1321
1325
  :rtype: float
1322
1326
  """
1323
1327
  return self._FileSize
@@ -1328,8 +1332,7 @@ class FileInfo(AbstractModel):
1328
1332
 
1329
1333
  @property
1330
1334
  def Type(self):
1331
- r"""文件类型,0=文本,1=表格,默认0
1332
-
1335
+ r"""<p>文件类型,0=文本,1=表格,默认0</p>
1333
1336
  :rtype: int
1334
1337
  """
1335
1338
  return self._Type
@@ -1340,7 +1343,7 @@ class FileInfo(AbstractModel):
1340
1343
 
1341
1344
  @property
1342
1345
  def FileId(self):
1343
- r"""文件ID
1346
+ r"""<p>文件ID</p>
1344
1347
  :rtype: str
1345
1348
  """
1346
1349
  return self._FileId
@@ -1351,7 +1354,7 @@ class FileInfo(AbstractModel):
1351
1354
 
1352
1355
  @property
1353
1356
  def Status(self):
1354
- r"""状态,0:数据处理中 1:可用 -1:错误
1357
+ r"""<p>状态,0:数据处理中 1:可用 -1:错误</p>
1355
1358
  :rtype: int
1356
1359
  """
1357
1360
  return self._Status
@@ -1362,8 +1365,7 @@ class FileInfo(AbstractModel):
1362
1365
 
1363
1366
  @property
1364
1367
  def CreateUser(self):
1365
- r"""操作者
1366
-
1368
+ r"""<p>操作者</p>
1367
1369
  :rtype: str
1368
1370
  """
1369
1371
  return self._CreateUser
@@ -1374,7 +1376,7 @@ class FileInfo(AbstractModel):
1374
1376
 
1375
1377
  @property
1376
1378
  def CreateTime(self):
1377
- r"""创建时间
1379
+ r"""<p>创建时间</p>
1378
1380
  :rtype: str
1379
1381
  """
1380
1382
  return self._CreateTime
@@ -1385,7 +1387,7 @@ class FileInfo(AbstractModel):
1385
1387
 
1386
1388
  @property
1387
1389
  def ChunkConfig(self):
1388
- r"""分片策略
1390
+ r"""<p>分片策略</p>
1389
1391
  :rtype: :class:`tencentcloud.dataagent.v20250513.models.KnowledgeTaskConfig`
1390
1392
  """
1391
1393
  return self._ChunkConfig
@@ -1396,7 +1398,7 @@ class FileInfo(AbstractModel):
1396
1398
 
1397
1399
  @property
1398
1400
  def Source(self):
1399
- r"""文件来源0=unknow,1=user_cos,2=local
1401
+ r"""<p>文件来源0=unknow,1=user_cos,2=local</p>
1400
1402
  :rtype: int
1401
1403
  """
1402
1404
  return self._Source
@@ -1407,7 +1409,7 @@ class FileInfo(AbstractModel):
1407
1409
 
1408
1410
  @property
1409
1411
  def FileUrl(self):
1410
- r"""文件url
1412
+ r"""<p>文件url</p>
1411
1413
  :rtype: str
1412
1414
  """
1413
1415
  return self._FileUrl
@@ -1418,7 +1420,7 @@ class FileInfo(AbstractModel):
1418
1420
 
1419
1421
  @property
1420
1422
  def IsShowCase(self):
1421
- r"""是否官方示例,0=否,1=是
1423
+ r"""<p>是否官方示例,0=否,1=是</p>
1422
1424
  :rtype: int
1423
1425
  """
1424
1426
  return self._IsShowCase
@@ -1429,7 +1431,7 @@ class FileInfo(AbstractModel):
1429
1431
 
1430
1432
  @property
1431
1433
  def DocumentSummary(self):
1432
- r"""文档摘要
1434
+ r"""<p>文档摘要</p>
1433
1435
  :rtype: str
1434
1436
  """
1435
1437
  return self._DocumentSummary
@@ -1438,6 +1440,28 @@ class FileInfo(AbstractModel):
1438
1440
  def DocumentSummary(self, DocumentSummary):
1439
1441
  self._DocumentSummary = DocumentSummary
1440
1442
 
1443
+ @property
1444
+ def WebUrl(self):
1445
+ r"""<p>网页地址</p>
1446
+ :rtype: str
1447
+ """
1448
+ return self._WebUrl
1449
+
1450
+ @WebUrl.setter
1451
+ def WebUrl(self, WebUrl):
1452
+ self._WebUrl = WebUrl
1453
+
1454
+ @property
1455
+ def Capabilities(self):
1456
+ r"""<p>文件能力标识列表</p>
1457
+ :rtype: list of str
1458
+ """
1459
+ return self._Capabilities
1460
+
1461
+ @Capabilities.setter
1462
+ def Capabilities(self, Capabilities):
1463
+ self._Capabilities = Capabilities
1464
+
1441
1465
 
1442
1466
  def _deserialize(self, params):
1443
1467
  self._FileName = params.get("FileName")
@@ -1454,6 +1478,8 @@ class FileInfo(AbstractModel):
1454
1478
  self._FileUrl = params.get("FileUrl")
1455
1479
  self._IsShowCase = params.get("IsShowCase")
1456
1480
  self._DocumentSummary = params.get("DocumentSummary")
1481
+ self._WebUrl = params.get("WebUrl")
1482
+ self._Capabilities = params.get("Capabilities")
1457
1483
  memeber_set = set(params.keys())
1458
1484
  for name, value in vars(self).items():
1459
1485
  property_name = name[1:]
@@ -2023,21 +2049,22 @@ class KnowledgeBase(AbstractModel):
2023
2049
 
2024
2050
  def __init__(self):
2025
2051
  r"""
2026
- :param _KnowledgeBaseId: 知识库id
2052
+ :param _KnowledgeBaseId: <p>知识库id</p>
2027
2053
  :type KnowledgeBaseId: str
2028
- :param _KnowledgeBaseName: 知识库名称
2029
-
2054
+ :param _KnowledgeBaseName: <p>知识库名称</p>
2030
2055
  :type KnowledgeBaseName: str
2031
- :param _KnowledgeBaseDesc: 知识库描述
2056
+ :param _KnowledgeBaseDesc: <p>知识库描述</p>
2032
2057
  :type KnowledgeBaseDesc: str
2033
- :param _Creator: 创建者subuin
2058
+ :param _Creator: <p>创建者subuin</p>
2034
2059
  :type Creator: str
2035
- :param _CreateTime: 创建时间
2060
+ :param _CreateTime: <p>创建时间</p>
2036
2061
  :type CreateTime: str
2037
- :param _FileNum: 文件数量
2062
+ :param _FileNum: <p>文件数量</p>
2038
2063
  :type FileNum: int
2039
- :param _DatasourceIds: 知识库关联的数据库列表,目前是只绑定一个数据源,数组预留拓展
2064
+ :param _DatasourceIds: <p>知识库关联的数据库列表,目前是只绑定一个数据源,数组预留拓展</p>
2040
2065
  :type DatasourceIds: list of str
2066
+ :param _Config: <p>知识库任务配置</p>
2067
+ :type Config: :class:`tencentcloud.dataagent.v20250513.models.KnowledgeTaskConfig`
2041
2068
  """
2042
2069
  self._KnowledgeBaseId = None
2043
2070
  self._KnowledgeBaseName = None
@@ -2046,10 +2073,11 @@ class KnowledgeBase(AbstractModel):
2046
2073
  self._CreateTime = None
2047
2074
  self._FileNum = None
2048
2075
  self._DatasourceIds = None
2076
+ self._Config = None
2049
2077
 
2050
2078
  @property
2051
2079
  def KnowledgeBaseId(self):
2052
- r"""知识库id
2080
+ r"""<p>知识库id</p>
2053
2081
  :rtype: str
2054
2082
  """
2055
2083
  return self._KnowledgeBaseId
@@ -2060,8 +2088,7 @@ class KnowledgeBase(AbstractModel):
2060
2088
 
2061
2089
  @property
2062
2090
  def KnowledgeBaseName(self):
2063
- r"""知识库名称
2064
-
2091
+ r"""<p>知识库名称</p>
2065
2092
  :rtype: str
2066
2093
  """
2067
2094
  return self._KnowledgeBaseName
@@ -2072,7 +2099,7 @@ class KnowledgeBase(AbstractModel):
2072
2099
 
2073
2100
  @property
2074
2101
  def KnowledgeBaseDesc(self):
2075
- r"""知识库描述
2102
+ r"""<p>知识库描述</p>
2076
2103
  :rtype: str
2077
2104
  """
2078
2105
  return self._KnowledgeBaseDesc
@@ -2083,7 +2110,7 @@ class KnowledgeBase(AbstractModel):
2083
2110
 
2084
2111
  @property
2085
2112
  def Creator(self):
2086
- r"""创建者subuin
2113
+ r"""<p>创建者subuin</p>
2087
2114
  :rtype: str
2088
2115
  """
2089
2116
  return self._Creator
@@ -2094,7 +2121,7 @@ class KnowledgeBase(AbstractModel):
2094
2121
 
2095
2122
  @property
2096
2123
  def CreateTime(self):
2097
- r"""创建时间
2124
+ r"""<p>创建时间</p>
2098
2125
  :rtype: str
2099
2126
  """
2100
2127
  return self._CreateTime
@@ -2105,7 +2132,7 @@ class KnowledgeBase(AbstractModel):
2105
2132
 
2106
2133
  @property
2107
2134
  def FileNum(self):
2108
- r"""文件数量
2135
+ r"""<p>文件数量</p>
2109
2136
  :rtype: int
2110
2137
  """
2111
2138
  return self._FileNum
@@ -2116,7 +2143,7 @@ class KnowledgeBase(AbstractModel):
2116
2143
 
2117
2144
  @property
2118
2145
  def DatasourceIds(self):
2119
- r"""知识库关联的数据库列表,目前是只绑定一个数据源,数组预留拓展
2146
+ r"""<p>知识库关联的数据库列表,目前是只绑定一个数据源,数组预留拓展</p>
2120
2147
  :rtype: list of str
2121
2148
  """
2122
2149
  return self._DatasourceIds
@@ -2125,6 +2152,17 @@ class KnowledgeBase(AbstractModel):
2125
2152
  def DatasourceIds(self, DatasourceIds):
2126
2153
  self._DatasourceIds = DatasourceIds
2127
2154
 
2155
+ @property
2156
+ def Config(self):
2157
+ r"""<p>知识库任务配置</p>
2158
+ :rtype: :class:`tencentcloud.dataagent.v20250513.models.KnowledgeTaskConfig`
2159
+ """
2160
+ return self._Config
2161
+
2162
+ @Config.setter
2163
+ def Config(self, Config):
2164
+ self._Config = Config
2165
+
2128
2166
 
2129
2167
  def _deserialize(self, params):
2130
2168
  self._KnowledgeBaseId = params.get("KnowledgeBaseId")
@@ -2134,6 +2172,9 @@ class KnowledgeBase(AbstractModel):
2134
2172
  self._CreateTime = params.get("CreateTime")
2135
2173
  self._FileNum = params.get("FileNum")
2136
2174
  self._DatasourceIds = params.get("DatasourceIds")
2175
+ if params.get("Config") is not None:
2176
+ self._Config = KnowledgeTaskConfig()
2177
+ self._Config._deserialize(params.get("Config"))
2137
2178
  memeber_set = set(params.keys())
2138
2179
  for name, value in vars(self).items():
2139
2180
  property_name = name[1:]
@@ -2151,23 +2192,25 @@ class KnowledgeTaskConfig(AbstractModel):
2151
2192
 
2152
2193
  def __init__(self):
2153
2194
  r"""
2154
- :param _ChunkType: 切片类型 0:自定义切片,1:智能切片
2195
+ :param _ChunkType: <p>切片类型 0:自定义切片,1:智能切片</p>
2155
2196
  :type ChunkType: int
2156
- :param _MaxChunkSize: /智能切片:最小值 1000,默认 4800 自定义切片:正整数即可,默认值 1000
2197
+ :param _MaxChunkSize: <p>/智能切片:最小值 1000,默认 4800 自定义切片:正整数即可,默认值 1000</p>
2157
2198
  :type MaxChunkSize: int
2158
- :param _Delimiters: 切片分隔符,自定义切片使用:默认值为:["\n\n", "\n", "。", "!", "?", ",", ""]
2199
+ :param _Delimiters: <p>切片分隔符,自定义切片使用:默认值为:[&quot;\n\n&quot;, &quot;\n&quot;, &quot;。&quot;, &quot;!&quot;, &quot;?&quot;, &quot;,&quot;, &quot;&quot;]</p>
2159
2200
  注意:此字段可能返回 null,表示取不到有效值。
2160
2201
  :type Delimiters: list of str
2161
- :param _ChunkOverlap: 自定义切片使用:默认0 可重叠字符长度
2202
+ :param _ChunkOverlap: <p>自定义切片使用:默认0 可重叠字符长度</p>
2162
2203
  :type ChunkOverlap: int
2163
- :param _Columns: 表格类文档解析
2204
+ :param _Columns: <p>表格类文档解析</p>
2164
2205
  :type Columns: list of ColumnInfo
2165
- :param _Indexes: 带检索的索引列表
2206
+ :param _Indexes: <p>带检索的索引列表</p>
2166
2207
  :type Indexes: list of int
2167
- :param _GenDocSummary: 0:不生成文档摘要,1:生成文档概要。默认0,当取1时,GenParaSummary必须也为1
2208
+ :param _GenDocSummary: <p>0:不生成文档摘要,1:生成文档概要。默认0,当取1时,GenParaSummary必须也为1</p>
2168
2209
  :type GenDocSummary: int
2169
- :param _GenParaSummary: 0:不生成段落摘要,1:生成段落概要。默认0
2210
+ :param _GenParaSummary: <p>0:不生成段落摘要,1:生成段落概要。默认0</p>
2170
2211
  :type GenParaSummary: int
2212
+ :param _EnableImageUnderstanding: <p>0:不开启图片理解,1:开启图片理解。默认1</p><p>取值范围:[1, 10000]</p><p>默认值:1</p>
2213
+ :type EnableImageUnderstanding: int
2171
2214
  """
2172
2215
  self._ChunkType = None
2173
2216
  self._MaxChunkSize = None
@@ -2177,10 +2220,11 @@ class KnowledgeTaskConfig(AbstractModel):
2177
2220
  self._Indexes = None
2178
2221
  self._GenDocSummary = None
2179
2222
  self._GenParaSummary = None
2223
+ self._EnableImageUnderstanding = None
2180
2224
 
2181
2225
  @property
2182
2226
  def ChunkType(self):
2183
- r"""切片类型 0:自定义切片,1:智能切片
2227
+ r"""<p>切片类型 0:自定义切片,1:智能切片</p>
2184
2228
  :rtype: int
2185
2229
  """
2186
2230
  return self._ChunkType
@@ -2191,7 +2235,7 @@ class KnowledgeTaskConfig(AbstractModel):
2191
2235
 
2192
2236
  @property
2193
2237
  def MaxChunkSize(self):
2194
- r"""/智能切片:最小值 1000,默认 4800 自定义切片:正整数即可,默认值 1000
2238
+ r"""<p>/智能切片:最小值 1000,默认 4800 自定义切片:正整数即可,默认值 1000</p>
2195
2239
  :rtype: int
2196
2240
  """
2197
2241
  return self._MaxChunkSize
@@ -2202,7 +2246,7 @@ class KnowledgeTaskConfig(AbstractModel):
2202
2246
 
2203
2247
  @property
2204
2248
  def Delimiters(self):
2205
- r""" 切片分隔符,自定义切片使用:默认值为:["\n\n", "\n", "。", "!", "?", ",", ""]
2249
+ r"""<p>切片分隔符,自定义切片使用:默认值为:[&quot;\n\n&quot;, &quot;\n&quot;, &quot;。&quot;, &quot;!&quot;, &quot;?&quot;, &quot;,&quot;, &quot;&quot;]</p>
2206
2250
  注意:此字段可能返回 null,表示取不到有效值。
2207
2251
  :rtype: list of str
2208
2252
  """
@@ -2214,7 +2258,7 @@ class KnowledgeTaskConfig(AbstractModel):
2214
2258
 
2215
2259
  @property
2216
2260
  def ChunkOverlap(self):
2217
- r"""自定义切片使用:默认0 可重叠字符长度
2261
+ r"""<p>自定义切片使用:默认0 可重叠字符长度</p>
2218
2262
  :rtype: int
2219
2263
  """
2220
2264
  return self._ChunkOverlap
@@ -2225,7 +2269,7 @@ class KnowledgeTaskConfig(AbstractModel):
2225
2269
 
2226
2270
  @property
2227
2271
  def Columns(self):
2228
- r"""表格类文档解析
2272
+ r"""<p>表格类文档解析</p>
2229
2273
  :rtype: list of ColumnInfo
2230
2274
  """
2231
2275
  return self._Columns
@@ -2236,7 +2280,7 @@ class KnowledgeTaskConfig(AbstractModel):
2236
2280
 
2237
2281
  @property
2238
2282
  def Indexes(self):
2239
- r"""带检索的索引列表
2283
+ r"""<p>带检索的索引列表</p>
2240
2284
  :rtype: list of int
2241
2285
  """
2242
2286
  return self._Indexes
@@ -2247,7 +2291,7 @@ class KnowledgeTaskConfig(AbstractModel):
2247
2291
 
2248
2292
  @property
2249
2293
  def GenDocSummary(self):
2250
- r"""0:不生成文档摘要,1:生成文档概要。默认0,当取1时,GenParaSummary必须也为1
2294
+ r"""<p>0:不生成文档摘要,1:生成文档概要。默认0,当取1时,GenParaSummary必须也为1</p>
2251
2295
  :rtype: int
2252
2296
  """
2253
2297
  return self._GenDocSummary
@@ -2258,7 +2302,7 @@ class KnowledgeTaskConfig(AbstractModel):
2258
2302
 
2259
2303
  @property
2260
2304
  def GenParaSummary(self):
2261
- r"""0:不生成段落摘要,1:生成段落概要。默认0
2305
+ r"""<p>0:不生成段落摘要,1:生成段落概要。默认0</p>
2262
2306
  :rtype: int
2263
2307
  """
2264
2308
  return self._GenParaSummary
@@ -2267,6 +2311,17 @@ class KnowledgeTaskConfig(AbstractModel):
2267
2311
  def GenParaSummary(self, GenParaSummary):
2268
2312
  self._GenParaSummary = GenParaSummary
2269
2313
 
2314
+ @property
2315
+ def EnableImageUnderstanding(self):
2316
+ r"""<p>0:不开启图片理解,1:开启图片理解。默认1</p><p>取值范围:[1, 10000]</p><p>默认值:1</p>
2317
+ :rtype: int
2318
+ """
2319
+ return self._EnableImageUnderstanding
2320
+
2321
+ @EnableImageUnderstanding.setter
2322
+ def EnableImageUnderstanding(self, EnableImageUnderstanding):
2323
+ self._EnableImageUnderstanding = EnableImageUnderstanding
2324
+
2270
2325
 
2271
2326
  def _deserialize(self, params):
2272
2327
  self._ChunkType = params.get("ChunkType")
@@ -2282,6 +2337,7 @@ class KnowledgeTaskConfig(AbstractModel):
2282
2337
  self._Indexes = params.get("Indexes")
2283
2338
  self._GenDocSummary = params.get("GenDocSummary")
2284
2339
  self._GenParaSummary = params.get("GenParaSummary")
2340
+ self._EnableImageUnderstanding = params.get("EnableImageUnderstanding")
2285
2341
  memeber_set = set(params.keys())
2286
2342
  for name, value in vars(self).items():
2287
2343
  property_name = name[1:]
@@ -2564,20 +2620,22 @@ class ModifyKnowledgeBaseRequest(AbstractModel):
2564
2620
 
2565
2621
  def __init__(self):
2566
2622
  r"""
2567
- :param _InstanceId: 实例id
2623
+ :param _InstanceId: <p>实例id</p>
2568
2624
  :type InstanceId: str
2569
- :param _OperateType: 操作类型:Create,Update,Delete
2625
+ :param _OperateType: <p>操作类型:Create,Update,Delete</p>
2570
2626
  :type OperateType: str
2571
- :param _KnowledgeBaseId: 知识库id,update和delete时必填
2627
+ :param _KnowledgeBaseId: <p>知识库id,update和delete时必填</p>
2572
2628
  :type KnowledgeBaseId: str
2573
- :param _KnowledgeBaseName: 知识库名称,create和update时必填。只允许字母、数字、汉字、下划线
2629
+ :param _KnowledgeBaseName: <p>知识库名称,create和update时必填。只允许字母、数字、汉字、下划线</p>
2574
2630
  :type KnowledgeBaseName: str
2575
- :param _KnowledgeBaseDesc: 知识库描述,create和update时必填
2631
+ :param _KnowledgeBaseDesc: <p>知识库描述,create和update时必填</p>
2576
2632
  :type KnowledgeBaseDesc: str
2577
- :param _UseScope: 1仅自己使用,2指定用户,0全员
2633
+ :param _UseScope: <p>1仅自己使用,2指定用户,0全员</p>
2578
2634
  :type UseScope: int
2579
- :param _AuthorityUins: 可使用用户列表
2635
+ :param _AuthorityUins: <p>可使用用户列表</p>
2580
2636
  :type AuthorityUins: list of str
2637
+ :param _Config: <p>知识库任务配置</p>
2638
+ :type Config: :class:`tencentcloud.dataagent.v20250513.models.KnowledgeTaskConfig`
2581
2639
  """
2582
2640
  self._InstanceId = None
2583
2641
  self._OperateType = None
@@ -2586,10 +2644,11 @@ class ModifyKnowledgeBaseRequest(AbstractModel):
2586
2644
  self._KnowledgeBaseDesc = None
2587
2645
  self._UseScope = None
2588
2646
  self._AuthorityUins = None
2647
+ self._Config = None
2589
2648
 
2590
2649
  @property
2591
2650
  def InstanceId(self):
2592
- r"""实例id
2651
+ r"""<p>实例id</p>
2593
2652
  :rtype: str
2594
2653
  """
2595
2654
  return self._InstanceId
@@ -2600,7 +2659,7 @@ class ModifyKnowledgeBaseRequest(AbstractModel):
2600
2659
 
2601
2660
  @property
2602
2661
  def OperateType(self):
2603
- r"""操作类型:Create,Update,Delete
2662
+ r"""<p>操作类型:Create,Update,Delete</p>
2604
2663
  :rtype: str
2605
2664
  """
2606
2665
  return self._OperateType
@@ -2611,7 +2670,7 @@ class ModifyKnowledgeBaseRequest(AbstractModel):
2611
2670
 
2612
2671
  @property
2613
2672
  def KnowledgeBaseId(self):
2614
- r"""知识库id,update和delete时必填
2673
+ r"""<p>知识库id,update和delete时必填</p>
2615
2674
  :rtype: str
2616
2675
  """
2617
2676
  return self._KnowledgeBaseId
@@ -2622,7 +2681,7 @@ class ModifyKnowledgeBaseRequest(AbstractModel):
2622
2681
 
2623
2682
  @property
2624
2683
  def KnowledgeBaseName(self):
2625
- r"""知识库名称,create和update时必填。只允许字母、数字、汉字、下划线
2684
+ r"""<p>知识库名称,create和update时必填。只允许字母、数字、汉字、下划线</p>
2626
2685
  :rtype: str
2627
2686
  """
2628
2687
  return self._KnowledgeBaseName
@@ -2633,7 +2692,7 @@ class ModifyKnowledgeBaseRequest(AbstractModel):
2633
2692
 
2634
2693
  @property
2635
2694
  def KnowledgeBaseDesc(self):
2636
- r"""知识库描述,create和update时必填
2695
+ r"""<p>知识库描述,create和update时必填</p>
2637
2696
  :rtype: str
2638
2697
  """
2639
2698
  return self._KnowledgeBaseDesc
@@ -2644,7 +2703,7 @@ class ModifyKnowledgeBaseRequest(AbstractModel):
2644
2703
 
2645
2704
  @property
2646
2705
  def UseScope(self):
2647
- r"""1仅自己使用,2指定用户,0全员
2706
+ r"""<p>1仅自己使用,2指定用户,0全员</p>
2648
2707
  :rtype: int
2649
2708
  """
2650
2709
  return self._UseScope
@@ -2655,7 +2714,7 @@ class ModifyKnowledgeBaseRequest(AbstractModel):
2655
2714
 
2656
2715
  @property
2657
2716
  def AuthorityUins(self):
2658
- r"""可使用用户列表
2717
+ r"""<p>可使用用户列表</p>
2659
2718
  :rtype: list of str
2660
2719
  """
2661
2720
  return self._AuthorityUins
@@ -2664,6 +2723,17 @@ class ModifyKnowledgeBaseRequest(AbstractModel):
2664
2723
  def AuthorityUins(self, AuthorityUins):
2665
2724
  self._AuthorityUins = AuthorityUins
2666
2725
 
2726
+ @property
2727
+ def Config(self):
2728
+ r"""<p>知识库任务配置</p>
2729
+ :rtype: :class:`tencentcloud.dataagent.v20250513.models.KnowledgeTaskConfig`
2730
+ """
2731
+ return self._Config
2732
+
2733
+ @Config.setter
2734
+ def Config(self, Config):
2735
+ self._Config = Config
2736
+
2667
2737
 
2668
2738
  def _deserialize(self, params):
2669
2739
  self._InstanceId = params.get("InstanceId")
@@ -2673,6 +2743,9 @@ class ModifyKnowledgeBaseRequest(AbstractModel):
2673
2743
  self._KnowledgeBaseDesc = params.get("KnowledgeBaseDesc")
2674
2744
  self._UseScope = params.get("UseScope")
2675
2745
  self._AuthorityUins = params.get("AuthorityUins")
2746
+ if params.get("Config") is not None:
2747
+ self._Config = KnowledgeTaskConfig()
2748
+ self._Config._deserialize(params.get("Config"))
2676
2749
  memeber_set = set(params.keys())
2677
2750
  for name, value in vars(self).items():
2678
2751
  property_name = name[1:]
@@ -2690,7 +2763,7 @@ class ModifyKnowledgeBaseResponse(AbstractModel):
2690
2763
 
2691
2764
  def __init__(self):
2692
2765
  r"""
2693
- :param _KnowledgeBaseId: 知识库id
2766
+ :param _KnowledgeBaseId: <p>知识库id</p>
2694
2767
  :type KnowledgeBaseId: str
2695
2768
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2696
2769
  :type RequestId: str
@@ -2700,7 +2773,7 @@ class ModifyKnowledgeBaseResponse(AbstractModel):
2700
2773
 
2701
2774
  @property
2702
2775
  def KnowledgeBaseId(self):
2703
- r"""知识库id
2776
+ r"""<p>知识库id</p>
2704
2777
  :rtype: str
2705
2778
  """
2706
2779
  return self._KnowledgeBaseId
@@ -3507,26 +3580,28 @@ class Scene(AbstractModel):
3507
3580
 
3508
3581
  def __init__(self):
3509
3582
  r"""
3510
- :param _SceneId: 场景ID
3583
+ :param _SceneId: <p>场景ID</p>
3511
3584
  :type SceneId: str
3512
- :param _SceneName: 场景名称
3585
+ :param _SceneName: <p>场景名称</p>
3513
3586
  :type SceneName: str
3514
- :param _Skills: 技能列表,包含:rag(知识检索)、data_analytics(数据分析)、data_prediction(数据预测)
3587
+ :param _Skills: <p>技能列表,包含:rag(知识检索)、data_analytics(数据分析)、data_prediction(数据预测)</p>
3515
3588
  :type Skills: list of str
3516
- :param _Prompt: 提示词文本
3589
+ :param _Prompt: <p>提示词文本</p>
3517
3590
  :type Prompt: str
3518
- :param _Description: 描述
3591
+ :param _Description: <p>描述</p>
3519
3592
  :type Description: str
3520
- :param _SearchConfig: 检索配置
3593
+ :param _SearchConfig: <p>检索配置</p>
3521
3594
  :type SearchConfig: :class:`tencentcloud.dataagent.v20250513.models.SearchConfig`
3522
- :param _ExampleQAList: 示例问答列表
3595
+ :param _ExampleQAList: <p>示例问答列表</p>
3523
3596
  :type ExampleQAList: list of ExampleQA
3524
- :param _CreateTime: 记录的创建时间
3597
+ :param _CreateTime: <p>记录的创建时间</p>
3525
3598
  :type CreateTime: str
3526
- :param _UpdateTime: 记录的最后更新时间
3599
+ :param _UpdateTime: <p>记录的最后更新时间</p>
3527
3600
  :type UpdateTime: str
3528
- :param _CreatorUin: 创建者Uin
3601
+ :param _CreatorUin: <p>创建者Uin</p>
3529
3602
  :type CreatorUin: str
3603
+ :param _Knowledge: <p>知识</p>
3604
+ :type Knowledge: str
3530
3605
  """
3531
3606
  self._SceneId = None
3532
3607
  self._SceneName = None
@@ -3538,10 +3613,11 @@ class Scene(AbstractModel):
3538
3613
  self._CreateTime = None
3539
3614
  self._UpdateTime = None
3540
3615
  self._CreatorUin = None
3616
+ self._Knowledge = None
3541
3617
 
3542
3618
  @property
3543
3619
  def SceneId(self):
3544
- r"""场景ID
3620
+ r"""<p>场景ID</p>
3545
3621
  :rtype: str
3546
3622
  """
3547
3623
  return self._SceneId
@@ -3552,7 +3628,7 @@ class Scene(AbstractModel):
3552
3628
 
3553
3629
  @property
3554
3630
  def SceneName(self):
3555
- r"""场景名称
3631
+ r"""<p>场景名称</p>
3556
3632
  :rtype: str
3557
3633
  """
3558
3634
  return self._SceneName
@@ -3563,7 +3639,7 @@ class Scene(AbstractModel):
3563
3639
 
3564
3640
  @property
3565
3641
  def Skills(self):
3566
- r"""技能列表,包含:rag(知识检索)、data_analytics(数据分析)、data_prediction(数据预测)
3642
+ r"""<p>技能列表,包含:rag(知识检索)、data_analytics(数据分析)、data_prediction(数据预测)</p>
3567
3643
  :rtype: list of str
3568
3644
  """
3569
3645
  return self._Skills
@@ -3574,7 +3650,7 @@ class Scene(AbstractModel):
3574
3650
 
3575
3651
  @property
3576
3652
  def Prompt(self):
3577
- r"""提示词文本
3653
+ r"""<p>提示词文本</p>
3578
3654
  :rtype: str
3579
3655
  """
3580
3656
  return self._Prompt
@@ -3585,7 +3661,7 @@ class Scene(AbstractModel):
3585
3661
 
3586
3662
  @property
3587
3663
  def Description(self):
3588
- r"""描述
3664
+ r"""<p>描述</p>
3589
3665
  :rtype: str
3590
3666
  """
3591
3667
  return self._Description
@@ -3596,7 +3672,7 @@ class Scene(AbstractModel):
3596
3672
 
3597
3673
  @property
3598
3674
  def SearchConfig(self):
3599
- r"""检索配置
3675
+ r"""<p>检索配置</p>
3600
3676
  :rtype: :class:`tencentcloud.dataagent.v20250513.models.SearchConfig`
3601
3677
  """
3602
3678
  return self._SearchConfig
@@ -3607,7 +3683,7 @@ class Scene(AbstractModel):
3607
3683
 
3608
3684
  @property
3609
3685
  def ExampleQAList(self):
3610
- r"""示例问答列表
3686
+ r"""<p>示例问答列表</p>
3611
3687
  :rtype: list of ExampleQA
3612
3688
  """
3613
3689
  return self._ExampleQAList
@@ -3618,7 +3694,7 @@ class Scene(AbstractModel):
3618
3694
 
3619
3695
  @property
3620
3696
  def CreateTime(self):
3621
- r"""记录的创建时间
3697
+ r"""<p>记录的创建时间</p>
3622
3698
  :rtype: str
3623
3699
  """
3624
3700
  return self._CreateTime
@@ -3629,7 +3705,7 @@ class Scene(AbstractModel):
3629
3705
 
3630
3706
  @property
3631
3707
  def UpdateTime(self):
3632
- r"""记录的最后更新时间
3708
+ r"""<p>记录的最后更新时间</p>
3633
3709
  :rtype: str
3634
3710
  """
3635
3711
  return self._UpdateTime
@@ -3640,7 +3716,7 @@ class Scene(AbstractModel):
3640
3716
 
3641
3717
  @property
3642
3718
  def CreatorUin(self):
3643
- r"""创建者Uin
3719
+ r"""<p>创建者Uin</p>
3644
3720
  :rtype: str
3645
3721
  """
3646
3722
  return self._CreatorUin
@@ -3649,6 +3725,17 @@ class Scene(AbstractModel):
3649
3725
  def CreatorUin(self, CreatorUin):
3650
3726
  self._CreatorUin = CreatorUin
3651
3727
 
3728
+ @property
3729
+ def Knowledge(self):
3730
+ r"""<p>知识</p>
3731
+ :rtype: str
3732
+ """
3733
+ return self._Knowledge
3734
+
3735
+ @Knowledge.setter
3736
+ def Knowledge(self, Knowledge):
3737
+ self._Knowledge = Knowledge
3738
+
3652
3739
 
3653
3740
  def _deserialize(self, params):
3654
3741
  self._SceneId = params.get("SceneId")
@@ -3668,6 +3755,7 @@ class Scene(AbstractModel):
3668
3755
  self._CreateTime = params.get("CreateTime")
3669
3756
  self._UpdateTime = params.get("UpdateTime")
3670
3757
  self._CreatorUin = params.get("CreatorUin")
3758
+ self._Knowledge = params.get("Knowledge")
3671
3759
  memeber_set = set(params.keys())
3672
3760
  for name, value in vars(self).items():
3673
3761
  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.46
3
+ Version: 3.1.88
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.46
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.88
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=1hYUkos-fnlE1ONpWKYsJB0Zq0NyclfcNfHq9o4V9D0,629
1
+ tencentcloud/__init__.py,sha256=XLVahedF5eVJXG5w99y0qQw9cTt48U5bwhQXZIqKhkM,629
2
2
  tencentcloud/dataagent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/dataagent/v20250513/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/dataagent/v20250513/dataagent_client.py,sha256=821vZlwPMfL56btjCUeKXYYumAABkC4PtI82b8LXQhQ,19240
5
5
  tencentcloud/dataagent/v20250513/dataagent_client_async.py,sha256=GQRBgTSmYkMnEOuEE3LOiRWr8xPb2SI3hiS1BBlDlTA,12807
6
6
  tencentcloud/dataagent/v20250513/errorcodes.py,sha256=oDA3b6phBkyUFg0XUkL4tNQmIcBBhAxrvs5cLZ0sk1g,1538
7
- tencentcloud/dataagent/v20250513/models.py,sha256=l4i1A9LaOML6mlAeqV5LHDMBg78VKD96T97Fp-hcVsU,125614
8
- tencentcloud_sdk_python_dataagent-3.1.46.dist-info/METADATA,sha256=Y5lIelAAU5e7EZRAfGixJTdE2UqIW3WTP-WP6p2PLa8,1525
9
- tencentcloud_sdk_python_dataagent-3.1.46.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_dataagent-3.1.46.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_dataagent-3.1.46.dist-info/RECORD,,
7
+ tencentcloud/dataagent/v20250513/models.py,sha256=v2pcR0y8hSy6ZcoW0HVmql7xecrU9UuT3tC15PxkyeM,129550
8
+ tencentcloud_sdk_python_dataagent-3.1.88.dist-info/METADATA,sha256=cZhQ9ZfOKEMe-CzKX_DxxeNXiBy37qUoYyeoMwsQui0,1525
9
+ tencentcloud_sdk_python_dataagent-3.1.88.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_dataagent-3.1.88.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_dataagent-3.1.88.dist-info/RECORD,,