process_sequential: Process batch of prompts with progress tracking and retries

View source: R/hellmer-core.R

process_sequentialR Documentation

Process batch of prompts with progress tracking and retries

Description

Process batch of prompts with progress tracking and retries

Usage

process_sequential(
  chat_obj,
  prompts,
  type_spec,
  judgements,
  state_path,
  progress,
  max_retries,
  initial_delay,
  max_delay,
  backoff_factor,
  beep,
  echo,
  ...
)

Arguments

chat_obj

Chat model object

prompts

List of prompts

type_spec

Type specification for structured data

judgements

Number of judgements for structured data extraction resulting in refined data

state_path

Path for saving state

progress

Whether to show progress bars

max_retries

Maximum retry attempts

initial_delay

Initial delay before retry

max_delay

Maximum delay between retries

backoff_factor

Factor to multiply delay

beep

Play sound on completion

Value

Batch results object


hellmer documentation built on June 8, 2025, 11:09 a.m.