PromptQueryStep constructor

PromptQueryStep({
  1. required String prompt,
  2. PromptOutput? promptOutput,
  3. CodeOutput? codeOutput,
})

Implementation

PromptQueryStep({required this.prompt, this.promptOutput, this.codeOutput})
    : assert(!(promptOutput == null && codeOutput == null),
          'Both Prompt and Code Outputs cannot be null');