diff --git a/vector.go b/vector.go index 1057cf9..90e7d4e 100644 --- a/vector.go +++ b/vector.go @@ -52,6 +52,7 @@ const ( IndexOptimizedForRecall = "recall" IndexOptimizedForLatency = "latency" IndexOptimizedForMemoryEfficient = "memory-efficient" + IndexOptimizedForBinary = "binary" ) const DefaultIndexOptimization = IndexOptimizedForRecall @@ -60,6 +61,7 @@ var SupportedVectorIndexOptimizations = map[string]int{ IndexOptimizedForRecall: 0, IndexOptimizedForLatency: 1, IndexOptimizedForMemoryEfficient: 2, + IndexOptimizedForBinary: 3, } // Reverse maps vector index optimizations': int -> string @@ -67,4 +69,5 @@ var VectorIndexOptimizationsReverseLookup = map[int]string{ 0: IndexOptimizedForRecall, 1: IndexOptimizedForLatency, 2: IndexOptimizedForMemoryEfficient, + 3: IndexOptimizedForBinary, }