powered by
Generate a Quarto chunk that executes AI queries
goose_quarto_chunk( prompt, label = NULL, echo = FALSE, eval = TRUE, cache = TRUE )
Quarto chunk text
The AI prompt to execute
Optional chunk label
Whether to show the prompt in output
Whether to evaluate the chunk
Whether to cache the result
if (FALSE) { # In a Quarto document goose_quarto_chunk("Explain linear regression", label = "explain-lm") }
Run the code above in your browser using DataLab