Skip to content

Commit d2b2e9f

Browse files
committed
Add dimension truncation
1 parent 7ab5bfe commit d2b2e9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/backend/prepdocslib/searchmanager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ async def create_index(self):
218218
compressions=[
219219
BinaryQuantizationCompression(
220220
compression_name="binary-quantization",
221+
truncation_dimension=1024,
221222
rescoring_options=RescoringOptions(
222223
enable_rescoring=True,
223224
default_oversampling=10,

0 commit comments

Comments
 (0)