Skip to contents

Internal function to append a prompt wrap to a prompt object

Usage

prompt_wrap_internal(
  prompt,
  modify_fn = NULL,
  extraction_fn = NULL,
  validation_fn = NULL,
  max_retries = 10,
  type = c("unspecified", "mode", "tool")
)

Arguments

prompt

See prompt_wrap

modify_fn

See prompt_wrap

extraction_fn

See prompt_wrap

validation_fn

See prompt_wrap

max_retries

See prompt_wrap

type

See prompt_wrap

Value

A prompt object with the new prompt wrap appended to it.