mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-25 07:11:05 +00:00
fix
This commit is contained in:
parent
70f01e0b8b
commit
4c1e7c9b08
@ -637,7 +637,7 @@ class LollmsApplication(LoLLMsCom):
|
|||||||
# skills = self.skills_library.query_entry(query)
|
# skills = self.skills_library.query_entry(query)
|
||||||
skills = self.skills_library.query_entry_fts(query)
|
skills = self.skills_library.query_entry_fts(query)
|
||||||
|
|
||||||
if len(query)>0:
|
if len(skills)>0:
|
||||||
if knowledge=="":
|
if knowledge=="":
|
||||||
knowledge=f"!@>knowledge:\n!@>instructions: Use the knowledge to answer {self.config.user_name}'s message. If you don't have enough information or you don't know how to answer, just say you do not know.\n"
|
knowledge=f"!@>knowledge:\n!@>instructions: Use the knowledge to answer {self.config.user_name}'s message. If you don't have enough information or you don't know how to answer, just say you do not know.\n"
|
||||||
for i,(category, title, content) in enumerate(skills):
|
for i,(category, title, content) in enumerate(skills):
|
||||||
|
Loading…
Reference in New Issue
Block a user