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

x/openai/resources/beta/chat/completions.ts>RunnableFunctionWithParse

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
type alias RunnableFunctionWithParse
import { type RunnableFunctionWithParse } from "https://deno.land/x/openai@v4.33.0/resources/beta/chat/completions.ts";

Type Parameters

Args extends object
definition: { function: (args: Args, runner: ChatCompletionRunner | ChatCompletionStreamingRunner) => PromiseOrValue<unknown>; parse: (input: string) => PromiseOrValue<Args>; parameters: JSONSchema; description: string; name?: string | undefined; }