Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::CheckGroundingResponse (v0.12.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::CheckGroundingResponse.

Response message for the GroundedGenerationService.CheckGrounding method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cited_chunks

def cited_chunks() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::FactChunk>
Returns

#cited_chunks=

def cited_chunks=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::FactChunk>
Parameter
Returns

#claims

def claims() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::CheckGroundingResponse::Claim>
Returns

#claims=

def claims=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::CheckGroundingResponse::Claim>
Parameter
Returns

#support_score

def support_score() -> ::Float
Returns
  • (::Float) — The support score for the input answer candidate. Higher the score, higher is the fraction of claims that are supported by the provided facts. This is always set when a response is returned.

#support_score=

def support_score=(value) -> ::Float
Parameter
  • value (::Float) — The support score for the input answer candidate. Higher the score, higher is the fraction of claims that are supported by the provided facts. This is always set when a response is returned.
Returns
  • (::Float) — The support score for the input answer candidate. Higher the score, higher is the fraction of claims that are supported by the provided facts. This is always set when a response is returned.