tencentcloud-sdk-lkeap 3.0.998 → 3.0.1000

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74309b4786095e1032d2088e834d64a501decf2b
4
- data.tar.gz: e7f40bba7b494010d16b55801658b83b71a54969
3
+ metadata.gz: 071588d3f19442ea1adff960f4b81796df4a72ad
4
+ data.tar.gz: 1d8d16c375d7b14f306b3af21658a2edbb7f71c2
5
5
  SHA512:
6
- metadata.gz: 3ade84ca2593245bcd37695969be2e8ec420d749d752fef834079d726f2bb3d27f0e007d8f884169f2b9449d3900506939a360123c5afb3172e89f574a87af6c
7
- data.tar.gz: 33a2d3be04989d7f5e0b59e4e0106ae85e28a7acf58adc20191be641046b0f8459f002d2cd527e62fc193124c79cb27385cbc17643f619a50d1758eb20568c3f
6
+ metadata.gz: 7d88563d04edb52046d45de33c141d619618e45b9586f96372c764fe144266a33272e36f84721cd7e550f81646808c13306ad1f95334ce4c7060f02989bdd599
7
+ data.tar.gz: 7bce2a2e5e46fc2850054846b92452494d533a6697c5cd81d589d9933088106ce002f795b4977f645433b4042c4be0150ec5e454990ed02c699443f0ff2a6cba
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.998
1
+ 3.0.1000
@@ -37,10 +37,10 @@ module TencentCloud
37
37
  # #### 已支持的模型
38
38
  # - DeepSeek-V3(model 参数值为**deepseek-v3**)
39
39
  # - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。
40
- # - 支持64K上下文长度,最大支持8K输出长度。
40
+ # - 支持64K上下文长度,最大支持16K输出长度(含思维链)。
41
41
  # - DeepSeek-R1(model 参数值为**deepseek-r1**)
42
42
  # - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。
43
- # - 支持64K上下文长度,最大支持8K输出长度。
43
+ # - 支持64K上下文长度,最大支持16K输出长度(含思维链)。
44
44
 
45
45
  # #### 计费说明
46
46
  # - 限时免费
@@ -730,7 +730,8 @@ module TencentCloud
730
730
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
731
731
  end
732
732
 
733
- # 用于上传实时文档内容。实时文档在上传后可以立即通过SearchRealtime进行实时检索,适用于在会话中对文档进行问答的场景。
733
+ # 用于上传实时文档内容。
734
+ # 实时文档在上传后可以立即通过SearchRealtime进行实时检索,适用于在会话中对文档进行问答的场景。
734
735
 
735
736
  # @param request: Request instance for UploadDocRealtime.
736
737
  # @type request: :class:`Tencentcloud::lkeap::V20240522::UploadDocRealtimeRequest`
@@ -436,6 +436,7 @@ module TencentCloud
436
436
  # 参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749)
437
437
  # @type FileUrl: String
438
438
  # @param FileBase64: 文件的 Base64 值。
439
+ # 支持的文件类型: PNG、JPG、JPEG、PDF、GIF、BMP、TIFF
439
440
  # 支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。
440
441
  # 支持的图片像素:单边介于20-10000px之间。
441
442
  # 文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。
@@ -1991,12 +1992,43 @@ module TencentCloud
1991
1992
 
1992
1993
  # UploadDocRealtime请求参数结构体
1993
1994
  class UploadDocRealtimeRequest < TencentCloud::Common::AbstractModel
1995
+ # @param KnowledgeBaseId: 知识库ID
1996
+ # @type KnowledgeBaseId: String
1997
+ # @param FileName: 文件名,可选。
1998
+ # **需带文件类型后缀**,当文件名无法从传入的`FileUrl`获取时需要通过该字段来明确。
1999
+ # @type FileName: String
2000
+ # @param FileType: 文件类型。
2001
+ # **支持的文件类型:**
2002
+ # - `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`
1994
2003
 
2004
+ # **支持的文件大小:**
2005
+ # - `PDF`、`DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M
2006
+ # - `TXT`、`MD` 最大10M
2007
+ # - 其他 最大20M
2008
+ # @type FileType: String
2009
+ # @param FileUrl: 文件的 URL 地址。
2010
+ # 文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。
2011
+ # 参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749)
2012
+ # @type FileUrl: String
2013
+ # @param ExpireTime: 过期时间的秒数,最长24小时,默认24小时
2014
+ # @type ExpireTime: Integer
1995
2015
 
1996
- def initialize()
2016
+ attr_accessor :KnowledgeBaseId, :FileName, :FileType, :FileUrl, :ExpireTime
2017
+
2018
+ def initialize(knowledgebaseid=nil, filename=nil, filetype=nil, fileurl=nil, expiretime=nil)
2019
+ @KnowledgeBaseId = knowledgebaseid
2020
+ @FileName = filename
2021
+ @FileType = filetype
2022
+ @FileUrl = fileurl
2023
+ @ExpireTime = expiretime
1997
2024
  end
1998
2025
 
1999
2026
  def deserialize(params)
2027
+ @KnowledgeBaseId = params['KnowledgeBaseId']
2028
+ @FileName = params['FileName']
2029
+ @FileType = params['FileType']
2030
+ @FileUrl = params['FileUrl']
2031
+ @ExpireTime = params['ExpireTime']
2000
2032
  end
2001
2033
  end
2002
2034
 
@@ -2020,8 +2052,8 @@ module TencentCloud
2020
2052
  class UploadDocRequest < TencentCloud::Common::AbstractModel
2021
2053
  # @param KnowledgeBaseId: 知识库ID
2022
2054
  # @type KnowledgeBaseId: String
2023
- # @param FileName: 文件名,可选。
2024
- # **需带文件类型后缀**,当文件名无法从传入的`FileUrl`获取时需要通过该字段来明确。
2055
+ # @param FileName: 文件名。
2056
+ # **需带文件类型后缀**
2025
2057
  # @type FileName: String
2026
2058
  # @param FileType: 文件类型。
2027
2059
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lkeap
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.998
4
+ version: 3.0.1000
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-13 00:00:00.000000000 Z
11
+ date: 2025-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common