Skip to contents

create_custom_processing_skill creates a text file with a processing skill template.

Usage

create_custom_processing_skill(
  filepath,
  system_prompt = NA,
  chat_prompt = NA,
  final_guidance = NA
)

Arguments

filepath

the file path where you'd like to save the processing skill. It needs to be a ".txt" file.

system_prompt

the system prompt to give to the processing skill. Optional. Defaults to NA. You are advised to put few shots examples in there.

chat_prompt

the chat prompt to give to the processing skill. Optional. Defaults to NA.

final_guidance

the final recommendations you want to give to the processing skill at the end. Optional. Defaults to NA.

Details

This function creates a processing skill text file based on a template. If you use the arguments for system_prompt, chat_prompt and final_guidance, they all need to be present at once. If not, it will default to the standard template.

Examples

create_custom_processing_skill("write_poem.txt")
#> → The file at write_poem.txt has been filled with a processing skill template. 
#> → You can now customize it, and load it once you are done with the set_custom_processing_skill() function.