Google Cloud Ai Platform V1 Client - Class ToolConfig (1.14.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ToolConfig.

Tool config. This config is shared for all tools provided in the request.

Generated from protobuf message google.cloud.aiplatform.v1.ToolConfig

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ function_calling_config FunctionCallingConfig

Optional. Function calling config.

↳ retrieval_config RetrievalConfig

Optional. Retrieval config.

getFunctionCallingConfig

Optional. Function calling config.

Returns
Type Description
FunctionCallingConfig|null

hasFunctionCallingConfig

clearFunctionCallingConfig

setFunctionCallingConfig

Optional. Function calling config.

Parameter
Name Description
var FunctionCallingConfig
Returns
Type Description
$this

getRetrievalConfig

Optional. Retrieval config.

Returns
Type Description
RetrievalConfig|null

hasRetrievalConfig

clearRetrievalConfig

setRetrievalConfig

Optional. Retrieval config.

Parameter
Name Description
var RetrievalConfig
Returns
Type Description
$this