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.



10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
# File 'lib/v20231130/models.rb', line 10535

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:

    自定义参数



10533
10534
10535
# File 'lib/v20231130/models.rb', line 10533

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:

    自定义参数



10533
10534
10535
# File 'lib/v20231130/models.rb', line 10533

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:

    自定义参数



10533
10534
10535
# File 'lib/v20231130/models.rb', line 10533

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:

    自定义参数



10533
10534
10535
# File 'lib/v20231130/models.rb', line 10533

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:

    自定义参数



10533
10534
10535
# File 'lib/v20231130/models.rb', line 10533

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:

    自定义参数



10533
10534
10535
# File 'lib/v20231130/models.rb', line 10533

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:

    自定义参数



10533
10534
10535
# File 'lib/v20231130/models.rb', line 10533

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:

    自定义参数



10533
10534
10535
# File 'lib/v20231130/models.rb', line 10533

def WorkFlow
  @WorkFlow
end

Instance Method Details

#deserialize(params) ⇒ Object



10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
# File 'lib/v20231130/models.rb', line 10546

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