tencentcloud-sdk-dataagent 3.0.1167 → 3.0.1174

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: 55de9e74ea7b33c04f82e0ba086cf5af9b721015
4
- data.tar.gz: abecdd5815bb18236a9c0906e24016feb96c77b3
3
+ metadata.gz: 932c70e7f66ca60c6a7e68d2f7a9be33bb92de07
4
+ data.tar.gz: 485a0ef9030ce947c29e306dfc342c8116145c77
5
5
  SHA512:
6
- metadata.gz: 757cf88d9e50b579870325ece28f8872c88c006c9c276bf7d4d6812145645f78e6c483dbae66375d8ff0c848bb03f0983f53ef69fe6f1e1b7abc903a775d3d7f
7
- data.tar.gz: b6b404d2a66cbd9a6f25d3f3e7a12b017baebc3fbf77dd7473c0378502efb690edfc816a07651e3f920cda14a90c9a5a647c24bb51afd5fa264414d37a13d2f2
6
+ metadata.gz: 810b21a02b946ecba404431bdb322ecc1daed362e992c6d25c799cd2dbb23228121e01bc7521531592bb642198976f3f4e4f42a635253292db3f3ff6917b3fc0
7
+ data.tar.gz: ce84675027d62b22fa6031f33344e2e98138b069e3dd22d28683f0386944e977fb4c9c34f0f6ef2e1ab8956612d868fac945adafab57802803715d4861610082
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1167
1
+ 3.0.1174
@@ -245,7 +245,7 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
- # 分配查询
248
+ # 文档切片查询
249
249
 
250
250
  # @param request: Request instance for QueryChunkList.
251
251
  # @type request: :class:`Tencentcloud::dataagent::V20250513::QueryChunkListRequest`
@@ -29,7 +29,7 @@ module TencentCloud
29
29
  # @type InsertPos: Integer
30
30
  # @param Content: chunk内容
31
31
  # @type Content: String
32
- # @param AfterChunkId: 新 Chunk 插入到目标 Chunk ​之后的位置。插入位置的上一个 chunkId
32
+ # @param AfterChunkId: 新 Chunk 插入到目标 Chunk ​之后的位置。插入位置的上一个 chunkId
33
33
  # @type AfterChunkId: String
34
34
 
35
35
  attr_accessor :InstanceId, :FileId, :BeforeChunkId, :InsertPos, :Content, :AfterChunkId
@@ -55,7 +55,7 @@ module TencentCloud
55
55
 
56
56
  # AddChunk返回参数结构体
57
57
  class AddChunkResponse < TencentCloud::Common::AbstractModel
58
- # @param ChunkId: 新增的chunkid
58
+ # @param ChunkId: 新增的ChunkId
59
59
  # @type ChunkId: String
60
60
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
61
61
  # @type RequestId: String
@@ -141,29 +141,66 @@ module TencentCloud
141
141
  end
142
142
  end
143
143
 
144
+ # 文件分片
145
+ class Chunk < TencentCloud::Common::AbstractModel
146
+ # @param Id: 切片ID
147
+ # @type Id: String
148
+ # @param Content: 切片内容
149
+ # @type Content: String
150
+ # @param Size: 切片的字数
151
+ # @type Size: Integer
152
+ # @param Summary: 切片概要
153
+ # @type Summary: String
154
+
155
+ attr_accessor :Id, :Content, :Size, :Summary
156
+
157
+ def initialize(id=nil, content=nil, size=nil, summary=nil)
158
+ @Id = id
159
+ @Content = content
160
+ @Size = size
161
+ @Summary = summary
162
+ end
163
+
164
+ def deserialize(params)
165
+ @Id = params['Id']
166
+ @Content = params['Content']
167
+ @Size = params['Size']
168
+ @Summary = params['Summary']
169
+ end
170
+ end
171
+
144
172
  # CreateDataAgentSession请求参数结构体
145
173
  class CreateDataAgentSessionRequest < TencentCloud::Common::AbstractModel
174
+ # @param InstanceId: 实例ID
175
+ # @type InstanceId: String
146
176
 
