Skip to contents

Check that a workflow has all required components configured correctly. Useful for validating pipelines before running expensive LLM operations.

Usage

validate_workflow(module, data = NULL, board = NULL)

Arguments

module

A DSPrrr module to validate

data

Optional data to validate against the module's signature

board

Optional pins board to check for accessibility

Value

A list with validation results (invisibly). Prints a summary.

Examples

if (FALSE) { # \dontrun{
mod <- signature("text -> sentiment") |> module(type = "predict")
validate_workflow(mod, data = test_data)
} # }