Package com.google.cloud.aiplatform.v1
Interface RagVectorDbConfig.RagManagedDb.ANNOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RagVectorDbConfig.RagManagedDb.ANN,RagVectorDbConfig.RagManagedDb.ANN.Builder
- Enclosing class:
- RagVectorDbConfig.RagManagedDb
public static interface RagVectorDbConfig.RagManagedDb.ANNOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintNumber of leaf nodes in the tree-based structure.intThe depth of the tree-based structure.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTreeDepth
int getTreeDepth()The depth of the tree-based structure. Only depth values of 2 and 3 are supported. Recommended value is 2 if you have if you have O(10K) files in the RagCorpus and set this to 3 if more than that. Default value is 2.
int32 tree_depth = 1;- Returns:
- The treeDepth.
-
getLeafCount
int getLeafCount()Number of leaf nodes in the tree-based structure. Each leaf node contains groups of closely related vectors along with their corresponding centroid. Recommended value is 10 * sqrt(num of RagFiles in your RagCorpus). Default value is 500.
int32 leaf_count = 2;- Returns:
- The leafCount.
-