177
+ attr_accessor :InstanceId
147
178
 
148
- def initialize()
179
+ def initialize(instanceid=nil)
180
+ @InstanceId = instanceid
149
181
  end
150
182
 
151
183
  def deserialize(params)
184
+ @InstanceId = params['InstanceId']
152
185
  end
153
186
  end
154
187
 
155
188
  # CreateDataAgentSession返回参数结构体
156
189
  class CreateDataAgentSessionResponse < TencentCloud::Common::AbstractModel
190
+ # @param SessionId: 会话
191
+ # @type SessionId: String
157
192
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
158
193
  # @type RequestId: String
159
194
 
160
- attr_accessor :RequestId
195
+ attr_accessor :SessionId, :RequestId
161
196
 
162
- def initialize(requestid=nil)
197
+ def initialize(sessionid=nil, requestid=nil)
198
+ @SessionId = sessionid
163
199
  @RequestId = requestid
164
200
  end
165
201
 
166
202
  def deserialize(params)
203
+ @SessionId = params['SessionId']
167
204
  @RequestId = params['RequestId']
168
205
  end
169
206
  end
@@ -210,27 +247,40 @@ module TencentCloud
210
247
 
211
248
  # DeleteDataAgentSession请求参数结构体
212
249
  class DeleteDataAgentSessionRequest < TencentCloud::Common::AbstractModel
250
+ # @param InstanceId: 实例ID
251
+ # @type InstanceId: String
252
+ # @param SessionId: 会话ID
253
+ # @type SessionId: String
213
254
 
255
+ attr_accessor :InstanceId, :SessionId
214
256
 
215
- def initialize()
257
+ def initialize(instanceid=nil, sessionid=nil)
258
+ @InstanceId = instanceid
259
+ @SessionId = sessionid
216
260
  end
217
261
 
218
262
  def deserialize(params)
263
+ @InstanceId = params['InstanceId']
264
+ @SessionId = params['SessionId']
219
265
  end
220
266
  end
221
267
 
222
268
  # DeleteDataAgentSession返回参数结构体
223
269
  class DeleteDataAgentSessionResponse < TencentCloud::Common::AbstractModel
270
+ # @param SessionId: 删除的会话ID
271
+ # @type SessionId: String
224
272
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
225
273
  # @type RequestId: String
226
274
 
227
- attr_accessor :RequestId
275
+ attr_accessor :SessionId, :RequestId
228
276
 
229
- def initialize(requestid=nil)
277
+ def initialize(sessionid=nil, requestid=nil)
278
+ @SessionId = sessionid
230
279
  @RequestId = requestid
231
280
  end
232
281
 
233
282
  def deserialize(params)
283
+ @SessionId = params['SessionId']
234
284
  @RequestId = params['RequestId']
235
285
  end
236
286
  end
@@ -280,17 +330,28 @@ module TencentCloud
280
330
 
281
331
  # GetSessionDetails请求参数结构体
282
332
  class GetSessionDetailsRequest < TencentCloud::Common::AbstractModel
333
+ # @param InstanceId: 实例ID
334
+ # @type InstanceId: String
335
+ # @param SessionId: 会话ID
336
+ # @type SessionId: String
283
337
 
338
+ attr_accessor :InstanceId, :SessionId
284
339
 
285
- def initialize()
340
+ def initialize(instanceid=nil, sessionid=nil)
341
+ @InstanceId = instanceid
342
+ @SessionId = sessionid
286
343
  end
287
344
 
288
345
  def deserialize(params)
346
+ @InstanceId = params['InstanceId']
347
+ @SessionId = params['SessionId']
289
348
  end
290
349
  end
291
350
 
292
351
  # GetSessionDetails返回参数结构体
293
352
  class GetSessionDetailsResponse < TencentCloud::Common::AbstractModel
353
+ # @param RecordList: 会话记录详情
354
+ # @type RecordList: Array
294
355
  # @param RecordCount: 记录总数
295
356
  # @type RecordCount: Integer
296
357
  # @param RunRecord: 当前在运行的record信息
