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.59.0/lib/ChatCompletionStream.ts";

Parameters

client: OpenAI
optional
options: Core.RequestOptions