| goose_batch | R Documentation |
Run multiple queries simultaneously
goose_batch(queries, max_workers = 4, progress = TRUE, cache = TRUE)
queries |
Vector or list of queries |
max_workers |
Maximum number of parallel workers |
progress |
Show progress bar |
cache |
Use caching for responses |
List of responses
## Not run:
queries <- c(
"Explain R functions",
"Write a data analysis script",
"Create a visualization"
)
results <- goose_batch(queries, max_workers = 3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.