@@ -298,15 +359,24 @@ module TencentCloud
298
359
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
299
360
  # @type RequestId: String
300
361
 
301
- attr_accessor :RecordCount, :RunRecord, :RequestId
362
+ attr_accessor :RecordList, :RecordCount, :RunRecord, :RequestId
302
363
 
303
- def initialize(recordcount=nil, runrecord=nil, requestid=nil)
364
+ def initialize(recordlist=nil, recordcount=nil, runrecord=nil, requestid=nil)
365
+ @RecordList = recordlist
304
366
  @RecordCount = recordcount
305
367
  @RunRecord = runrecord
306
368
  @RequestId = requestid
307
369
  end
308
370
 
309
371
  def deserialize(params)
372
+ unless params['RecordList'].nil?
373
+ @RecordList = []
374
+ params['RecordList'].each do |i|
375
+ record_tmp = Record.new
376
+ record_tmp.deserialize(i)
377
+ @RecordList << record_tmp
378
+ end
379
+ end
310
380
  @RecordCount = params['RecordCount']
311
381
  @RunRecord = params['RunRecord']
312
382
  @RequestId = params['RequestId']
@@ -451,9 +521,9 @@ module TencentCloud
451
521
 
452
522
  # QueryChunkList请求参数结构体
453
523
  class QueryChunkListRequest < TencentCloud::Common::AbstractModel
454
- # @param Page: 默认 1 表示第一页
524
+ # @param Page: 表示第一页
455
525
  # @type Page: Integer
456
- # @param PageSize: 默认 10 一页展示 10 条
526
+ # @param PageSize: 默认一页展示 10 条
457
527
  # @type PageSize: Integer
458
528
 
459
529
  attr_accessor :Page, :PageSize
@@ -471,47 +541,256 @@ module TencentCloud
471
541
 
472
542
  # QueryChunkList返回参数结构体
473
543
  class QueryChunkListResponse < TencentCloud::Common::AbstractModel
544
+ # @param Total: 总数
545
+ # @type Total: Integer
546
+ # @param Chunks: 分片信息
547
+ # @type Chunks: Array
474
548
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
475
549
  # @type RequestId: String
476
550
 
477
- attr_accessor :RequestId
551
+ attr_accessor :Total, :Chunks, :RequestId
478
552
 
479
- def initialize(requestid=nil)
553
+ def initialize(total=nil, chunks=nil, requestid=nil)
554
+ @Total = total
555
+ @Chunks = chunks
480
556
  @RequestId = requestid
481
557
  end
482
558
 
483
559
  def deserialize(params)
560
+ @Total = params['Total']
561
+ unless params['Chunks'].nil?
562
+ @Chunks = []
563
+ params['Chunks'].each do |i|
564
+ chunk_tmp = Chunk.new
565
+ chunk_tmp.deserialize(i)
566
+ @Chunks << chunk_tmp
567
+ end
568
+ end
484
569
  @RequestId = params['RequestId']
485
570
  end
486
571
  end
487
572
 
