process_sequential {hellmer} | R 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
[Package hellmer version 0.1.2 Index]