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"))
The response from the API.
A character string that specifies the model to send to the API.
A list that contains the parameters for the task.
String containing a Google AI Studio API key. Defaults to the GOOGLE_API_KEY environmental variable if not specified.