tencentcloud-sdk-dataagent 3.0.1167 → 3.0.1169

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