Define a specific audience you want the model to prepare an answer for
set_audience.Rd
set_audience
lets you define for which audience the model should answer. This will tweak its answers accordingly to match their expectations.
Examples
my_workflow <- ai_workflow() |>
set_system_prompt(system_prompt="You are a helpful AI assistant.
Answer to the best of your knowledge") |>
set_audience(audience="Marketing Professionals")
my_workflow <- ai_workflow() |>
set_system_prompt(system_prompt="You are a helpful AI assistant.
Answer to the best of your knowledge") |>
set_audience(audience="5 years old kids")