mirror of
https://github.com/open-webui/open-webui
synced 2024-11-07 00:59:52 +00:00
refac
This commit is contained in:
parent
de8f5b9c13
commit
21d8ff61bb
@ -952,10 +952,7 @@ TITLE_GENERATION_PROMPT_TEMPLATE = PersistentConfig(
|
|||||||
"task.title.prompt_template",
|
"task.title.prompt_template",
|
||||||
os.environ.get(
|
os.environ.get(
|
||||||
"TITLE_GENERATION_PROMPT_TEMPLATE",
|
"TITLE_GENERATION_PROMPT_TEMPLATE",
|
||||||
"""Here is the query:
|
"""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.
|
||||||
{{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.
|
|
||||||
|
|
||||||
Examples of titles:
|
Examples of titles:
|
||||||
📉 Stock Market Trends
|
📉 Stock Market Trends
|
||||||
@ -963,7 +960,9 @@ Examples of titles:
|
|||||||
Evolution of Music Streaming
|
Evolution of Music Streaming
|
||||||
Remote Work Productivity Tips
|
Remote Work Productivity Tips
|
||||||
Artificial Intelligence in Healthcare
|
Artificial Intelligence in Healthcare
|
||||||
🎮 Video Game Development Insights""",
|
🎮 Video Game Development Insights
|
||||||
|
|
||||||
|
Prompt: {{prompt:middletruncate:8000}}""",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user