FunctionCallPart

data class FunctionCallPart : Part


A data class representing a function call part of a prompt.

Used in multi-turn conversation history to represent a function/tool call predicted by the model.

Summary

Public companion functions

FunctionCallPart
create(functionCall: FunctionCall)

Public constructors

Public properties

FunctionCall

the function call content.

Public companion functions

create

fun create(functionCall: FunctionCall): FunctionCallPart

Public constructors

FunctionCallPart

FunctionCallPart(functionCall: FunctionCall)

Public properties

functionCall

val functionCall: FunctionCall

the function call content.