tencentcloud-sdk-lke 3.0.818 → 3.0.820
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20231130/client.rb +4 -4
- data/lib/v20231130/models.rb +71 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4ea0733cb745c23c987e56000f9d8b6a54f0763
|
4
|
+
data.tar.gz: 64c9b454cc1b0bd0fe76fc04d2627d550ab721d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 250a06f7756cba2e0880272af1c30aba9becb478193413cc087f1e5682c0094b605253c56046b24056912a80b21e0b289a3fafd9ba3b7ec12cb8812080cab89a
|
7
|
+
data.tar.gz: f76ce428d5237c40bc16215c3d0b535fadaac283459e7ba8fd59c3994a72d31d45792d427eb1aad1218c44f5ec9fa8fd18d041640eb28faa96c7d4acfaef82c9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.820
|
data/lib/v20231130/client.rb
CHANGED
@@ -821,8 +821,8 @@ module TencentCloud
|
|
821
821
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
822
|
end
|
823
823
|
|
824
|
-
#
|
825
|
-
#
|
824
|
+
# 本接口(GetEmbedding)调用文本表示模型,将文本转化为用数值表示的向量形式,可用于文本检索、信息推荐、知识挖掘等场景。
|
825
|
+
# 本接口(GetEmbedding)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。
|
826
826
|
|
827
827
|
# @param request: Request instance for GetEmbedding.
|
828
828
|
# @type request: :class:`Tencentcloud::lke::V20231130::GetEmbeddingRequest`
|
@@ -1590,8 +1590,8 @@ module TencentCloud
|
|
1590
1590
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1591
1591
|
end
|
1592
1592
|
|
1593
|
-
#
|
1594
|
-
#
|
1593
|
+
# 多轮改写(QueryRewrite)主要用于多轮对话中,进行指代消解和省略补全。使用本接口,无需输入prompt描述,根据对话历史即可生成更精确的用户查询。在应用场景上,本接口可应用于智能问答、对话式搜索等多种场景。
|
1594
|
+
# 本接口(QueryRewrite)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。
|
1595
1595
|
|
1596
1596
|
# @param request: Request instance for QueryRewrite.
|
1597
1597
|
# @type request: :class:`Tencentcloud::lke::V20231130::QueryRewriteRequest`
|
data/lib/v20231130/models.rb
CHANGED
@@ -4761,6 +4761,9 @@ module TencentCloud
|
|
4761
4761
|
class MsgRecord < TencentCloud::Common::AbstractModel
|
4762
4762
|
# @param Content: 内容
|
4763
4763
|
# @type Content: String
|
4764
|
+
# @param SessionId: 当前记录所对应的 Session ID
|
4765
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4766
|
+
# @type SessionId: String
|
4764
4767
|
# @param RecordId: 记录ID
|
4765
4768
|
# @type RecordId: String
|
4766
4769
|
# @param RelatedRecordId: 关联记录ID
|
@@ -4779,6 +4782,9 @@ module TencentCloud
|
|
4779
4782
|
# @type Score: Integer
|
4780
4783
|
# @param CanRating: 是否评分
|
4781
4784
|
# @type CanRating: Boolean
|
4785
|
+
# @param CanFeedback: 是否展示反馈按钮
|
4786
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4787
|
+
# @type CanFeedback: Boolean
|
4782
4788
|
# @param Type: 记录类型
|
4783
4789
|
# @type Type: Integer
|
4784
4790
|
# @param References: 引用来源
|
@@ -4792,11 +4798,21 @@ module TencentCloud
|
|
4792
4798
|
# @param TokenStat: 当次 token 统计信息
|
4793
4799
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4794
4800
|
# @type TokenStat: :class:`Tencentcloud::Lke.v20231130.models.TokenStat`
|
4801
|
+
# @param ReplyMethod: 回复方式
|
4802
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4803
|
+
# @type ReplyMethod: Integer
|
4804
|
+
# @param OptionCards: 选项卡, 用于多轮对话
|
4805
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4806
|
+
# @type OptionCards: Array
|
4807
|
+
# @param TaskFlow: 任务信息
|
4808
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4809
|
+
# @type TaskFlow: :class:`Tencentcloud::Lke.v20231130.models.TaskFlowInfo`
|
4795
4810
|
|
4796
|
-
attr_accessor :Content, :RecordId, :RelatedRecordId, :IsFromSelf, :FromName, :FromAvatar, :Timestamp, :HasRead, :Score, :CanRating, :Type, :References, :Reasons, :IsLlmGenerated, :ImageUrls, :TokenStat
|
4811
|
+
attr_accessor :Content, :SessionId, :RecordId, :RelatedRecordId, :IsFromSelf, :FromName, :FromAvatar, :Timestamp, :HasRead, :Score, :CanRating, :CanFeedback, :Type, :References, :Reasons, :IsLlmGenerated, :ImageUrls, :TokenStat, :ReplyMethod, :OptionCards, :TaskFlow
|
4797
4812
|
|
4798
|
-
def initialize(content=nil, recordid=nil, relatedrecordid=nil, isfromself=nil, fromname=nil, fromavatar=nil, timestamp=nil, hasread=nil, score=nil, canrating=nil, type=nil, references=nil, reasons=nil, isllmgenerated=nil, imageurls=nil, tokenstat=nil)
|
4813
|
+
def initialize(content=nil, sessionid=nil, recordid=nil, relatedrecordid=nil, isfromself=nil, fromname=nil, fromavatar=nil, timestamp=nil, hasread=nil, score=nil, canrating=nil, canfeedback=nil, type=nil, references=nil, reasons=nil, isllmgenerated=nil, imageurls=nil, tokenstat=nil, replymethod=nil, optioncards=nil, taskflow=nil)
|
4799
4814
|
@Content = content
|
4815
|
+
@SessionId = sessionid
|
4800
4816
|
@RecordId = recordid
|
4801
4817
|
@RelatedRecordId = relatedrecordid
|
4802
4818
|
@IsFromSelf = isfromself
|
@@ -4806,16 +4822,21 @@ module TencentCloud
|
|
4806
4822
|
@HasRead = hasread
|
4807
4823
|
@Score = score
|
4808
4824
|
@CanRating = canrating
|
4825
|
+
@CanFeedback = canfeedback
|
4809
4826
|
@Type = type
|
4810
4827
|
@References = references
|
4811
4828
|
@Reasons = reasons
|
4812
4829
|
@IsLlmGenerated = isllmgenerated
|
4813
4830
|
@ImageUrls = imageurls
|
4814
4831
|
@TokenStat = tokenstat
|
4832
|
+
@ReplyMethod = replymethod
|
4833
|
+
@OptionCards = optioncards
|
4834
|
+
@TaskFlow = taskflow
|
4815
4835
|
end
|
4816
4836
|
|
4817
4837
|
def deserialize(params)
|
4818
4838
|
@Content = params['Content']
|
4839
|
+
@SessionId = params['SessionId']
|
4819
4840
|
@RecordId = params['RecordId']
|
4820
4841
|
@RelatedRecordId = params['RelatedRecordId']
|
4821
4842
|
@IsFromSelf = params['IsFromSelf']
|
@@ -4825,6 +4846,7 @@ module TencentCloud
|
|
4825
4846
|
@HasRead = params['HasRead']
|
4826
4847
|
@Score = params['Score']
|
4827
4848
|
@CanRating = params['CanRating']
|
4849
|
+
@CanFeedback = params['CanFeedback']
|
4828
4850
|
@Type = params['Type']
|
4829
4851
|
unless params['References'].nil?
|
4830
4852
|
@References = []
|
@@ -4841,6 +4863,12 @@ module TencentCloud
|
|
4841
4863
|
@TokenStat = TokenStat.new
|
4842
4864
|
@TokenStat.deserialize(params['TokenStat'])
|
4843
4865
|
end
|
4866
|
+
@ReplyMethod = params['ReplyMethod']
|
4867
|
+
@OptionCards = params['OptionCards']
|
4868
|
+
unless params['TaskFlow'].nil?
|
4869
|
+
@TaskFlow = TaskFlowInfo.new
|
4870
|
+
@TaskFlow.deserialize(params['TaskFlow'])
|
4871
|
+
end
|
4844
4872
|
end
|
4845
4873
|
end
|
4846
4874
|
|
@@ -5962,6 +5990,47 @@ module TencentCloud
|
|
5962
5990
|
end
|
5963
5991
|
end
|
5964
5992
|
|
5993
|
+
# 任务流程信息
|
5994
|
+
class TaskFlowInfo < TencentCloud::Common::AbstractModel
|
5995
|
+
# @param TaskFlowId: 任务流程ID
|
5996
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5997
|
+
# @type TaskFlowId: String
|
5998
|
+
# @param TaskFlowName: 任务流程名称
|
5999
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6000
|
+
# @type TaskFlowName: String
|
6001
|
+
# @param QueryRewrite: Query 重写结果
|
6002
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6003
|
+
# @type QueryRewrite: String
|
6004
|
+
# @param HitIntent: 命中意图
|
6005
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6006
|
+
# @type HitIntent: String
|
6007
|
+
# @param Type: 任务流程回复类型
|
6008
|
+
# 0: 任务流回复
|
6009
|
+
# 1: 任务流静默
|
6010
|
+
# 2: 任务流拉回话术
|
6011
|
+
# 3: 任务流自定义回复
|
6012
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6013
|
+
# @type Type: Integer
|
6014
|
+
|
6015
|
+
attr_accessor :TaskFlowId, :TaskFlowName, :QueryRewrite, :HitIntent, :Type
|
6016
|
+
|
6017
|
+
def initialize(taskflowid=nil, taskflowname=nil, queryrewrite=nil, hitintent=nil, type=nil)
|
6018
|
+
@TaskFlowId = taskflowid
|
6019
|
+
@TaskFlowName = taskflowname
|
6020
|
+
@QueryRewrite = queryrewrite
|
6021
|
+
@HitIntent = hitintent
|
6022
|
+
@Type = type
|
6023
|
+
end
|
6024
|
+
|
6025
|
+
def deserialize(params)
|
6026
|
+
@TaskFlowId = params['TaskFlowId']
|
6027
|
+
@TaskFlowName = params['TaskFlowName']
|
6028
|
+
@QueryRewrite = params['QueryRewrite']
|
6029
|
+
@HitIntent = params['HitIntent']
|
6030
|
+
@Type = params['Type']
|
6031
|
+
end
|
6032
|
+
end
|
6033
|
+
|
5965
6034
|
# 任务参数
|
5966
6035
|
class TaskParams < TencentCloud::Common::AbstractModel
|
5967
6036
|
# @param CosPath: 下载地址,需要通过cos桶临时密钥去下载
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.820
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-lke.rb
|
37
36
|
- lib/v20231130/client.rb
|
38
37
|
- lib/v20231130/models.rb
|
38
|
+
- lib/tencentcloud-sdk-lke.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|