This commit is contained in:
Saifeddine ALOUI 2023-11-12 17:55:42 +01:00
parent 13cf777e8c
commit 7d3144ebbb
3 changed files with 6 additions and 4 deletions

View File

@ -1247,7 +1247,8 @@ class LoLLMsAPPI(LollmsApplication):
documentation="!@>Documentation:\n"
if self.config.data_vectorization_build_keys_words:
query = self.personality.fastgen("Create a search query based on the following prompt: "+current_message.content+"\nsearch query: ")
query = self.personality.fast_gen("Create a search query based on the following prompt: "+current_message.content+"\nsearch query: ")
ASCIIColors.cyan(f"Query:{query}")
else:
query = current_message.content
@ -1261,7 +1262,8 @@ class LoLLMsAPPI(LollmsApplication):
documentation="!@>Documentation:\n"
if self.config.data_vectorization_build_keys_words:
query = self.personality.fastgen("Create a search query based on the following prompt: "+current_message.content+"\nsearch query: ")
query = self.personality.fast_gen("Create a search query based on the following prompt: "+current_message.content+"\nsearch query: ")
ASCIIColors.cyan(f"Query:{query}")
else:
query = current_message.content

@ -1 +1 @@
Subproject commit aaf2a9959854c84088298369d141ae64ce4ca122
Subproject commit 0631ce4b2c9bcdd18de05cf371f49d4c4151c81e

@ -1 +1 @@
Subproject commit 12db9b64c9f21f89d3a2ff773230bb8ac87570dd
Subproject commit d780a77d78d368ee5273a7b2b013e68846274e18