fix: use default threading in Fastembed (#846)

<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->
- set the parallel option to None in Fastembed's embedding function

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
This commit is contained in:
lxobr 2025-05-20 16:05:58 +02:00 committed by GitHub
parent 5c36a5dd8a
commit 9d9ea63236
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,7 +44,7 @@ class FastembedEmbeddingEngine(EmbeddingEngine):
embeddings = self.embedding_model.embed(
text,
batch_size=len(text),
parallel=0,
parallel=None,
)
return list(embeddings)