Skip to main content
Module

x/openai/core.ts>RequestOptions

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
type alias RequestOptions
import { type RequestOptions } from "https://deno.land/x/openai@v4.40.0/core.ts";

Type Parameters

optional
Req = unknown | Record<string, unknown> | Readable
definition: { method?: HTTPMethod; path?: string; query?: Req | undefined; body?: Req | null | undefined; headers?: Headers | undefined; maxRetries?: number; stream?: boolean | undefined; timeout?: number; httpAgent?: Agent; signal?: AbortSignal | undefined | null; idempotencyKey?: string; __binaryResponse?: boolean | undefined; __streamClass?: Stream; }