Class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbANN
Config for ANN search. RagManagedDb uses a tree-based structure to partition data and facilitate faster searches. As a tradeoff, it requires longer indexing time and manual triggering of index rebuild via the ImportRagFiles and UpdateRagCorpus API.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1.Data
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class GoogleCloudAiplatformV1beta1RagVectorDbConfigRagManagedDbANN : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LeafCount
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.
Declaration
[JsonProperty("leafCount")]
public virtual int? LeafCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
TreeDepth
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.
Declaration
[JsonProperty("treeDepth")]
public virtual int? TreeDepth { get; set; }
Property Value
Type | Description |
---|---|
int? |