Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::CoherenceInput.
Input for coherence metric.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instance
def instance() -> ::Google::Cloud::AIPlatform::V1::CoherenceInstance
Returns
- (::Google::Cloud::AIPlatform::V1::CoherenceInstance) — Required. Coherence instance.
#instance=
def instance=(value) -> ::Google::Cloud::AIPlatform::V1::CoherenceInstance
Parameter
- value (::Google::Cloud::AIPlatform::V1::CoherenceInstance) — Required. Coherence instance.
Returns
- (::Google::Cloud::AIPlatform::V1::CoherenceInstance) — Required. Coherence instance.
#metric_spec
def metric_spec() -> ::Google::Cloud::AIPlatform::V1::CoherenceSpec
Returns
- (::Google::Cloud::AIPlatform::V1::CoherenceSpec) — Required. Spec for coherence score metric.
#metric_spec=
def metric_spec=(value) -> ::Google::Cloud::AIPlatform::V1::CoherenceSpec
Parameter
- value (::Google::Cloud::AIPlatform::V1::CoherenceSpec) — Required. Spec for coherence score metric.
Returns
- (::Google::Cloud::AIPlatform::V1::CoherenceSpec) — Required. Spec for coherence score metric.