Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ParisNeo committed Jun 23, 2024
1 parent 824e02f commit 473ae0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lollms/server/endpoints/lollms_file_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def select_rag_database(client) -> Optional[Dict[str, Path]]:
if db_name:
try:
lollmsElfServer.ShowBlockingMessage("Adding a new database.")
if not PackageManager.check_package_installed_with_version("lollmsvectordb","0.5.5"):
if not PackageManager.check_package_installed_with_version("lollmsvectordb","0.6.0"):
PackageManager.install_or_update("lollmsvectordb")

from lollmsvectordb.lollms_vectorizers.bert_vectorizer import BERTVectorizer
Expand Down Expand Up @@ -263,7 +263,7 @@ def process():
try:
lollmsElfServer.ShowBlockingMessage(f"Mounting database {parts[0]}")
lollmsElfServer.config.rag_databases[index] = lollmsElfServer.config.rag_databases[index] + "::mounted"
if not PackageManager.check_package_installed_with_version("lollmsvectordb","0.5.5"):
if not PackageManager.check_package_installed_with_version("lollmsvectordb","0.6.0"):
PackageManager.install_or_update("lollmsvectordb")

from lollmsvectordb import VectorDatabase
Expand Down Expand Up @@ -326,7 +326,7 @@ def process():
if db_name:
try:
lollmsElfServer.ShowBlockingMessage("Revectorizing the database.")
if not PackageManager.check_package_installed_with_version("lollmsvectordb","0.5.5"):
if not PackageManager.check_package_installed_with_version("lollmsvectordb","0.6.0"):
PackageManager.install_or_update("lollmsvectordb")

from lollmsvectordb.lollms_vectorizers.bert_vectorizer import BERTVectorizer
Expand Down

0 comments on commit 473ae0a

Please sign in to comment.