public static interface GroundingChunk.RetrievedContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
GroundingChunk.RetrievedContext.ContextDetailsCase |
getContextDetailsCase() |
RagChunk |
getRagChunk()
Additional context for the RAG retrieval result.
|
RagChunkOrBuilder |
getRagChunkOrBuilder()
Additional context for the RAG retrieval result.
|
String |
getText()
Text of the attribution.
|
com.google.protobuf.ByteString |
getTextBytes()
Text of the attribution.
|
String |
getTitle()
Title of the attribution.
|
com.google.protobuf.ByteString |
getTitleBytes()
Title of the attribution.
|
String |
getUri()
URI reference of the attribution.
|
com.google.protobuf.ByteString |
getUriBytes()
URI reference of the attribution.
|
boolean |
hasRagChunk()
Additional context for the RAG retrieval result.
|
boolean |
hasText()
Text of the attribution.
|
boolean |
hasTitle()
Title of the attribution.
|
boolean |
hasUri()
URI reference of the attribution.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasRagChunk()
Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool.
.google.cloud.aiplatform.v1.RagChunk rag_chunk = 4;RagChunk getRagChunk()
Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool.
.google.cloud.aiplatform.v1.RagChunk rag_chunk = 4;RagChunkOrBuilder getRagChunkOrBuilder()
Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool.
.google.cloud.aiplatform.v1.RagChunk rag_chunk = 4;boolean hasUri()
URI reference of the attribution.
optional string uri = 1;String getUri()
URI reference of the attribution.
optional string uri = 1;com.google.protobuf.ByteString getUriBytes()
URI reference of the attribution.
optional string uri = 1;boolean hasTitle()
Title of the attribution.
optional string title = 2;String getTitle()
Title of the attribution.
optional string title = 2;com.google.protobuf.ByteString getTitleBytes()
Title of the attribution.
optional string title = 2;boolean hasText()
Text of the attribution.
optional string text = 3;String getText()
Text of the attribution.
optional string text = 3;com.google.protobuf.ByteString getTextBytes()
Text of the attribution.
optional string text = 3;GroundingChunk.RetrievedContext.ContextDetailsCase getContextDetailsCase()
Copyright © 2025 Google LLC. All rights reserved.