Push data to a workflow in Sieve.

Usage

sieve push [OPTIONS] WORKFLOW_NAME INPUTS

Options

  • --help Show this message and exit.

Arguments

  • WORKFLOW_NAME Name of workflow to push data to.
  • INPUTS JSON string representing the inputs to the workflow.

Example

A workflow named sample_workflow that takes in a sieve.Video named video and a sieve.Image named image would be triggered with the following command:

sieve push sample_workflow '{"video": {"url": "{SOME_VIDEO_URL}"}, "image": {"url": "{SOME_IMAGE_URL}"}}'

A workflow named sample_workflow that takes in a str named prompt would be triggered with the following command:

sieve push sample_workflow '{"prompt": "some string"}'