Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class QuestionAnsweringHelpfulnessInput.
Input for question answering helpfulness metric.
Generated from protobuf message google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInput
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ metric_spec |
Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessSpec
Required. Spec for question answering helpfulness score metric. |
↳ instance |
Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessInstance
Required. Question answering helpfulness instance. |
getMetricSpec
Required. Spec for question answering helpfulness score metric.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessSpec|null |
|
hasMetricSpec
clearMetricSpec
setMetricSpec
Required. Spec for question answering helpfulness score metric.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessSpec
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstance
Required. Question answering helpfulness instance.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessInstance|null |
|
hasInstance
clearInstance
setInstance
Required. Question answering helpfulness instance.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessInstance
|
| Returns | |
|---|---|
| Type | Description |
$this |
|