From 21d8ff61bb6f17e5ff7d64fd5716da550348b67c Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 19 Aug 2024 17:57:47 +0200 Subject: [PATCH] refac --- backend/config.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/backend/config.py b/backend/config.py index ae9ad7146..9e61b4c1e 100644 --- a/backend/config.py +++ b/backend/config.py @@ -952,10 +952,7 @@ TITLE_GENERATION_PROMPT_TEMPLATE = PersistentConfig( "task.title.prompt_template", os.environ.get( "TITLE_GENERATION_PROMPT_TEMPLATE", - """Here is the query: -{{prompt:middletruncate:8000}} - -Create a concise, 3-5 word title with an emoji as a title for the previous query in the given language. Suitable Emojis for the summary can be used to enhance understanding but avoid quotation marks or special formatting. RESPOND ONLY WITH THE TITLE TEXT. + """Create a concise, 3-5 word title with an emoji as a title for the prompt in the given language. Suitable Emojis for the summary can be used to enhance understanding but avoid quotation marks or special formatting. RESPOND ONLY WITH THE TITLE TEXT IN THE GIVEN LANGUAGE. Examples of titles: 📉 Stock Market Trends @@ -963,7 +960,9 @@ Examples of titles: Evolution of Music Streaming Remote Work Productivity Tips Artificial Intelligence in Healthcare -🎮 Video Game Development Insights""", +🎮 Video Game Development Insights + +Prompt: {{prompt:middletruncate:8000}}""", ), )