Skip to contents

execute_workflow executes an AI workflow by combining prompt vectors and a workflow object.

Usage

execute_workflow(prompts_vector, images_vector = NA, workflow_obj)

Arguments

prompts_vector

A vector containing the prompts to be executed by the AI workflow

images_vector

An optional vector containing the images to be sent as reference to the AI workflow (Defaults to NA). It needs to have the same length as prompts_vector.

workflow_obj

A workflow object containing all parameters describing the flow required

Details

This function executes an AI workflow by combining prompt vectors, a potential images vector, and a workflow object.