Skip to content

Commit e64ebcb

Browse files
added back SQ
1 parent d9b3c6c commit e64ebcb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

elysia/tools/retrieval/chunk.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,10 @@ async def get_vectoriser(
246246
arg: collection_config.vectorizer_config.model[arg]
247247
for arg in collection_config.vectorizer_config.model
248248
if arg in valid_args and arg != "vector_index_config"
249-
}
249+
},
250+
vector_index_config=Configure.VectorIndex.hnsw(
251+
quantizer=Configure.VectorIndex.Quantizer.sq() # scalar quantization
252+
),
250253
)
251254

252255
# otherwise use default weaviate embedding service

0 commit comments

Comments
 (0)