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

x/openai/lib/parser.ts>shouldParseToolCall

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

Parameters

params: ChatCompletionCreateParams | null | undefined
toolCall: ChatCompletionMessageToolCall

Returns

boolean