Class WorkflowExample

java.lang.Object
com.bytedesk.core.workflow.WorkflowExample

public class WorkflowExample extends Object
工作流使用示例
  • Constructor Details

    • WorkflowExample

      public WorkflowExample()
  • Method Details

    • createExampleWorkflow

      public static WorkflowSchema createExampleWorkflow()
      创建示例工作流文档
    • createOutputs

      private static Map<String,Object> createOutputs(String propertyName, String type, String defaultValue)
      创建输出配置
    • createConditionInputsValues

      private static Map<String,Object> createConditionInputsValues()
      创建条件节点输入值
    • createConditionInputs

      private static Map<String,Object> createConditionInputs()
      创建条件节点输入配置
    • createLLMInputsValues

      private static Map<String,Object> createLLMInputsValues()
      创建LLM节点输入值
    • createLLMInputs

      private static Map<String,Object> createLLMInputs()
      创建LLM节点输入配置
    • createLoopInputsValues

      private static Map<String,Object> createLoopInputsValues()
      创建循环节点输入值
    • createLoopInputs

      private static Map<String,Object> createLoopInputs()
      创建循环节点输入配置
    • main

      public static void main(String[] args)
      主方法示例