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 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<FactChunk> 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

      FactChunk getCitedChunks(int index)
       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

      FactChunkOrBuilder getCitedChunksOrBuilder(int index)
       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 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

       Claim texts and citation info across all claims in the answer candidate.
       
      repeated .google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim claims = 4;
    • getClaims

      CheckGroundingResponse.Claim getClaims(int index)
       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

      CheckGroundingResponse.ClaimOrBuilder getClaimsOrBuilder(int index)
       Claim texts and citation info across all claims in the answer candidate.
       
      repeated .google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim claims = 4;