Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GoogleSearchRetrieval.
Tool to retrieve public web data for grounding, powered by Google.
Generated from protobuf message google.cloud.aiplatform.v1.GoogleSearchRetrieval
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ disable_attribution |
bool
Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation. |
getDisableAttribution
Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
Returns | |
---|---|
Type | Description |
bool |
setDisableAttribution
Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |