Skip to contents

set_model sets the model to be used by a workflow object.

Usage

set_model(workflow_obj, model_name)

Arguments

workflow_obj

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

model_name

the name of the model to use in the workflow

Details

A simple function to set the model to be used. Note that this model needs to be available at the instance you connect to.

Examples

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