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

x/openai/lib/parser.ts>AutoParseableTool

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

Type Parameters

OptionsT extends ToolOptions
optional
HasFunction = OptionsT["function"] extends Function ? true : false
definition: ChatCompletionTool & { __arguments: OptionsT["arguments"]; __name: OptionsT["name"]; __hasFunction: HasFunction; $brand: "auto-parseable-tool"; $callback: ((args: OptionsT["arguments"]) => any) | undefined; $parseRaw(args: string): OptionsT["arguments"]; }