get_batches: Get Batches

get_batchesR 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 .rds file extension. Default is "batchLLM-log".

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)

batchLLM documentation built on Oct. 14, 2024, 5:09 p.m.