Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::CheckGroundingResponse (v1.1.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::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::V1::FactChunk>
Returns

#cited_chunks=

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

#claims

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

#claims=

def claims=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::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.