Parameter

interface Parameter

This is a parameter that the function accepts.

Properties

Link copied to clipboard
abstract var description: String

This is the description to help the model understand what it needs to output.

Link copied to clipboard
abstract var name: String

This is the name of the parameter

Link copied to clipboard
abstract var required: Boolean

This determines if the parameter is required or not.

Link copied to clipboard
abstract var type: KClass<*>

This is the type of the parameter.