public static interface RagVectorDbConfig.RagManagedDbOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAnn()
public abstract RagVectorDbConfig.RagManagedDb.ANN getAnn()Performs an ANN search on RagCorpus. Use this if you have a lot of files (> 10K) in your RagCorpus and want to reduce the search latency.
.google.cloud.vertexai.v1.RagVectorDbConfig.RagManagedDb.ANN ann = 2;
| Returns | |
|---|---|
| Type | Description |
RagVectorDbConfig.RagManagedDb.ANN |
The ann. |
getAnnOrBuilder()
public abstract RagVectorDbConfig.RagManagedDb.ANNOrBuilder getAnnOrBuilder()Performs an ANN search on RagCorpus. Use this if you have a lot of files (> 10K) in your RagCorpus and want to reduce the search latency.
.google.cloud.vertexai.v1.RagVectorDbConfig.RagManagedDb.ANN ann = 2;
| Returns | |
|---|---|
| Type | Description |
RagVectorDbConfig.RagManagedDb.ANNOrBuilder |
|
getKnn()
public abstract RagVectorDbConfig.RagManagedDb.KNN getKnn()Performs a KNN search on RagCorpus. Default choice if not specified.
.google.cloud.vertexai.v1.RagVectorDbConfig.RagManagedDb.KNN knn = 1;
| Returns | |
|---|---|
| Type | Description |
RagVectorDbConfig.RagManagedDb.KNN |
The knn. |
getKnnOrBuilder()
public abstract RagVectorDbConfig.RagManagedDb.KNNOrBuilder getKnnOrBuilder()Performs a KNN search on RagCorpus. Default choice if not specified.
.google.cloud.vertexai.v1.RagVectorDbConfig.RagManagedDb.KNN knn = 1;
| Returns | |
|---|---|
| Type | Description |
RagVectorDbConfig.RagManagedDb.KNNOrBuilder |
|
getRetrievalStrategyCase()
public abstract RagVectorDbConfig.RagManagedDb.RetrievalStrategyCase getRetrievalStrategyCase()| Returns | |
|---|---|
| Type | Description |
RagVectorDbConfig.RagManagedDb.RetrievalStrategyCase |
|
hasAnn()
public abstract boolean hasAnn()Performs an ANN search on RagCorpus. Use this if you have a lot of files (> 10K) in your RagCorpus and want to reduce the search latency.
.google.cloud.vertexai.v1.RagVectorDbConfig.RagManagedDb.ANN ann = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ann field is set. |
hasKnn()
public abstract boolean hasKnn()Performs a KNN search on RagCorpus. Default choice if not specified.
.google.cloud.vertexai.v1.RagVectorDbConfig.RagManagedDb.KNN knn = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the knn field is set. |