public static interface GenerateGroundedContentResponse.Candidate.GroundingMetadata.GroundingSupportOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getClaimText()
Text for the claim in the candidate.
|
com.google.protobuf.ByteString |
getClaimTextBytes()
Text for the claim in the candidate.
|
int |
getSupportChunkIndices(int index)
A list of indices (into 'support_chunks') specifying the
citations associated with the claim.
|
int |
getSupportChunkIndicesCount()
A list of indices (into 'support_chunks') specifying the
citations associated with the claim.
|
List<Integer> |
getSupportChunkIndicesList()
A list of indices (into 'support_chunks') specifying the
citations associated with the claim.
|
float |
getSupportScore()
A score in the range of [0, 1] describing how grounded is a specific
claim in the support chunks indicated.
|
boolean |
hasSupportScore()
A score in the range of [0, 1] describing how grounded is a specific
claim in the support chunks indicated.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getClaimText()
Text for the claim in the candidate. Always provided when a support is found.
string claim_text = 1;com.google.protobuf.ByteString getClaimTextBytes()
Text for the claim in the candidate. Always provided when a support is found.
string claim_text = 1;List<Integer> getSupportChunkIndicesList()
A list of indices (into 'support_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that support_chunks[1], support_chunks[3], support_chunks[4] are the chunks attributed to the claim.
repeated int32 support_chunk_indices = 3;int getSupportChunkIndicesCount()
A list of indices (into 'support_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that support_chunks[1], support_chunks[3], support_chunks[4] are the chunks attributed to the claim.
repeated int32 support_chunk_indices = 3;int getSupportChunkIndices(int index)
A list of indices (into 'support_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that support_chunks[1], support_chunks[3], support_chunks[4] are the chunks attributed to the claim.
repeated int32 support_chunk_indices = 3;index - The index of the element to return.boolean hasSupportScore()
A score in the range of [0, 1] describing how grounded is a specific claim in the support chunks indicated. Higher value means that the claim is better supported by the chunks.
optional float support_score = 2;float getSupportScore()
A score in the range of [0, 1] describing how grounded is a specific claim in the support chunks indicated. Higher value means that the claim is better supported by the chunks.
optional float support_score = 2;Copyright © 2025 Google LLC. All rights reserved.