addBooleanParameter

fun addBooleanParameter(name: String, description: String?, required: Boolean = false): Function.Builder

Boolean parameters are parameters that can be either true or false.

Parameters

name

The name of the parameter

description

The description of the parameter

required

True to force ChatGPT to use this parameter