add Enum Parameter
fun addEnumParameter(name: String, enum: MutableList<String>, required: Boolean = false): Function.Builder
Enum parameters are parameters that can only be one of a few values. ChatGPT will be forces to select one of the values you provide here.
Parameters
name
The name of the parameter
enum
The options that ChatGPT must select from
required
True to force ChatGPT to use this parameter