import { OpenAI } from "https://deno.land/x/openai@v4.20.0/mod.ts";
import { OpenAI } from "https://deno.land/x/openai@v4.20.0/mod.ts";
API Client for interfacing with the OpenAI API.
Constructors
new
OpenAI(unnamed 0?: ClientOptions)API Client for interfacing with the OpenAI API.
Properties
private
_options: ClientOptionsMethods
protected
authHeaders(opts: Core.FinalRequestOptions): Core.Headersprotected
defaultHeaders(opts: Core.FinalRequestOptions): Core.Headersprotected
defaultQuery(): Core.DefaultQuery | undefined