Skip to contents

Extract text responses from a batch

Arguments

x

A batch object

flatten

Logical; whether to flatten structured data into a single string (default: TRUE)

Value

A character vector (if original prompts were supplied as a vector) or a list of response texts (if original prompts were supplied as a list)