progress {hellmer} | R Documentation |
Get progress information from a batch result
Description
Get progress information from a batch result
Usage
progress(x, ...)
Arguments
x |
A batch object |
... |
Additional arguments passed to methods |
Value
A list containing progress details
Examples
# Create a chat processor
chat <- chat_sequential(chat_openai())
# Process a batch of prompts
batch <- chat$batch(list(
"What is R?",
"Explain base R versus tidyverse",
"Explain vectors, lists, and data frames"
))
# Check the progress
batch$progress()
[Package hellmer version 0.1.2 Index]