addNumberParameter

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

Number parameters are parameters that can be any number (Usually a floating point number).

Parameters

name

The name of the parameter

description

The description of the parameter

required

True to force ChatGPT to use this parameter