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

x/openai/lib/ChatCompletionStream.ts>ChatCompletionStream.createChatCompletion

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method ChatCompletionStream.createChatCompletion
import { ChatCompletionStream } from "https://deno.land/x/openai@v4.33.0/lib/ChatCompletionStream.ts";

Parameters

completions: Completions
optional
options: Core.RequestOptions