powered by
Apply an AI query to each element of a dataset
goose_map(data, query_template, max_workers = 4)
List of AI responses
Vector or list of data elements
Query template with {x} placeholder
Maximum parallel workers
if (FALSE) { # 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}") }
Run the code above in your browser using DataLab