Skip to contents

set_processing_skill sets the processing skill to give to the workflow.

Usage

set_processing_skill(workflow_obj, processing_skill, ...)

Arguments

workflow_obj

an ai_workflow object created by ai_workflow() in the first place.

processing_skill

string - the processing skill you want to give to the workflow.

...

additional parameters that will be treated if they are supported by the processing skill

Value

the workflow object with the appropriate processing skill applied on the prompt vector(s)

Details

This sets the processing skill that you want to give the workflow. You can list up the processing skills available by default with list_processing_skills().

Examples

my_workflow <- ai_workflow() |> set_model(model_name="llama3:8b-instruct-q5_0") |> 
set_processing_skill("fix_copy")