Skip to content

Commit 59a1317

Browse files
committed
Add missing multivector param for spfresh
1 parent 896c333 commit 59a1317

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

weaviate/collections/classes/config_vector_index.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ def spfresh(
613613
search_probe: Optional[int] = None,
614614
centroids_index_type: Optional[VectorCentroidsIndexType] = None,
615615
quantizer: Optional[_QuantizerConfigCreate] = None,
616+
multi_vector: Optional[_MultiVectorConfigCreate] = None,
616617
) -> _VectorIndexConfigSPFreshCreate:
617618
"""Create a `_VectorIndexConfigSPFreshCreate` object to be used when defining the SPFresh vector index configuration of Weaviate.
618619
@@ -630,7 +631,7 @@ def spfresh(
630631
searchProbe=search_probe,
631632
centroidsIndexType=centroids_index_type,
632633
quantizer=quantizer,
633-
multivector=None,
634+
multivector=multi_vector,
634635
)
635636

636637
@staticmethod

0 commit comments

Comments
 (0)