Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai_mini/lib/types/types.ts>CompletionRequest

A minimal wrapper for the OpenAI API
Go to Latest
interface CompletionRequest
import { type CompletionRequest } from "https://deno.land/x/openai_mini@0.3.0/lib/types/types.ts";

Properties

model: string
prompt: string
max_tokens: number
temperature: number
top_p: number
n: number
stream: boolean
logprobs: null
stop: string