FunctionCall

data class FunctionCall(val name: String = "", val args: Map<String, Any?> = emptyMap(), val id: String? = null, val partialArgs: List<PartialArg>? = null, val willContinue: Boolean? = null)

Represents a function call in a generation response.

Constructors

Link copied to clipboard
constructor(name: String = "", args: Map<String, Any?> = emptyMap(), id: String? = null, partialArgs: List<PartialArg>? = null, willContinue: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val args: Map<String, Any?>

The arguments to pass to the function.

Link copied to clipboard
val id: String? = null

The unique identifier for this function call.

Link copied to clipboard

The name of the function to call.

Link copied to clipboard

Partial argument fragments being streamed from the model.

Link copied to clipboard
val willContinue: Boolean? = null

Whether more partial fragments for this function call are expected.