GenerateContentResponseHandler

GenerateContentResponseHandler

Helper class to render any extra properties out of GenerateContentResponse or properties of GenerateContentResponse

Constructor

new GenerateContentResponseHandler()

Methods

(static) getFunctionCallsFromCandidate(candidate)

Extracts function calls from a GenerateContentCandidate.

Parameters:
Name Type Description
candidate

The candidate to extract function calls from.

Returns:
Type Description

the array of function calls in a GenerateContentCandidate.