import { Completions } from "https://deno.land/x/openai@v4.68.0/resources/mod.ts";
Creates a model response for the given chat conversation. Learn more in the text generation, vision, and audio guides.
Returns
APIPromise<ChatCompletion>
Returns
APIPromise<Stream<ChatCompletionChunk>>
Returns
APIPromise<Stream<ChatCompletionChunk> | ChatCompletion>