Class: TencentCloud::Lke::V20231130::ProcedureDebugging

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20231130/models.rb

Overview

调试信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content = nil, system = nil, histories = nil, knowledge = nil, taskflow = nil, workflow = nil, agent = nil, customvariables = nil) ⇒ ProcedureDebugging

Returns a new instance of ProcedureDebugging.



10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
# File 'lib/v20231130/models.rb', line 10438

def initialize(content=nil, system=nil, histories=nil, knowledge=nil, taskflow=nil, workflow=nil, agent=nil, customvariables=nil)
  @Content = content
  @System = system
  @Histories = histories
  @Knowledge = knowledge
  @TaskFlow = taskflow
  @WorkFlow = workflow
  @Agent = agent
  @CustomVariables = customvariables
end

Instance Attribute Details

#AgentObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content:

    检索query

  • System:

    系统prompt

  • Histories:

    多轮历史信息

  • Knowledge:

    检索知识

  • TaskFlow:

    任务流程

  • WorkFlow:

    工作流调试信息

  • Agent:

    Agent调试信息

  • CustomVariables:

    自定义参数



10436
10437
10438
# File 'lib/v20231130/models.rb', line 10436

def Agent
  @Agent
end

#ContentObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content:

    检索query

  • System:

    系统prompt

  • Histories:

    多轮历史信息

  • Knowledge:

    检索知识

  • TaskFlow:

    任务流程

  • WorkFlow:

    工作流调试信息

  • Agent:

    Agent调试信息

  • CustomVariables:

    自定义参数



10436
10437
10438
# File 'lib/v20231130/models.rb', line 10436

def Content
  @Content
end

#CustomVariablesObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content:

    检索query

  • System:

    系统prompt

  • Histories:

    多轮历史信息

  • Knowledge:

    检索知识

  • TaskFlow:

    任务流程

  • WorkFlow:

    工作流调试信息

  • Agent:

    Agent调试信息

  • CustomVariables:

    自定义参数



10436
10437
10438
# File 'lib/v20231130/models.rb', line 10436

def CustomVariables
  @CustomVariables
end

#HistoriesObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content:

    检索query

  • System:

    系统prompt

  • Histories:

    多轮历史信息

  • Knowledge:

    检索知识

  • TaskFlow:

    任务流程

  • WorkFlow:

    工作流调试信息

  • Agent:

    Agent调试信息

  • CustomVariables:

    自定义参数



10436
10437
10438
# File 'lib/v20231130/models.rb', line 10436

def Histories
  @Histories
end

#KnowledgeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content:

    检索query

  • System:

    系统prompt

  • Histories:

    多轮历史信息

  • Knowledge:

    检索知识

  • TaskFlow:

    任务流程

  • WorkFlow:

    工作流调试信息

  • Agent:

    Agent调试信息

  • CustomVariables:

    自定义参数



10436
10437
10438
# File 'lib/v20231130/models.rb', line 10436

def Knowledge
  @Knowledge
end

#SystemObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content:

    检索query

  • System:

    系统prompt

  • Histories:

    多轮历史信息

  • Knowledge:

    检索知识

  • TaskFlow:

    任务流程

  • WorkFlow:

    工作流调试信息

  • Agent:

    Agent调试信息

  • CustomVariables:

    自定义参数



10436
10437
10438
# File 'lib/v20231130/models.rb', line 10436

def System
  @System
end

#TaskFlowObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content:

    检索query

  • System:

    系统prompt

  • Histories:

    多轮历史信息

  • Knowledge:

    检索知识

  • TaskFlow:

    任务流程

  • WorkFlow:

    工作流调试信息

  • Agent:

    Agent调试信息

  • CustomVariables:

    自定义参数



10436
10437
10438
# File 'lib/v20231130/models.rb', line 10436

def TaskFlow
  @TaskFlow
end

#WorkFlowObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Content:

    检索query

  • System:

    系统prompt

  • Histories:

    多轮历史信息

  • Knowledge:

    检索知识

  • TaskFlow:

    任务流程

  • WorkFlow:

    工作流调试信息

  • Agent:

    Agent调试信息

  • CustomVariables:

    自定义参数



10436
10437
10438
# File 'lib/v20231130/models.rb', line 10436

def WorkFlow
  @WorkFlow
end

Instance Method Details

#deserialize(params) ⇒ Object



10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
# File 'lib/v20231130/models.rb', line 10449

def deserialize(params)
  @Content = params['Content']
  @System = params['System']
  unless params['Histories'].nil?
    @Histories = []
    params['Histories'].each do |i|
      historysummary_tmp = HistorySummary.new
      historysummary_tmp.deserialize(i)
      @Histories << historysummary_tmp
    end
  end
  unless params['Knowledge'].nil?
    @Knowledge = []
    params['Knowledge'].each do |i|
      knowledgesummary_tmp = KnowledgeSummary.new
      knowledgesummary_tmp.deserialize(i)
      @Knowledge << knowledgesummary_tmp
    end
  end
  unless params['TaskFlow'].nil?
    @TaskFlow = TaskFlowSummary.new
    @TaskFlow.deserialize(params['TaskFlow'])
  end
  unless params['WorkFlow'].nil?
    @WorkFlow = WorkFlowSummary.new
    @WorkFlow.deserialize(params['WorkFlow'])
  end
  unless params['Agent'].nil?
    @Agent = AgentDebugInfo.new
    @Agent.deserialize(params['Agent'])
  end
  @CustomVariables = params['CustomVariables']
end