OpenAi.Client (OpenAI REST API Client v0.2.1)

Module responsible for making requests to the OpenAI API. And transforming the response to the expected response type.

Summary

Functions

Makes a request to the OpenAI API based on the provided parameters.

Functions

Link to this function

request(params)

Makes a request to the OpenAI API based on the provided parameters.

Returns the response body transformed to the expected response type.

Primarily used by the operation modules.