Parameters

interface Parameters

These are the parameters the functions accepts, described as a JSON Schema object.
See the OpenAI guide for examples, and the JSON Schema reference for documentation about the format.
Omitting parameters defines a function with an empty parameter list.

Functions

Link copied to clipboard
abstract fun parameter(block: Parameter.() -> Unit)

This adds a parameter to the list of parameters.