Skip to main content

run

AsyncFunction
This function is defined in the run module.
Run a workflow from a YAML file

Signature

Parameters

String
required
No description available.
bool
required
No description available.

Returns

Result<()>
The result of the operation.

Uses

  • exists
  • read_to_string
  • with_context
  • from_str
  • as_deref
  • unwrap_or
  • unwrap_or_else
  • name
  • instructions
  • model

Source

View on GitHub

praisonai-cli/src/commands/run.rs at line 65