get_batches {batchLLM} | R Documentation |
Get Batches
Description
Get batches of generated output in a single data frame from the .rds
log file.
Usage
get_batches(df_name = NULL, log_name = "batchLLM-log")
Arguments
df_name |
A string to match the name of a processed data frame. |
log_name |
A string specifying the name of the log without the |
Value
A data frame containing the generated output.
Examples
## Not run:
library(batchLLM)
# Assuming you have a log file with data for "beliefs_40a3012b" (see batchLLM example)
batches <- get_batches("beliefs_40a3012b")
head(batches)
# Using a custom log file name
custom_batches <- get_batches("beliefs_40a3012b", log_name = "custom-log.rds")
head(custom_batches)
## End(Not run)
[Package batchLLM version 0.2.0 Index]