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