addStringParameter

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

String parameters are parameters that can be any string.

Parameters

name

The name of the parameter

description

The description of the parameter

required

True to force ChatGPT to use this parameter