View source: R/aigra-diagram-agent.R
| aigra_generate_result_diagrams_auto | R Documentation |
Applies the Diagram Agent, then generates diagrams for rows marked as requiring diagrams.
aigra_generate_result_diagrams_auto(
result,
provider = "gemini",
model = "gemini-3-pro-image-preview",
rows = NULL,
max_images = 3,
overwrite = FALSE
)
result |
A data frame returned by AIGRA. |
provider |
Image provider. |
model |
Image model. |
rows |
Optional row numbers to process. |
max_images |
Maximum number of images to generate. |
overwrite |
If TRUE, overwrite existing image files. |
Updated result data frame with diagram paths.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.