fix linting error

This commit is contained in:
asoderlind 2023-10-15 09:12:00 +02:00
parent 9b6ae46e92
commit 4752ce5250

View File

@ -18,7 +18,8 @@ class FaissStore(BaseVectorStore):
self.path, embeddings
)
# Check that the word_embedding_dimension of the index matches the word_embedding_dimension of the embeddings
# Check that the word_embedding_dimension of the index matches
# the word_embedding_dimension of the embeddings
if settings.EMBEDDINGS_NAME == HUGGINGFACE_MODEL_NAME:
try:
word_embedding_dimension = embeddings.client[1].word_embedding_dimension