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