Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.38.5/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>