GroundingSpec Stay organized with collections Save and categorize content based on your preferences.
Grounding specification.
| JSON representation |
|---|
{"includeGroundingSupports":boolean,"filteringLevel":enum ( |
| Fields | |
|---|---|
includeGroundingSupports |
Optional. Specifies whether to include groundingSupports in the answer. The default value is When this field is set to |
filteringLevel |
Optional. Specifies whether to enable the filtering based on grounding score and at what level. |
FilteringLevel
Level to filter based on answer grounding.
| Enums | |
|---|---|
FILTERING_LEVEL_UNSPECIFIED | Default is no filter |
FILTERING_LEVEL_LOW | Filter answers based on a low threshold. |
FILTERING_LEVEL_HIGH | Filter answers based on a high threshold. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-27 UTC.