Timothy Jaeryang Baek 3 miesięcy temu
rodzic
commit
52010accc9
1 zmienionych plików z 7 dodań i 11 usunięć
  1. 7 11
      backend/open_webui/config.py

+ 7 - 11
backend/open_webui/config.py

@@ -1101,24 +1101,20 @@ Generate a concise, 3-5 word title with an emoji summarizing the chat history.
 - Use emojis that enhance understanding of the topic, but avoid quotation marks or special formatting.
 - Write the title in the chat's primary language; default to English if multilingual.
 - Prioritize accuracy over excessive creativity; keep it clear and simple.
-
-### Examples:
-- 📉 Stock Market Trends
-- 🍪 Perfect Chocolate Chip Recipe
-- Evolution of Music Streaming
-- Remote Work Productivity Tips
-- Artificial Intelligence in Healthcare
-- 🎮 Video Game Development Insights
-
 ### Output:
 JSON format: { "title": "your concise title here" }
-
+### Examples:
+- { "title": "📉 Stock Market Trends" },
+- { "title": "🍪 Perfect Chocolate Chip Recipe" },
+- { "title": "Evolution of Music Streaming" },
+- { "title": "Remote Work Productivity Tips" },
+- { "title": "Artificial Intelligence in Healthcare" },
+- { "title": "🎮 Video Game Development Insights" }
 ### Chat History:
 <chat_history>
 {{MESSAGES:END:2}}
 </chat_history>"""
 
-
 TAGS_GENERATION_PROMPT_TEMPLATE = PersistentConfig(
     "TAGS_GENERATION_PROMPT_TEMPLATE",
     "task.tags.prompt_template",