Class GroundingChunk

  • All Implemented Interfaces:

    
    public abstract class GroundingChunk
    extends JsonSerializable
                        

    A piece of evidence that supports a claim made by the model.

    This is used to show a citation for a claim made by the model. When grounding is enabled, the model returns a `GroundingChunk` that contains a reference to the source of the information.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public abstract class GroundingChunk.Builder

      Builder for GroundingChunk.

    • Constructor Summary

      Constructors 
      Constructor Description
      GroundingChunk()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description