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

x/openai/resources/mod.ts>CompletionCreateParamsNonStreaming

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

Properties

optional
stream: false | null

Whether to stream back partial progress. If set, 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.

type alias CompletionCreateParamsNonStreaming
Deprecated
Deprecated

Use ChatCompletionCreateParamsNonStreaming instead

import { type CompletionCreateParamsNonStreaming } from "https://deno.land/x/openai@v4.61.1/resources/mod.ts";