Package com.google.genai.types
Class GroundingChunkRetrievedContext.Builder
java.lang.Object
com.google.genai.types.GroundingChunkRetrievedContext.Builder
- Enclosing class:
- GroundingChunkRetrievedContext
Builder for GroundingChunkRetrievedContext.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GroundingChunkRetrievedContext
build()
documentName
(String documentName) Setter for documentName.Setter for ragChunk.ragChunk
(RagChunk.Builder ragChunkBuilder) Setter for ragChunk builder.Setter for text.Setter for title.Setter for uri.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
documentName
Setter for documentName.documentName: Output only. The full document name for the referenced Vertex AI Search document.
-
ragChunk
Setter for ragChunk.ragChunk: Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool.
-
ragChunk
Setter for ragChunk builder.ragChunk: Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool.
-
text
Setter for text.text: Text of the attribution.
-
title
Setter for title.title: Title of the attribution.
-
uri
Setter for uri.uri: URI reference of the attribution.
-
build
-