ToolConfig
class ToolConfig @JvmOverloads constructor(functionCallingConfig: FunctionCallingConfig? = null, retrievalConfig: RetrievalConfig? = null)(source)
Contains configuration for the function calling tools of the model. This can be used to change when the model can predict function calls.
Parameters
functionCallingConfig
The config for function calling
Constructors
Link copied to clipboard
constructor(functionCallingConfig: FunctionCallingConfig? = null, retrievalConfig: RetrievalConfig? = null)