RagVectorDbConfig_RagManagedDb_Ann class final
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.
- Inheritance
-
- Object
- ProtoMessage
- RagVectorDbConfig_RagManagedDb_Ann
Constructors
- RagVectorDbConfig_RagManagedDb_Ann({int treeDepth = 0, int leafCount = 0})
-
RagVectorDbConfig_RagManagedDb_Ann.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- leafCount → int
-
Number of leaf nodes in the tree-based structure. Each leaf node
contains groups of closely related vectors along with their
corresponding centroid.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- treeDepth → int
-
The depth of the tree-based structure. Only depth values of 2 and 3 are
supported.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String