Stay organized with collections
Save and categorize content based on your preferences.
Firebase.AI.GroundingSupport
Provides information about how a specific segment of the model's response is supported by the retrieved grounding chunks.
Summary
Properties
|
GroundingChunkIndices
|
IReadOnlyList< int >
|
Segment
|
Specifies the segment of the model's response content that this grounding support pertains to.
|
Properties
GroundingChunkIndices
IReadOnlyList< int > Firebase::AI::GroundingSupport::GroundingChunkIndices
A list of indices that refer to specific GroundingChunk
structs within the GroundingMetadata.GroundingChunks
array.
These referenced chunks are the sources that support the claim made in the associated segment
of the response. For example, an array [1, 3, 4]
means that groundingChunks[1]
, groundingChunks[3]
, groundingChunks[4]
are the retrieved content supporting this part of the response.
Segment
Segment Firebase::AI::GroundingSupport::Segment
Specifies the segment of the model's response content that this grounding support pertains to.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-24 UTC.
[null,null,["Last updated 2025-07-24 UTC."],[],[],null,["# Firebase.AI.GroundingSupport Struct Reference\n\nFirebase.AI.GroundingSupport\n============================\n\nProvides information about how a specific segment of the model's response is supported by the retrieved grounding chunks.\n\nSummary\n-------\n\n| ### Properties ||\n|------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GroundingChunkIndices](#struct_firebase_1_1_a_i_1_1_grounding_support_1a66091ad3578346f24e3a1bfab472789a) | `IReadOnlyList\u003c int \u003e` A list of indices that refer to specific [GroundingChunk](/docs/reference/unity/struct/firebase/a-i/grounding-chunk#struct_firebase_1_1_a_i_1_1_grounding_chunk) structs within the [GroundingMetadata.GroundingChunks](/docs/reference/unity/struct/firebase/a-i/grounding-metadata#struct_firebase_1_1_a_i_1_1_grounding_metadata_1ac10d0ba8af5e1f742a0e9978bd809ea5) array. |\n| [Segment](#struct_firebase_1_1_a_i_1_1_grounding_support_1adf486c17bf3aaf0b6bf3ac02f1e69dd1) | [Segment](/docs/reference/unity/struct/firebase/a-i/segment#struct_firebase_1_1_a_i_1_1_segment) Specifies the segment of the model's response content that this grounding support pertains to. |\n\nProperties\n----------\n\n### GroundingChunkIndices\n\n```c#\nIReadOnlyList\u003c int \u003e Firebase::AI::GroundingSupport::GroundingChunkIndices\n``` \nA list of indices that refer to specific [GroundingChunk](/docs/reference/unity/struct/firebase/a-i/grounding-chunk#struct_firebase_1_1_a_i_1_1_grounding_chunk) structs within the [GroundingMetadata.GroundingChunks](/docs/reference/unity/struct/firebase/a-i/grounding-metadata#struct_firebase_1_1_a_i_1_1_grounding_metadata_1ac10d0ba8af5e1f742a0e9978bd809ea5) array.\n\nThese referenced chunks are the sources that support the claim made in the associated `segment` of the response. For example, an array `[1, 3, 4]` means that `groundingChunks[1]`, `groundingChunks[3]`, `groundingChunks[4]` are the retrieved content supporting this part of the response. \n\n### Segment\n\n```c#\nSegment Firebase::AI::GroundingSupport::Segment\n``` \nSpecifies the segment of the model's response content that this grounding support pertains to."]]