FunctionCall

io.cequence.openaiscala.gemini.domain.Part$.FunctionCall
case class FunctionCall(id: Option[String], name: String, args: Map[String, Any]) extends Part

Prefix: functionCall

A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name with the arguments and their values.

Attributes

args

Optional. The function parameters and values in JSON object format.

id

The unique id of the function call. If populated, the client to execute the functionCall and return the response with the matching id.

name

Required. The name of the function to call. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 63.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Part
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val prefix: PartPrefix