FunctionCall

data class FunctionCall(val name: String, val arguments: String)(source)

Represents a function call made by the model.

Constructors

Link copied to clipboard
constructor(name: String, arguments: String)
constructor(name: String, arguments: JsonObject)

Convenience constructor for building a function call from a JSON object.

Properties

Link copied to clipboard

The arguments to call the function with in JSON format

Link copied to clipboard

Returns the arguments parsed as a JSON object.

Link copied to clipboard

The name of the function