573
+ # 问答结构
574
+ class Record < TencentCloud::Common::AbstractModel
575
+ # @param Question: 问题内容
576
+ # @type Question: String
577
+ # @param Answer: 回答内容
578
+ # @type Answer: String
579
+ # @param Think: 思考内容
580
+ # @type Think: String
581
+ # @param TaskList: 任务列表
582
+ # @type TaskList: Array
583
+ # @param CreateTime: 记录创建时间
584
+ # @type CreateTime: String
585
+ # @param UpdateTime: 记录更新时间
586
+ # @type UpdateTime: String
587
+ # @param RecordId: 记录id
588
+ # @type RecordId: String
589
+ # @param FinalSummary: 总结内容
590
+ # @type FinalSummary: String
591
+ # @param SessionId: 会话ID
592
+ # @type SessionId: String
593
+ # @param Feedback: 1=赞,2=踩,0=无反馈
594
+ # @type Feedback: Integer
595
+ # @param DbInfo: 数据库信息
596
+ # @type DbInfo: String
597
+ # @param ErrorContext: 错误信息
598
+ # @type ErrorContext: String
599
+ # @param TaskListStr: TaskList的string字符串
600
+ # @type TaskListStr: String
601
+ # @param KnowledgeBaseIds: 知识库id列表
602
+ # @type KnowledgeBaseIds: Array
603
+ # @param Context: 上下文
604
+ # @type Context: String
605
+
606
+ attr_accessor :Question, :Answer, :Think, :TaskList, :CreateTime, :UpdateTime, :RecordId, :FinalSummary, :SessionId, :Feedback, :DbInfo, :ErrorContext, :TaskListStr, :KnowledgeBaseIds, :Context
607
+
608
+ def initialize(question=nil, answer=nil, think=nil, tasklist=nil, createtime=nil, updatetime=nil, recordid=nil, finalsummary=nil, sessionid=nil, feedback=nil, dbinfo=nil, errorcontext=nil, taskliststr=nil, knowledgebaseids=nil, context=nil)
609
+ @Question = question
610
+ @Answer = answer
611
+ @Think = think
612
+ @TaskList = tasklist
613
+ @CreateTime = createtime
614
+ @UpdateTime = updatetime
615
+ @RecordId = recordid
616
+ @FinalSummary = finalsummary
617
+ @SessionId = sessionid
618
+ @Feedback = feedback
619
+ @DbInfo = dbinfo
620
+ @ErrorContext = errorcontext
621
+ @TaskListStr = taskliststr
622
+ @KnowledgeBaseIds = knowledgebaseids
623
+ @Context = context
624
+ end
625
+
626
+ def deserialize(params)
627
+ @Question = params['Question']
628
+ @Answer = params['Answer']
629
+ @Think = params['Think']
630
+ unless params['TaskList'].nil?
631
+ @TaskList = []
632
+ params['TaskList'].each do |i|
633
+ task_tmp = Task.new
634
+ task_tmp.deserialize(i)
635
+ @TaskList << task_tmp
636
+ end
637
+ end
638
+ @CreateTime = params['CreateTime']
639
+ @UpdateTime = params['UpdateTime']
640
+ @RecordId = params['RecordId']
641
+ @FinalSummary = params['FinalSummary']
642
+ @SessionId = params['SessionId']
643
+ @Feedback = params['Feedback']
644
+ @DbInfo = params['DbInfo']
645
+ @ErrorContext = params['ErrorContext']
646
+ @TaskListStr = params['TaskListStr']
647
+ @KnowledgeBaseIds = params['KnowledgeBaseIds']
648
+ @Context = params['Context']
649
+ end
650
+ end
651
+
652
+ # 步骤扩展结构
653
+ class StepExpand < TencentCloud::Common::AbstractModel
654
+ # @param Title: 标题
655
+ # @type Title: String
656
+ # @param Status: 状态
657
+ # @type Status: String
658
+ # @param CellIds: cellid数组
659
+ # @type CellIds: Array
660
+
661
+ attr_accessor :Title, :Status, :CellIds
662
+
663
+ def initialize(title=nil, status=nil, cellids=nil)
664
+ @Title = title
665
+ @Status = status
666
+ @CellIds = cellids
667
+ end
668
+
669
+ def deserialize(params)
670
+ @Title = params['Title']
671
+ @Status = params['Status']
672
+ @CellIds = params['CellIds']
673
+ end
674
+ end
675
+
676
+ # 任务步骤
677
+ class StepInfo < TencentCloud::Common::AbstractModel
678
+ # @param Id: 步骤id
679
+ # @type Id: Integer
680
+ # @param Name: 步骤名称
681
+ # @type Name: String
682
+ # @param Status: 步骤状态
683
+ # @type Status: String
684
+ # @param Type: 类型(text/expand)
685
+ # @type Type: String
686
+ # @param Summary: 总结
687
+ # @type Summary: String
688
+ # @param Expand: 步骤扩展结构
689
+ # @type Expand: :class:`Tencentcloud::Dataagent.v20250513.models.StepExpand`
690
+ # @param Desc: 描述
691
+ # @type Desc: String
692
+
693
+ attr_accessor :Id, :Name, :Status, :Type, :Summary, :Expand, :Desc
694
+
695
+ def initialize(id=nil, name=nil, status=nil, type=nil, summary=nil, expand=nil, desc=nil)
696
+ @Id = id
697
+ @Name = name
698
+ @Status = status
699
+ @Type = type
700
+ @Summary = summary
701
+ @Expand = expand
702
+ @Desc = desc
703
+ end
704
+
705
+ def deserialize(params)
706
+ @Id = params['Id']
707
+ @Name = params['Name']
708
+ @Status = params['Status']
709
+ @Type = params['Type']
710
+ @Summary = params['Summary']
711
+ unless params['Expand'].nil?
712
+ @Expand = StepExpand.new
713
+ @Expand.deserialize(params['Expand'])
714
+ end
715
+ @Desc = params['Desc']
716
+ end
717
+ end
718
+
488
719
  # StopChatAI请求参数结构体
