Class CheckGroundingRequest (0.11.12)

CheckGroundingRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for GroundedGenerationService.CheckGrounding method.

Attributes

Name Description
grounding_config str
Required. The resource name of the grounding config, such as projects/*/locations/global/groundingConfigs/default_grounding_config.
answer_candidate str
Answer candidate to check.
facts MutableSequence[google.cloud.discoveryengine_v1beta.types.GroundingFact]
List of facts for the grounding check. We support up to 200 facts.
grounding_spec google.cloud.discoveryengine_v1beta.types.CheckGroundingSpec
Configuration of the grounding check.