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

x/openai/lib/RunnableFunction.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.45.0/lib/RunnableFunction.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; }