Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ExaAiSearch.
ExaAiSearch tool type.
A tool that uses the Exa.ai search engine for grounding.
Generated from protobuf message google.cloud.aiplatform.v1.Tool.ExaAiSearch
Namespace
Google \ Cloud \ AIPlatform \ V1 \ ToolMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ api_key |
string
Required. The API key for ExaAiSearch. |
↳ custom_configs |
Google\Protobuf\Struct
Optional. This field can be used to pass any parameter from the Exa.ai Search API. |
getApiKey
Required. The API key for ExaAiSearch.
| Returns | |
|---|---|
| Type | Description |
string |
|
setApiKey
Required. The API key for ExaAiSearch.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCustomConfigs
Optional. This field can be used to pass any parameter from the Exa.ai Search API.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasCustomConfigs
clearCustomConfigs
setCustomConfigs
Optional. This field can be used to pass any parameter from the Exa.ai Search API.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|