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

x/openai/lib/RunnableFunction.ts>RunnableTools

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
type alias RunnableTools
import { type RunnableTools } from "https://deno.land/x/openai@v4.38.3/lib/RunnableFunction.ts";

Type Parameters

FunctionsArgs extends BaseFunctionsArgs
definition: [any[]] extends [FunctionsArgs] ? readonly RunnableToolFunction<any>[] : [Index in keyof FunctionsArgs]: Index extends number ? RunnableToolFunction<FunctionsArgs[Index]> : FunctionsArgs[Index]