View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCheckGroundingResponse (google_api_discovery_engine v0.15.0)
Response message for the GroundedGenerationService.CheckGrounding method.
Attributes
-
citedChunks
(type:list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaFactChunk.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.V1beta.Model.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim.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.V1beta.Model.GoogleCloudDiscoveryengineV1betaCheckGroundingResponse{ citedChunks: [ GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaFactChunk.t() ] | nil, claims: [ GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim.t() ] | nil, supportScore: number() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.