Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::GroundingAttribution.
Grounding attribution.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#confidence_score
def confidence_score() -> ::Float
Returns
- (::Float) — Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident.
#segment
def segment() -> ::Google::Cloud::AIPlatform::V1::Segment
Returns
- (::Google::Cloud::AIPlatform::V1::Segment) — Output only. Segment of the content this attribution belongs to.
#web
def web() -> ::Google::Cloud::AIPlatform::V1::GroundingAttribution::Web
Returns
- (::Google::Cloud::AIPlatform::V1::GroundingAttribution::Web) — Optional. Attribution from the web.
#web=
def web=(value) -> ::Google::Cloud::AIPlatform::V1::GroundingAttribution::Web
Parameter
- value (::Google::Cloud::AIPlatform::V1::GroundingAttribution::Web) — Optional. Attribution from the web.
Returns
- (::Google::Cloud::AIPlatform::V1::GroundingAttribution::Web) — Optional. Attribution from the web.