tencentcloud-sdk-hai 3.0.976 → 3.0.978

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: 872a459dbefd370334930def11662fa68c160daa
4
- data.tar.gz: 60d6b77aee91c7e4216b05cdd4cbc850cfcb3870
3
+ metadata.gz: 69c509a04eb8ba2d8065b456dc6ccad0554073a6
4
+ data.tar.gz: 2fdba96f63f0319ade5a82ba28fb2c505d38a7f4
5
5
  SHA512:
6
- metadata.gz: 2ebb7f43c213a4d87af6e538ff6984ca5cd313adc7c06ae561d47b279407ea45e8680c2681c93c54d86eea6a7e54b38cc41c42f6dcc60604ad867b3ba8dd8d93
7
- data.tar.gz: ceb70d49213fabf757067c5a665d8aa3f2b24f14d2f0f71bdb1a35d362317507921d1ae3595c26eb8e96293445f5588e39f5fea5a0962f8061e52bcb9d234408
6
+ metadata.gz: e977529d3cf953d7713363d454c5f73e2c23f3634306d81eaae9bcea5a8c6caf31203c1bb0db90bd9fbf164ba94ce20dd3bc6258a9a0d80e0b61cd723b6a00da
7
+ data.tar.gz: 0cb7e519993d6aed315ded6169637a0871f679160dddda3c96eb1811daf07c59984cf775f51486a0097a1c2b787a21e5e262cef49ab25b0c3d94e6a2e1b495b2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.976
1
+ 3.0.978
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 创建musk prompt 任务
33
+
34
+ # @param request: Request instance for CreateMuskPrompt.
35
+ # @type request: :class:`Tencentcloud::hai::V20230812::CreateMuskPromptRequest`
36
+ # @rtype: :class:`Tencentcloud::hai::V20230812::CreateMuskPromptResponse`
37
+ def CreateMuskPrompt(request)
38
+ body = send_request('CreateMuskPrompt', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = CreateMuskPromptResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 查询应用
33
57
 
34
58
  # @param request: Request instance for DescribeApplications.
@@ -77,6 +77,50 @@ module TencentCloud
77
77
  end
78
78
  end
79
79
 
80
+ # CreateMuskPrompt请求参数结构体
81
+ class CreateMuskPromptRequest < TencentCloud::Common::AbstractModel
82
+ # @param WorkgroupId: workgroup id
83
+ # @type WorkgroupId: String
84
+ # @param WorkflowId: workflow id
85
+ # @type WorkflowId: String
86
+ # @param PromptParams: prompt 参数
87
+ # @type PromptParams: String
88
+
89
+ attr_accessor :WorkgroupId, :WorkflowId, :PromptParams
90
+
91
+ def initialize(workgroupid=nil, workflowid=nil, promptparams=nil)
92
+ @WorkgroupId = workgroupid
93
+ @WorkflowId = workflowid
94
+ @PromptParams = promptparams
95
+ end
96
+
97
+ def deserialize(params)
98
+ @WorkgroupId = params['WorkgroupId']
99
+ @WorkflowId = params['WorkflowId']
100
+ @PromptParams = params['PromptParams']
101
+ end
102
+ end
103
+
104
+ # CreateMuskPrompt返回参数结构体
105
+ class CreateMuskPromptResponse < TencentCloud::Common::AbstractModel
106
+ # @param PromptId: prompt id
107
+ # @type PromptId: String
108
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
109
+ # @type RequestId: String
110
+
111
+ attr_accessor :PromptId, :RequestId
112
+
113
+ def initialize(promptid=nil, requestid=nil)
114
+ @PromptId = promptid
115
+ @RequestId = requestid
116
+ end
117
+
118
+ def deserialize(params)
119
+ @PromptId = params['PromptId']
120
+ @RequestId = params['RequestId']
121
+ end
122
+ end
123
+
80
124
  # DescribeApplications请求参数结构体
81
125
  class DescribeApplicationsRequest < TencentCloud::Common::AbstractModel
82
126
  # @param ApplicationIds: 应用id列表
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-hai
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.976
4
+ version: 3.0.978
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-01-06 00:00:00.000000000 Z
11
+ date: 2025-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common