public static interface GroundingChunk.RetrievedContextOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContextDetailsCase()
public abstract GroundingChunk.RetrievedContext.ContextDetailsCase getContextDetailsCase()| Returns | |
|---|---|
| Type | Description |
GroundingChunk.RetrievedContext.ContextDetailsCase |
|
getRagChunk()
public abstract 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;
| Returns | |
|---|---|
| Type | Description |
RagChunk |
The ragChunk. |
getRagChunkOrBuilder()
public abstract 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;
| Returns | |
|---|---|
| Type | Description |
RagChunkOrBuilder |
|
getText()
public abstract String getText()Text of the attribution.
optional string text = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public abstract ByteString getTextBytes()Text of the attribution.
optional string text = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
getTitle()
public abstract String getTitle()Title of the attribution.
optional string title = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public abstract ByteString getTitleBytes()Title of the attribution.
optional string title = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
getUri()
public abstract String getUri()URI reference of the attribution.
optional string uri = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public abstract ByteString getUriBytes()URI reference of the attribution.
optional string uri = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
hasRagChunk()
public abstract boolean 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ragChunk field is set. |
hasText()
public abstract boolean hasText()Text of the attribution.
optional string text = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the text field is set. |
hasTitle()
public abstract boolean hasTitle()Title of the attribution.
optional string title = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the title field is set. |
hasUri()
public abstract boolean hasUri()URI reference of the attribution.
optional string uri = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the uri field is set. |