From 5c1ecc21dbdd7b823c00a34fa9198a1eeec44c5b Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Mon, 9 Dec 2024 00:29:32 +0100 Subject: [PATCH] fixed --- lollms/server/endpoints/lollms_rag.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lollms/server/endpoints/lollms_rag.py b/lollms/server/endpoints/lollms_rag.py index c2653d8..b39b8bb 100644 --- a/lollms/server/endpoints/lollms_rag.py +++ b/lollms/server/endpoints/lollms_rag.py @@ -77,11 +77,11 @@ def get_user_vectorizer(user_key: str): v = OpenAIVectorizer(lollmsElfServer.config.rag_vectorizer_openai_key) return VectorDatabase( - str(user_folder / f"rag_db_{small_key}.sqlite"), + "", v, TikTokenTokenizer(), - lollmsElfServer.model, chunk_size=lollmsElfServer.config.rag_chunk_size, - overlap=lollmsElfServer.config.rag_overlap + overlap=lollmsElfServer.config.rag_overlap, + model=lollmsElfServer.model, ) async def validate_key(key: str):