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

x/openai/core.ts>RequestOptions

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

Type Parameters

optional
Req =
| unknown
| Record<string, unknown>
| ArrayBufferView
| ArrayBuffer
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; __binaryRequest?: boolean | undefined; __binaryResponse?: boolean | undefined; __streamClass?: Stream; }