Skip to contents

set_style_of_voice lets you define a specific style of voice that you want the LLM to use when answering

Usage

set_style_of_voice(workflow_obj, style_of_voice)

Arguments

workflow_obj

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

style_of_voice

a text description of the person of the style of person you want the LLM to imitate.

Value

a workflow object with the new added style_of_voice parameter

Details

This lets you define a specific style of voice that you want the LLM to use when answering

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("Marketing Professionals") |>
set_style_of_voice("Snoop Dog")