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

x/openai/resources/beta/chat/completions.ts>ChatCompletionStream.createChatCompletion

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
method ChatCompletionStream.createChatCompletion
Re-export
import { ChatCompletionStream } from "https://deno.land/x/openai@v4.51.0/resources/beta/chat/completions.ts";

Parameters

completions: Completions
optional
options: Core.RequestOptions