T
Completion.Stream.Chunk
No documentation available
T
Completion.Stream.Output
No documentation available
T
Completion.Stream.Request
No documentation available
A tiny (1.18kB), tree-shakeable OpenAI client. Optionally supports response streaming in all JavaScript runtimes.
Add Package
deno add jsr:@agent/openai
Import symbol
import { Completion } from "@agent/openai";
Import directly with a jsr specifier
import { Completion } from "jsr:@agent/openai";
Add Package
pnpm i jsr:@agent/openai
pnpm dlx jsr add @agent/openai
Import symbol
import { Completion } from "@agent/openai";
Add Package
yarn add jsr:@agent/openai
yarn dlx jsr add @agent/openai
Import symbol
import { Completion } from "@agent/openai";
Add Package
vlt install jsr:@agent/openai
Import symbol
import { Completion } from "@agent/openai";
Add Package
npx jsr add @agent/openai
Import symbol
import { Completion } from "@agent/openai";
Add Package
bunx jsr add @agent/openai
Import symbol
import { Completion } from "@agent/openai";