View source: R/aigra-diagram-translation.R
| aigra_translate_diagram_prompts | R Documentation |
This rewrites diagram prompts into the target language before image generation. Scientific symbols and units are preserved.
aigra_translate_diagram_prompts(
result,
target_language = "English",
provider = "gemini",
model = "gemini-3.1-pro-preview"
)
result |
A data frame returned by AIGRA. |
target_language |
Target language for translated diagram prompts. |
provider |
Text LLM provider. |
model |
Text LLM model. |
Updated result data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.