Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ToolCallValidInput.
Input for tool call valid metric.
Generated from protobuf message google.cloud.aiplatform.v1.ToolCallValidInput
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ metric_spec |
ToolCallValidSpec
Required. Spec for tool call valid metric. |
↳ instances |
array<ToolCallValidInstance>
Required. Repeated tool call valid instances. |
getMetricSpec
Required. Spec for tool call valid metric.
| Returns | |
|---|---|
| Type | Description |
ToolCallValidSpec|null |
|
hasMetricSpec
clearMetricSpec
setMetricSpec
Required. Spec for tool call valid metric.
| Parameter | |
|---|---|
| Name | Description |
var |
ToolCallValidSpec
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstances
Required. Repeated tool call valid instances.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ToolCallValidInstance> |
|
setInstances
Required. Repeated tool call valid instances.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ToolCallValidInstance>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|