From 65d6699c4a92687a1180c5593b72faae179d11d7 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Wed, 7 Feb 2024 13:08:38 +0100 Subject: [PATCH] upgraded configuration --- configs/config.yaml | 4 ++-- elf_docker_cfg/personal/configs/lollms_elf_config.yaml | 2 +- elf_test_cfg/personal/configs/lollms_elf_config.yaml | 2 +- elf_test_cfg/personal/configs/lollms_elf_local_config.yaml | 2 +- lollms/configs/config.yaml | 4 ++-- lollms/server/configs/config.yaml | 2 +- lollms/server/events/lollms_rag_events.py | 2 +- personal_data/configs/lollms_discord_local_config.yaml | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/configs/config.yaml b/configs/config.yaml index db8b412..6b48b82 100644 --- a/configs/config.yaml +++ b/configs/config.yaml @@ -1,5 +1,5 @@ # =================== Lord Of Large Language Multimodal Systems Configuration file =========================== -version: 51 +version: 52 binding_name: null model_name: null @@ -100,7 +100,7 @@ audio_auto_send_input: true audio_silenceTimer: 5000 # Data vectorization -use_discussions_history: false # Activate vectorizing previous conversations +activate_ltm: false # Activate vectorizing previous conversations summerize_discussion: false # activate discussion summary (better but adds computation time) max_summary_size: 512 # in tokens data_vectorization_visualize_on_vectorization: false diff --git a/elf_docker_cfg/personal/configs/lollms_elf_config.yaml b/elf_docker_cfg/personal/configs/lollms_elf_config.yaml index fd5fc3c..46769e8 100644 --- a/elf_docker_cfg/personal/configs/lollms_elf_config.yaml +++ b/elf_docker_cfg/personal/configs/lollms_elf_config.yaml @@ -70,7 +70,7 @@ audio_auto_send_input: true audio_silenceTimer: 5000 # Data vectorization -use_discussions_history: false # Activate vectorizing previous conversations +activate_ltm: false # Activate vectorizing previous conversations summerize_discussion: false # activate discussion summary (better but adds computation time) max_summary_size: 512 # in tokens data_vectorization_visualize_on_vectorization: false diff --git a/elf_test_cfg/personal/configs/lollms_elf_config.yaml b/elf_test_cfg/personal/configs/lollms_elf_config.yaml index fd5fc3c..46769e8 100644 --- a/elf_test_cfg/personal/configs/lollms_elf_config.yaml +++ b/elf_test_cfg/personal/configs/lollms_elf_config.yaml @@ -70,7 +70,7 @@ audio_auto_send_input: true audio_silenceTimer: 5000 # Data vectorization -use_discussions_history: false # Activate vectorizing previous conversations +activate_ltm: false # Activate vectorizing previous conversations summerize_discussion: false # activate discussion summary (better but adds computation time) max_summary_size: 512 # in tokens data_vectorization_visualize_on_vectorization: false diff --git a/elf_test_cfg/personal/configs/lollms_elf_local_config.yaml b/elf_test_cfg/personal/configs/lollms_elf_local_config.yaml index fd5fc3c..46769e8 100644 --- a/elf_test_cfg/personal/configs/lollms_elf_local_config.yaml +++ b/elf_test_cfg/personal/configs/lollms_elf_local_config.yaml @@ -70,7 +70,7 @@ audio_auto_send_input: true audio_silenceTimer: 5000 # Data vectorization -use_discussions_history: false # Activate vectorizing previous conversations +activate_ltm: false # Activate vectorizing previous conversations summerize_discussion: false # activate discussion summary (better but adds computation time) max_summary_size: 512 # in tokens data_vectorization_visualize_on_vectorization: false diff --git a/lollms/configs/config.yaml b/lollms/configs/config.yaml index db8b412..6b48b82 100644 --- a/lollms/configs/config.yaml +++ b/lollms/configs/config.yaml @@ -1,5 +1,5 @@ # =================== Lord Of Large Language Multimodal Systems Configuration file =========================== -version: 51 +version: 52 binding_name: null model_name: null @@ -100,7 +100,7 @@ audio_auto_send_input: true audio_silenceTimer: 5000 # Data vectorization -use_discussions_history: false # Activate vectorizing previous conversations +activate_ltm: false # Activate vectorizing previous conversations summerize_discussion: false # activate discussion summary (better but adds computation time) max_summary_size: 512 # in tokens data_vectorization_visualize_on_vectorization: false diff --git a/lollms/server/configs/config.yaml b/lollms/server/configs/config.yaml index 38535e0..93eda6a 100644 --- a/lollms/server/configs/config.yaml +++ b/lollms/server/configs/config.yaml @@ -74,7 +74,7 @@ audio_auto_send_input: true audio_silenceTimer: 5000 # Data vectorization -use_discussions_history: false # Activate vectorizing previous conversations +activate_ltm: false # Activate vectorizing previous conversations summerize_discussion: false # activate discussion summary (better but adds computation time) max_summary_size: 512 # in tokens data_vectorization_visualize_on_vectorization: false diff --git a/lollms/server/events/lollms_rag_events.py b/lollms/server/events/lollms_rag_events.py index 7278f1a..9761214 100644 --- a/lollms/server/events/lollms_rag_events.py +++ b/lollms/server/events/lollms_rag_events.py @@ -33,7 +33,7 @@ lollmsElfServer = LOLLMSElfServer.get_instance() def add_events(sio:socketio): @sio.on('upgrade_vectorization') def upgrade_vectorization(): - if lollmsElfServer.config.data_vectorization_activate and lollmsElfServer.config.use_discussions_history: + if lollmsElfServer.config.data_vectorization_activate and lollmsElfServer.config.activate_ltm: try: run_async(partial(sio.emit,'show_progress')) lollmsElfServer.sio.sleep(0) diff --git a/personal_data/configs/lollms_discord_local_config.yaml b/personal_data/configs/lollms_discord_local_config.yaml index fd5fc3c..46769e8 100644 --- a/personal_data/configs/lollms_discord_local_config.yaml +++ b/personal_data/configs/lollms_discord_local_config.yaml @@ -70,7 +70,7 @@ audio_auto_send_input: true audio_silenceTimer: 5000 # Data vectorization -use_discussions_history: false # Activate vectorizing previous conversations +activate_ltm: false # Activate vectorizing previous conversations summerize_discussion: false # activate discussion summary (better but adds computation time) max_summary_size: 512 # in tokens data_vectorization_visualize_on_vectorization: false