Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/mod.ts>OpenAI.ChatCompletion

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
type alias OpenAI.ChatCompletion
import { type OpenAI } from "https://deno.land/x/openai@v4.28.4/mod.ts";
const { ChatCompletion } = OpenAI;
definition: API.ChatCompletion