From 5d4b5faa0f50aa2649d64fd7bfb2a5ab46f95fdc Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Sun, 17 Mar 2024 02:11:09 +0100 Subject: [PATCH] fix --- lollms/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lollms/app.py b/lollms/app.py index b9522a1..63c2375 100644 --- a/lollms/app.py +++ b/lollms/app.py @@ -142,7 +142,7 @@ class LollmsApplication(LoLLMsCom): title = self._generate_text(title_prompt) # Determine category - category_prompt = f"!@>system: Analyze the following title and content, and determine the most appropriate generic category that encompasses the main subject or theme. The category should be broad enough to include multiple related skill entries. Provide only the category name without any additional explanations or context:\n\n!@>Title: {title}\n!@>Content: {content}\n\n!@>Category:" + category_prompt = f"!@>system:Analyze the following title and content, and determine the most appropriate generic category that encompasses the main subject or theme. The category should be broad enough to include multiple related skill entries. Provide only the category name without any additional explanations or context:\n\nTitle:\n{title}\nContent:\n{content}\n\n!@>Category:\n" category = self._generate_text(category_prompt) # Add entry to skills library