Interface RetrievalOrBuilder (3.44.0)

public interface RetrievalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisableAttribution()

public abstract boolean getDisableAttribution()

Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation.

bool disable_attribution = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disableAttribution.

getSourceCase()

public abstract Retrieval.SourceCase getSourceCase()
Returns
Type Description
Retrieval.SourceCase

getVertexAiSearch()

public abstract VertexAISearch getVertexAiSearch()

Set to use data source powered by Vertex AI Search.

.google.cloud.aiplatform.v1beta1.VertexAISearch vertex_ai_search = 2;

Returns
Type Description
VertexAISearch

The vertexAiSearch.

getVertexAiSearchOrBuilder()

public abstract VertexAISearchOrBuilder getVertexAiSearchOrBuilder()

Set to use data source powered by Vertex AI Search.

.google.cloud.aiplatform.v1beta1.VertexAISearch vertex_ai_search = 2;

Returns
Type Description
VertexAISearchOrBuilder

getVertexRagStore()

public abstract VertexRagStore getVertexRagStore()

Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService.

.google.cloud.aiplatform.v1beta1.VertexRagStore vertex_rag_store = 4;

Returns
Type Description
VertexRagStore

The vertexRagStore.

getVertexRagStoreOrBuilder()

public abstract VertexRagStoreOrBuilder getVertexRagStoreOrBuilder()

Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService.

.google.cloud.aiplatform.v1beta1.VertexRagStore vertex_rag_store = 4;

Returns
Type Description
VertexRagStoreOrBuilder

hasVertexAiSearch()

public abstract boolean hasVertexAiSearch()

Set to use data source powered by Vertex AI Search.

.google.cloud.aiplatform.v1beta1.VertexAISearch vertex_ai_search = 2;

Returns
Type Description
boolean

Whether the vertexAiSearch field is set.

hasVertexRagStore()

public abstract boolean hasVertexRagStore()

Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService.

.google.cloud.aiplatform.v1beta1.VertexRagStore vertex_rag_store = 4;

Returns
Type Description
boolean

Whether the vertexRagStore field is set.