Interface RetrievalOrBuilder (3.47.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.v1.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.v1.VertexAISearch vertex_ai_search = 2;

Returns
Type Description
VertexAISearchOrBuilder

hasVertexAiSearch()

public abstract boolean hasVertexAiSearch()

Set to use data source powered by Vertex AI Search.

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

Returns
Type Description
boolean

Whether the vertexAiSearch field is set.