View source: R/api_perform_request.R
| gptstudio_request_perform | R Documentation |
This function provides a generic interface for calling different APIs
(e.g., OpenAI, HuggingFace, Google AI Studio). It dispatches the actual API
calls to the relevant method based on the class of the skeleton argument.
gptstudio_request_perform(skeleton, ...)
skeleton |
A |
... |
Extra arguments (e.g., |
A gptstudio_response_skeleton object
## Not run:
gptstudio_request_perform(gptstudio_skeleton)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.