Set the system prompt to be used by the model.
set_system_prompt.Rd
set_system_prompt
sets the system prompt to be used by the model.
Details
This sets the system prompt of the model in the workflow. This is where you can give additional guidance or a personality to change the way your model will answer prompts.
Examples
my_workflow <- ai_workflow() |>
set_system_prompt(system_prompt="You are a helpful AI assistant.
Answer to the best of your knowledge")
my_workflow <- ai_workflow() |>
set_system_prompt(system_prompt="You are a helpful AI assistant
and an expert in financial analysis.")