tencentcloud-sdk-trtc 3.0.1108 → 3.0.1115
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190722/models.rb +44 -19
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41641e4ea5026508abd16a9009d7c8d8873af3fb
|
4
|
+
data.tar.gz: be1261817c9cd80fc54b1ba976e88731a67b5cfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e65ff7abfcbae384d812ca3770ed94c39c9cbb31e526a2195c8d88b6af4b96b75485ef4d8a973067129bff91e7da248493f06fcd200c1ae1043c077fee1ce62
|
7
|
+
data.tar.gz: 5854270f9264ce57921a98bd2fe6fdd8e7ea174c7663820b516ef4f495dea8a7d581cbde13856acd1e4312ffee02b931e66dfe5fa41fc867ed5c6abf9e665dc0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1115
|
data/lib/v20190722/models.rb
CHANGED
@@ -531,19 +531,20 @@ module TencentCloud
|
|
531
531
|
class ControlAIConversationRequest < TencentCloud::Common::AbstractModel
|
532
532
|
# @param TaskId: 任务唯一标识
|
533
533
|
# @type TaskId: String
|
534
|
-
# @param Command:
|
535
|
-
|
536
|
-
# - ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本
|
534
|
+
# @param Command: 控制命令,目前支持命令如下:- ServerPushText,服务端发送文本给AI机器人,AI机器人会播报该文本. - InvokeLLM,服务端发送文本给大模型,触发对话
|
537
535
|
# @type Command: String
|
538
536
|
# @param ServerPushText: 服务端发送播报文本命令,当Command为ServerPushText时必填
|
539
537
|
# @type ServerPushText: :class:`Tencentcloud::Trtc.v20190722.models.ServerPushText`
|
538
|
+
# @param InvokeLLM: 服务端发送命令主动请求大模型,当Command为InvokeLLM时会把content请求到大模型,头部增加X-Invoke-LLM="1"
|
539
|
+
# @type InvokeLLM: :class:`Tencentcloud::Trtc.v20190722.models.InvokeLLM`
|
540
540
|
|
541
|
-
attr_accessor :TaskId, :Command, :ServerPushText
|
541
|
+
attr_accessor :TaskId, :Command, :ServerPushText, :InvokeLLM
|
542
542
|
|
543
|
-
def initialize(taskid=nil, command=nil, serverpushtext=nil)
|
543
|
+
def initialize(taskid=nil, command=nil, serverpushtext=nil, invokellm=nil)
|
544
544
|
@TaskId = taskid
|
545
545
|
@Command = command
|
546
546
|
@ServerPushText = serverpushtext
|
547
|
+
@InvokeLLM = invokellm
|
547
548
|
end
|
548
549
|
|
549
550
|
def deserialize(params)
|
@@ -553,6 +554,10 @@ module TencentCloud
|
|
553
554
|
@ServerPushText = ServerPushText.new
|
554
555
|
@ServerPushText.deserialize(params['ServerPushText'])
|
555
556
|
end
|
557
|
+
unless params['InvokeLLM'].nil?
|
558
|
+
@InvokeLLM = InvokeLLM.new
|
559
|
+
@InvokeLLM.deserialize(params['InvokeLLM'])
|
560
|
+
end
|
556
561
|
end
|
557
562
|
end
|
558
563
|
|
@@ -3109,6 +3114,26 @@ module TencentCloud
|
|
3109
3114
|
end
|
3110
3115
|
end
|
3111
3116
|
|
3117
|
+
# 调用服务端主动发起请求到LLM
|
3118
|
+
class InvokeLLM < TencentCloud::Common::AbstractModel
|
3119
|
+
# @param Content: 请求LLM的内容
|
3120
|
+
# @type Content: String
|
3121
|
+
# @param Interrupt: 是否允许该文本打断机器人说话
|
3122
|
+
# @type Interrupt: Boolean
|
3123
|
+
|
3124
|
+
attr_accessor :Content, :Interrupt
|
3125
|
+
|
3126
|
+
def initialize(content=nil, interrupt=nil)
|
3127
|
+
@Content = content
|
3128
|
+
@Interrupt = interrupt
|
3129
|
+
end
|
3130
|
+
|
3131
|
+
def deserialize(params)
|
3132
|
+
@Content = params['Content']
|
3133
|
+
@Interrupt = params['Interrupt']
|
3134
|
+
end
|
3135
|
+
end
|
3136
|
+
|
3112
3137
|
# MCU混流布局参数
|
3113
3138
|
class LayoutParams < TencentCloud::Common::AbstractModel
|
3114
3139
|
# @param Template: 混流布局模板ID,0为悬浮模板(默认);1为九宫格模板;2为屏幕分享模板;3为画中画模板;4为自定义模板。
|
@@ -4714,10 +4739,10 @@ module TencentCloud
|
|
4714
4739
|
|
4715
4740
|
attr_accessor :Language, :AlternativeLanguage, :Model, :TranslationLanguage, :HotWordList, :VadSilenceTime
|
4716
4741
|
extend Gem::Deprecate
|
4717
|
-
deprecate :Model, :none, 2025,
|
4718
|
-
deprecate :Model=, :none, 2025,
|
4719
|
-
deprecate :TranslationLanguage, :none, 2025,
|
4720
|
-
deprecate :TranslationLanguage=, :none, 2025,
|
4742
|
+
deprecate :Model, :none, 2025, 8
|
4743
|
+
deprecate :Model=, :none, 2025, 8
|
4744
|
+
deprecate :TranslationLanguage, :none, 2025, 8
|
4745
|
+
deprecate :TranslationLanguage=, :none, 2025, 8
|
4721
4746
|
|
4722
4747
|
def initialize(language=nil, alternativelanguage=nil, model=nil, translationlanguage=nil, hotwordlist=nil, vadsilencetime=nil)
|
4723
4748
|
@Language = language
|
@@ -5830,12 +5855,12 @@ module TencentCloud
|
|
5830
5855
|
|
5831
5856
|
attr_accessor :SdkAppId, :RoomId, :RoomIdType, :UserId, :UserSig, :StreamUrl, :PrivateMapKey, :VideoEncodeParams, :AudioEncodeParams, :SourceUrl, :SeekSecond, :AutoPush, :RepeatNum, :MaxDuration, :Volume
|
5832
5857
|
extend Gem::Deprecate
|
5833
|
-
deprecate :VideoEncodeParams, :none, 2025,
|
5834
|
-
deprecate :VideoEncodeParams=, :none, 2025,
|
5835
|
-
deprecate :AudioEncodeParams, :none, 2025,
|
5836
|
-
deprecate :AudioEncodeParams=, :none, 2025,
|
5837
|
-
deprecate :SourceUrl, :none, 2025,
|
5838
|
-
deprecate :SourceUrl=, :none, 2025,
|
5858
|
+
deprecate :VideoEncodeParams, :none, 2025, 8
|
5859
|
+
deprecate :VideoEncodeParams=, :none, 2025, 8
|
5860
|
+
deprecate :AudioEncodeParams, :none, 2025, 8
|
5861
|
+
deprecate :AudioEncodeParams=, :none, 2025, 8
|
5862
|
+
deprecate :SourceUrl, :none, 2025, 8
|
5863
|
+
deprecate :SourceUrl=, :none, 2025, 8
|
5839
5864
|
|
5840
5865
|
def initialize(sdkappid=nil, roomid=nil, roomidtype=nil, userid=nil, usersig=nil, streamurl=nil, privatemapkey=nil, videoencodeparams=nil, audioencodeparams=nil, sourceurl=nil, seeksecond=nil, autopush=nil, repeatnum=nil, maxduration=nil, volume=nil)
|
5841
5866
|
@SdkAppId = sdkappid
|
@@ -6517,10 +6542,10 @@ module TencentCloud
|
|
6517
6542
|
|
6518
6543
|
attr_accessor :UserId, :UserSig, :IMAdminUserId, :IMAdminUserSig, :MaxIdleTime, :TranscriptionMode, :TargetUserId, :TargetUserIdList, :VoicePrint
|
6519
6544
|
extend Gem::Deprecate
|
6520
|
-
deprecate :IMAdminUserId, :none, 2025,
|
6521
|
-
deprecate :IMAdminUserId=, :none, 2025,
|
6522
|
-
deprecate :IMAdminUserSig, :none, 2025,
|
6523
|
-
deprecate :IMAdminUserSig=, :none, 2025,
|
6545
|
+
deprecate :IMAdminUserId, :none, 2025, 8
|
6546
|
+
deprecate :IMAdminUserId=, :none, 2025, 8
|
6547
|
+
deprecate :IMAdminUserSig, :none, 2025, 8
|
6548
|
+
deprecate :IMAdminUserSig=, :none, 2025, 8
|
6524
6549
|
|
6525
6550
|
def initialize(userid=nil, usersig=nil, imadminuserid=nil, imadminusersig=nil, maxidletime=nil, transcriptionmode=nil, targetuserid=nil, targetuseridlist=nil, voiceprint=nil)
|
6526
6551
|
@UserId = userid
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-trtc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1115
|
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-
|
11
|
+
date: 2025-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|