From 4752ce525008cc5d2d4c046a2a762dba4492de48 Mon Sep 17 00:00:00 2001 From: asoderlind Date: Sun, 15 Oct 2023 09:12:00 +0200 Subject: [PATCH] fix linting error --- application/vectorstore/faiss.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/vectorstore/faiss.py b/application/vectorstore/faiss.py index c5af0e6c..856eaee2 100644 --- a/application/vectorstore/faiss.py +++ b/application/vectorstore/faiss.py @@ -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