Skip to main content
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.21.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.

To describe a function that accepts no parameters, provide the value {"type": "object", "properties": {}}.

definition: Record<string, unknown>