Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai/core.ts>APIClient#makeRequest

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method APIClient.prototype.makeRequest
import { APIClient } from "https://deno.land/x/openai@v4.38.5/core.ts";

Parameters

optionsInput: PromiseOrValue<FinalRequestOptions<Req>>
retriesRemaining: number | null

Returns

Promise<APIResponseProps>