This commit is contained in:
Saifeddine ALOUI 2024-12-16 00:09:28 +01:00
parent 20c9e68ac8
commit 39e7d5ea3e
2 changed files with 1 additions and 2 deletions

View File

@ -176,7 +176,7 @@ class LollmsApplication(LoLLMsCom):
self.session = Session(lollms_paths)
self.skills_library = SkillsLibrary(self.lollms_paths.personal_skills_path/(self.config.skills_lib_database_name+".sqlite"))
self.skills_library = SkillsLibrary(self.lollms_paths.personal_skills_path/(self.config.skills_lib_database_name+".sqlite"), config = self.config)
self.tasks_library = TasksLibrary(self)
@staticmethod

View File

@ -10,7 +10,6 @@ class SkillsLibrary:
self.config = config
self._initialize_db()
from lollmsvectordb.lollms_tokenizers.tiktoken_tokenizer import TikTokenTokenizer
self.config = config
if config is not None:
vectorizer = self.config.rag_vectorizer
if vectorizer == "semantic":