Skip to main content
Module

x/openai/resources/mod.ts>CompletionCreateParamsStreaming

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

Properties

stream: true

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 CompletionCreateParamsStreaming
Deprecated
Deprecated

Use ChatCompletionCreateParamsStreaming instead

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