Skip to contents

apply_processing_skill applies a processing skill (i.e. a pre-engineered prompt)

Usage

apply_processing_skill(
  prompts_vector,
  processing_skill = NA,
  processing_skill_args = list()
)

Arguments

prompts_vector

a vector containing existing prompts or text on which the skill will be applied.

processing_skill

character vector containing the filepath to the processing skill text template of the skill to be applied.

processing_skill_args

a list of additional parameters to feed to a processing skill, if it accepts them.

Value

A new vector containing the modified prompts after applying the processing skill template.

Details

A simple function to apply a pre-defined prompt format (i.e. a processing skill) to the current workflow. You can find out about the existing processing skills by using the list_processing_skills() function. This function is not usually made to be used on its own, but through the set_processing_skill() function