public interface AskContextsResponseOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContexts()
public abstract RagContexts getContexts()The contexts of the query.
.google.cloud.aiplatform.v1beta1.RagContexts contexts = 2;
| Returns | |
|---|---|
| Type | Description |
RagContexts |
The contexts. |
getContextsOrBuilder()
public abstract RagContextsOrBuilder getContextsOrBuilder()The contexts of the query.
.google.cloud.aiplatform.v1beta1.RagContexts contexts = 2;
| Returns | |
|---|---|
| Type | Description |
RagContextsOrBuilder |
|
getResponse()
public abstract String getResponse()The Retrieval Response.
string response = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The response. |
getResponseBytes()
public abstract ByteString getResponseBytes()The Retrieval Response.
string response = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for response. |
hasContexts()
public abstract boolean hasContexts()The contexts of the query.
.google.cloud.aiplatform.v1beta1.RagContexts contexts = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the contexts field is set. |