| goose_map | R Documentation |
Apply an AI query to each element of a dataset
goose_map(data, query_template, max_workers = 4)
data |
Vector or list of data elements |
query_template |
Query template with {x} placeholder |
max_workers |
Maximum parallel workers |
List of AI responses
## Not run:
# Analyze multiple code snippets
code_snippets <- c("function(x) x^2", "for(i in 1:10) print(i)")
reviews <- goose_map(code_snippets, "Review this R code: {x}")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.