You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6b001b8
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -153,7 +160,7 @@ class CollectionInfo(BaseModel):
153
160
)
154
161
vectors_count: Optional[int] =Field(
155
162
default=None,
156
-
description="Approximate number of vectors in collection. All vectors in collection are available for querying. Calculated as `points_count x vectors_per_point`. Where `vectors_per_point` is a number of named vectors in schema.",
163
+
description="DEPRECATED: Approximate number of vectors in collection. All vectors in collection are available for querying. Calculated as `points_count x vectors_per_point`. Where `vectors_per_point` is a number of named vectors in schema.",
157
164
)
158
165
indexed_vectors_count: Optional[int] =Field(
159
166
default=None,
@@ -220,6 +227,7 @@ def __str__(self) -> str:
220
227
221
228
GREEN="green"
222
229
YELLOW="yellow"
230
+
GREY="grey"
223
231
RED="red"
224
232
225
233
@@ -400,6 +408,18 @@ class CreateShardingKeyOperation(BaseModel, extra="forbid"):
Defines which datatype should be used to represent vectors in the storage. Choosing different datatypes allows to optimize memory usage and performance vs accuracy. - For `float32` datatype - vectors are stored as single-precision floating point numbers, 4bytes. - For `uint8` datatype - vectors are stored as unsigned 8-bit integers, 1byte. It expects vector elements to be in range `[0, 255]`.
414
+
"""
415
+
416
+
def__str__(self) ->str:
417
+
returnstr(self.value)
418
+
419
+
FLOAT32="float32"
420
+
UINT8="uint8"
421
+
422
+
403
423
classDatetimeRange(BaseModel, extra="forbid"):
404
424
"""
405
425
Range filter request
@@ -1018,6 +1038,10 @@ class MoveShardOperation(BaseModel, extra="forbid"):
Copy file name to clipboardExpand all lines: qdrant_client/proto/collections.proto
+16-3Lines changed: 16 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,19 @@ syntax = "proto3";
2
2
packageqdrant;
3
3
optioncsharp_namespace="Qdrant.Client.Grpc";
4
4
5
+
enumDatatype {
6
+
Default=0;
7
+
Float32=1;
8
+
Uint8=2;
9
+
}
10
+
5
11
messageVectorParams {
6
12
uint64size=1; // Size of the vectors
7
13
Distancedistance=2; // Distance function used for comparing vectors
8
14
optionalHnswConfigDiffhnsw_config=3; // Configuration of vector HNSW graph. If omitted - the collection configuration will be used
9
15
optionalQuantizationConfigquantization_config=4; // Configuration of vector quantization config. If omitted - the collection configuration will be used
10
16
optionalboolon_disk=5; // If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM.
17
+
optionalDatatypedatatype=6; // Data type of the vectors
11
18
}
12
19
13
20
messageVectorParamsDiff {
@@ -93,6 +100,7 @@ enum CollectionStatus {
93
100
Green=1; // All segments are ready
94
101
Yellow=2; // Optimization in process
95
102
Red=3; // Something went wrong
103
+
Grey=4; // Optimization is pending
96
104
}
97
105
98
106
enumPayloadSchemaType {
@@ -448,9 +456,8 @@ enum ReplicaState {
448
456
Partial=2; // The shard is partially loaded and is currently receiving data from other shards
449
457
Initializing=3; // Collection is being created
450
458
Listener=4; // A shard which receives data, but is not used for search; Useful for backup shards
451
-
PartialSnapshot=5; // Snapshot shard transfer is in progress; Updates should not be sent to (and are ignored by) the shard
459
+
PartialSnapshot=5; // Deprecated: snapshot shard transfer is in progress; Updates should not be sent to (and are ignored by) the shard
452
460
Recovery=6; // Shard is undergoing recovered by an external node; Normally rejects updates, accepts updates if force is true
0 commit comments