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

x/openai/lib/parser.ts>makeParseableTool

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

Type Parameters

OptionsT extends ToolOptions

Parameters

unnamed 1: { parser: (content: string) => OptionsT["arguments"]; callback: ((args: any) => any) | undefined; }