add_text | R Documentation |
Appends a text prompt part to the Gemini API request body.
add_text(body, prompt)
body |
A list representing the current Gemini API request body. |
prompt |
Character. The text prompt to add. |
The updated body list with the text prompt added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.