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

x/openai/resources/chat/mod.ts>ChatCompletionCreateParamsNonStreaming

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface ChatCompletionCreateParamsNonStreaming
implements ChatCompletionCreateParamsBase
import { type ChatCompletionCreateParamsNonStreaming } from "https://deno.land/x/openai@v4.26.0/resources/chat/mod.ts";

Properties

optional
stream: false | null

If set, partial message deltas will be sent, like in ChatGPT. Tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE] message. Example Python code.