Upgraded ui

This commit is contained in:
Saifeddine ALOUI 2024-02-26 22:59:03 +01:00
parent 48826a2e31
commit f62b94639d
5 changed files with 11 additions and 9 deletions

View File

@ -1,5 +1,5 @@
# =================== Lord Of Large Language Multimodal Systems Configuration file ===========================
version: 72
version: 73
binding_name: null
model_name: null
model_variant: null
@ -122,8 +122,10 @@ audio_auto_send_input: true
audio_silenceTimer: 5000
# Data vectorization
activate_ltm: false # Activate vectorizing previous conversations
activate_skills_lib: false # Activate vectorizing previous conversations
skills_lib_database_name: "default" # Default skills database
summerize_discussion: false # activate discussion summary (better but adds computation time)
max_summary_size: 512 # in tokens
data_vectorization_visualize_on_vectorization: false
use_files: true # Activate using files

@ -1 +1 @@
Subproject commit 895f54b422476aaf62e72b8bb0439db94ae15437
Subproject commit 65a5b08e4bb0255605336b056da87d6bf71f744b

View File

@ -195,7 +195,7 @@ class LOLLMSWebUI(LOLLMSElfServer):
ASCIIColors.success("ok")
# prepare vectorization
if self.config.data_vectorization_activate and self.config.activate_ltm:
if self.config.data_vectorization_activate and self.config.activate_skills_lib:
try:
ASCIIColors.yellow("Loading long term memory")
folder = self.lollms_paths.personal_discussions_path/"vectorized_dbs"

File diff suppressed because one or more lines are too long

View File

@ -550,7 +550,7 @@ export default {
},
async toggleLTM(){
this.$store.state.config.activate_ltm =! this.$store.state.config.activate_ltm;
this.$store.state.config.activate_skills_lib =! this.$store.state.config.activate_skills_lib;
await this.applyConfiguration();
socket.emit('upgrade_vectorization');
},
@ -2106,7 +2106,7 @@ export default {
return trimmed_name;
},
UseDiscussionHistory() {
return this.$store.state.config.activate_ltm;
return this.$store.state.config.activate_skills_lib;
},
isReady:{