Class CheckGroundingRequest (0.11.11)

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

Request message for GroundedGenerationService.CheckGrounding method.

Attributes

NameDescription
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_v1alpha.types.GroundingFact]
List of facts for the grounding check. We support up to 200 facts.
grounding_spec google.cloud.discoveryengine_v1alpha.types.CheckGroundingSpec
Configuration of the grounding check.