489
720
  class StopChatAIRequest < TencentCloud::Common::AbstractModel
721
+ # @param SessionId: 会话ID
722
+ # @type SessionId: String
723
+ # @param InstanceId: 实例ID
724
+ # @type InstanceId: String
490
725
 
726
+ attr_accessor :SessionId, :InstanceId
491
727
 
492
- def initialize()
728
+ def initialize(sessionid=nil, instanceid=nil)
729
+ @SessionId = sessionid
730
+ @InstanceId = instanceid
493
731
  end
494
732
 
495
733
  def deserialize(params)
734
+ @SessionId = params['SessionId']
735
+ @InstanceId = params['InstanceId']
496
736
  end
497
737
  end
498
738
 
499
739
  # StopChatAI返回参数结构体
500
740
  class StopChatAIResponse < TencentCloud::Common::AbstractModel
741
+ # @param SessionId: 会话
742
+ # @type SessionId: String
501
743
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
502
744
  # @type RequestId: String
503
745
 
504
- attr_accessor :RequestId
746
+ attr_accessor :SessionId, :RequestId
505
747
 
506
- def initialize(requestid=nil)
748
+ def initialize(sessionid=nil, requestid=nil)
749
+ @SessionId = sessionid
507
750
  @RequestId = requestid
508
751
  end
509
752
 
510
753
  def deserialize(params)
754
+ @SessionId = params['SessionId']
511
755
  @RequestId = params['RequestId']
512
756
  end
513
757
  end
514
758
 
759
+ # 任务信息
760
+ class Task < TencentCloud::Common::AbstractModel
761
+ # @param Id: 任务ID
762
+ # @type Id: Integer
763
+ # @param Name: 任务名称
764
+ # @type Name: String
765
+ # @param Status: 任务状态
766
+ # @type Status: String
767
+ # @param StepInfoList: 任务步骤列表
768
+ # @type StepInfoList: Array
769
+
770
+ attr_accessor :Id, :Name, :Status, :StepInfoList
771
+
772
+ def initialize(id=nil, name=nil, status=nil, stepinfolist=nil)
773
+ @Id = id
774
+ @Name = name
775
+ @Status = status
776
+ @StepInfoList = stepinfolist
777
+ end
778
+
779
+ def deserialize(params)
780
+ @Id = params['Id']
781
+ @Name = params['Name']
782
+ @Status = params['Status']
783
+ unless params['StepInfoList'].nil?
784
+ @StepInfoList = []
785
+ params['StepInfoList'].each do |i|
786
+ stepinfo_tmp = StepInfo.new
787
+ stepinfo_tmp.deserialize(i)
788
+ @StepInfoList << stepinfo_tmp
789
+ end
790
+ end
791
+ end
792
+ end
793
+
515
794
  end
516
795
  end
517
796
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dataagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1167
4
+ version: 3.0.1174
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-13 00:00:00.000000000 Z
11
+ date: 2025-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20250513/client.rb
37
36
  - lib/v20250513/models.rb
37
+ - lib/v20250513/client.rb
38
38
  - lib/tencentcloud-sdk-dataagent.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby