View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CheckGroundingResponse (google_api_discovery_engine v0.27.0)
Response message for the GroundedGenerationService.CheckGrounding method.
Attributes
-
citedChunks
(type:list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1FactChunk.t)
, default:nil
) - List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request. -
citedFacts
(type:list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CheckGroundingResponseCheckGroundingFactChunk.t)
, default:nil
) - List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request. -
claims
(type:list(GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim.t)
, default:nil
) - Claim texts and citation info across all claims in the answer candidate. -
supportScore
(type:number()
, default:nil
) - 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CheckGroundingResponse{ citedChunks: [ GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1FactChunk.t() ] | nil, citedFacts: [ GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CheckGroundingResponseCheckGroundingFactChunk.t() ] | nil, claims: [ GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim.t() ] | nil, supportScore: number() | nil }