Skip to contents

Process a lot of prompts with a sequential chat

Usage

process.sequential_chat(
  chat_env,
  prompts,
  type = NULL,
  file = tempfile("chat_", fileext = ".rds"),
  progress = TRUE,
  beep = TRUE,
  echo = FALSE,
  ...
)

Arguments

chat_env

The chat environment from chat_sequential

prompts

List of prompts to process

type

Type specification for structured data extraction

file

Path to save state file (.rds)

progress

Whether to show progress bars

beep

Whether to play a sound on completion

echo

Whether to display chat outputs (when progress is FALSE)

...

Additional arguments passed to the chat method

Value

A process object with the processed results