Learn R Programming

gptstudio (version 0.4.0)

gptstudio_request_perform: Perform API Request

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_request_perform(skeleton, ...)

Value

A gptstudio_response_skeleton object

Arguments

skeleton

A gptstudio_request_skeleton object

...

Extra arguments (e.g., stream_handler)

Examples

Run this code
if (FALSE) {
gptstudio_request_perform(gptstudio_skeleton)
}

Run the code above in your browser using DataLab