Skip to main content
Module

x/openai/resources/mod.ts>FunctionParameters

Deno build of the official Typescript library for the OpenAI API. Source: https://github.com/openai/openai-node
Extremely Popular
Go to Latest
type alias FunctionParameters
import { type FunctionParameters } from "https://deno.land/x/openai@v4.19.1/resources/mod.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>