Skip to main content

vai workflow init

Create a new workflow JSON file with a starter template.

Synopsis​

vai workflow init [options]

Description​

vai workflow init scaffolds a new workflow definition file with example steps and structure. Use it as a starting point for building custom multi-step RAG pipelines.

Options​

FlagDescriptionDefault
-o, --output <path>Output file pathworkflow.json
--jsonOutput to stdout instead of file—

Examples​

Create a workflow file​

vai workflow init

Create with a custom name​

vai workflow init -o my-pipeline.json