mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-23 22:42:32 +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_fts(query)
|
||||
|
||||
if len(query)>0:
|
||||
if len(skills)>0:
|
||||
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"
|
||||
for i,(category, title, content) in enumerate(skills):
|
||||
|
Loading…
Reference in New Issue
Block a user