sendFunctionResponse

actual suspend fun sendFunctionResponse(functionList: List<FunctionResponsePart>)(source)

Sends function calling responses to the model.

NOTE: If you're using startAudioConversation, the method will handle sending function responses to the model for you. You do not need to call this method in that case.

Parameters

functionList

The list of FunctionResponsePart instances indicating the function response from the client.

expect suspend fun sendFunctionResponse(functionList: List<FunctionResponsePart>)(source)

Sends function calling responses to the model.

NOTE: If you're using startAudioConversation, the method will handle sending function responses to the model for you. You do not need to call this method in that case.

Parameters

functionList

The list of FunctionResponsePart instances indicating the function response from the client.

actual suspend fun sendFunctionResponse(functionList: List<FunctionResponsePart>)(source)

Sends function calling responses to the model.

NOTE: If you're using startAudioConversation, the method will handle sending function responses to the model for you. You do not need to call this method in that case.

Parameters

functionList

The list of FunctionResponsePart instances indicating the function response from the client.