Interface CheckGroundingResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CheckGroundingResponse,CheckGroundingResponse.Builder
@Generated
public interface CheckGroundingResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCitedChunks(int index) List of facts cited across all claims in the answer candidate.intList of facts cited across all claims in the answer candidate.List of facts cited across all claims in the answer candidate.getCitedChunksOrBuilder(int index) List of facts cited across all claims in the answer candidate.List<? extends FactChunkOrBuilder>List of facts cited across all claims in the answer candidate.getCitedFacts(int index) List of facts cited across all claims in the answer candidate.intList of facts cited across all claims in the answer candidate.List of facts cited across all claims in the answer candidate.getCitedFactsOrBuilder(int index) List of facts cited across all claims in the answer candidate.List of facts cited across all claims in the answer candidate.getClaims(int index) Claim texts and citation info across all claims in the answer candidate.intClaim texts and citation info across all claims in the answer candidate.Claim texts and citation info across all claims in the answer candidate.getClaimsOrBuilder(int index) Claim texts and citation info across all claims in the answer candidate.List<? extends CheckGroundingResponse.ClaimOrBuilder>Claim texts and citation info across all claims in the answer candidate.floatThe support score for the input answer candidate.booleanThe support score for the input answer candidate.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasSupportScore
boolean hasSupportScore()The support score for the input answer candidate. Higher the score, higher is the fraction of claims that are supported by the provided facts. This is always set when a response is returned.
optional float support_score = 1;- Returns:
- Whether the supportScore field is set.
-
getSupportScore
float getSupportScore()The support score for the input answer candidate. Higher the score, higher is the fraction of claims that are supported by the provided facts. This is always set when a response is returned.
optional float support_score = 1;- Returns:
- The supportScore.
-
getCitedChunksList
List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk cited_chunks = 3; -
getCitedChunks
List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk cited_chunks = 3; -
getCitedChunksCount
int getCitedChunksCount()List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk cited_chunks = 3; -
getCitedChunksOrBuilderList
List<? extends FactChunkOrBuilder> getCitedChunksOrBuilderList()List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk cited_chunks = 3; -
getCitedChunksOrBuilder
List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.FactChunk cited_chunks = 3; -
getCitedFactsList
List<CheckGroundingResponse.CheckGroundingFactChunk> getCitedFactsList()List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.CheckGroundingResponse.CheckGroundingFactChunk cited_facts = 6; -
getCitedFacts
List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.CheckGroundingResponse.CheckGroundingFactChunk cited_facts = 6; -
getCitedFactsCount
int getCitedFactsCount()List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.CheckGroundingResponse.CheckGroundingFactChunk cited_facts = 6; -
getCitedFactsOrBuilderList
List<? extends CheckGroundingResponse.CheckGroundingFactChunkOrBuilder> getCitedFactsOrBuilderList()List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.CheckGroundingResponse.CheckGroundingFactChunk cited_facts = 6; -
getCitedFactsOrBuilder
List of facts cited across all claims in the answer candidate. These are derived from the facts supplied in the request.
repeated .google.cloud.discoveryengine.v1beta.CheckGroundingResponse.CheckGroundingFactChunk cited_facts = 6; -
getClaimsList
List<CheckGroundingResponse.Claim> getClaimsList()Claim texts and citation info across all claims in the answer candidate.
repeated .google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim claims = 4; -
getClaims
Claim texts and citation info across all claims in the answer candidate.
repeated .google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim claims = 4; -
getClaimsCount
int getClaimsCount()Claim texts and citation info across all claims in the answer candidate.
repeated .google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim claims = 4; -
getClaimsOrBuilderList
List<? extends CheckGroundingResponse.ClaimOrBuilder> getClaimsOrBuilderList()Claim texts and citation info across all claims in the answer candidate.
repeated .google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim claims = 4; -
getClaimsOrBuilder
Claim texts and citation info across all claims in the answer candidate.
repeated .google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim claims = 4;
-