import { Completions } from "https://deno.land/x/openai@v4.33.1/resources/mod.ts";
Creates a model response for the given chat conversation.
Returns
APIPromise<ChatCompletion>
Returns
APIPromise<Stream<ChatCompletionChunk>>
Returns
APIPromise<Stream<ChatCompletionChunk> | ChatCompletion>