Interface RagVectorDbConfig.RagManagedDb.ANNOrBuilder (3.96.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static interface RagVectorDbConfig.RagManagedDb.ANNOrBuilder extends MessageOrBuilder
Methods
public abstract 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 |
| Type |
Description |
int |
The leafCount.
|
public abstract 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 |
| Type |
Description |
int |
The treeDepth.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-05 UTC.
[null,null,["Last updated 2026-08-05 UTC."],[],[]]