Class GroundingSpec (0.13.5)

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

Grounding specification.

Attributes

Name Description
include_grounding_supports bool
Optional. Specifies whether to include grounding_supports in the answer. The default value is false. When this field is set to true, returned answer will have grounding_score and will contain GroundingSupports for each claim.
filtering_level google.cloud.discoveryengine_v1beta.types.AnswerQueryRequest.GroundingSpec.FilteringLevel
Optional. Specifies whether to enable the filtering based on grounding score and at what level.

Classes

FilteringLevel

FilteringLevel(value)

Level to filter based on answer grounding.