DenseEncoder Objects
set_score_threshold
v
(float | None
): The score threshold.
float | None
: The score threshold.
__call__
docs
(List[Any]
): The documents to encode.
List[List[float]]
: The encoded documents.
acall
docs
(List[Any]
): The documents to encode.
List[List[float]]
: The encoded documents.
SparseEncoder Objects
__call__
docs
(List[Any]
): The documents to encode.
List[SparseEmbedding]
: The encoded documents.
acall
docs
(List[Any]
): The documents to encode.
List[SparseEmbedding]
: The encoded documents.