Skip to main content
Module

x/openai/core.ts>RequestOptions

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

Type Parameters

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