From 7d368776cef58e56b3a9a8371e0244d0440c53ab Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Tue, 17 Dec 2024 13:31:44 +0100 Subject: [PATCH] Update discussions_database.py --- lollms/databases/discussions_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lollms/databases/discussions_database.py b/lollms/databases/discussions_database.py index 5f53b83..247fd38 100644 --- a/lollms/databases/discussions_database.py +++ b/lollms/databases/discussions_database.py @@ -776,7 +776,7 @@ class Discussion: if len(self.text_files)>0: if self.lollms.config.rag_vectorizer=="semantic": from lollmsvectordb.lollms_vectorizers.semantic_vectorizer import SemanticVectorizer - vectorizer = SemanticVectorizer(self.lollms.config.rag_vectorizer_model, self.config.rag_vectorizer_execute_remote_code) + vectorizer = SemanticVectorizer(self.lollms.config.rag_vectorizer_model, self.lollms.config.rag_vectorizer_execute_remote_code) elif self.lollms.config.rag_vectorizer=="tfidf": from lollmsvectordb.lollms_vectorizers.tfidf_vectorizer import TFIDFVectorizer vectorizer = TFIDFVectorizer()