ToolBuilder

Creates a list of Tool.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun function(name: String, description: String? = null, parameters: Parameters)
fun function(name: String, description: String? = null, parameters: JsonObjectBuilder.() -> Unit)
fun function(name: String, description: String? = null, parameters: String)

Creates a 'function' tool.

Link copied to clipboard
fun tool(tool: Tool)

Creates a ChatMessage instance.