View source: R/service-google.R
| query_api_google | R Documentation | 
A function that sends a request to the Google AI Studio API and returns the response.
query_api_google(model, request_body, key = Sys.getenv("GOOGLE_API_KEY"))
model | 
 A character string that specifies the model to send to the API.  | 
request_body | 
 A list that contains the parameters for the task.  | 
key | 
 String containing a Google AI Studio API key. Defaults to the GOOGLE_API_KEY environmental variable if not specified.  | 
The response from the API.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.