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

x/openai/resources/shared.ts>FunctionParameters

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

The parameters the functions accepts, described as a JSON Schema object. See the guide for examples, and the JSON Schema reference for documentation about the format.

Omitting parameters defines a function with an empty parameter list.

definition: Record<string, unknown>