gptstudio_response_process {gptstudio} | R Documentation |
Call API
Description
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.
Usage
gptstudio_response_process(skeleton, ...)
Arguments
skeleton |
A |
... |
Extra arguments, not currently used |
Value
A gptstudio_request_skeleton
with updated history and prompt removed
Examples
## Not run:
gptstudio_response_process(gptstudio_skeleton)
## End(Not run)
[Package gptstudio version 0.4.0 Index]