Skip to content

Commit 5257692

Browse files
authored
Update qdrant-client.ts
1 parent 450fc52 commit 5257692

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/services/code-index/vector-store/qdrant-client.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,13 @@ export class QdrantVectorStore implements IVectorStore {
156156
size: this.vectorSize,
157157
distance: this.DISTANCE_METRIC,
158158
},
159+
"quantization_config": {
160+
"binary": {
161+
"encoding": "two_bits",
162+
"query_encoding": "scalar8bits",
163+
"always_ram": false
164+
}
165+
}
159166
})
160167
created = true
161168
} else {

0 commit comments

Comments
 (0)