mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #9905] Title generation prompt not working #54358
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Aleprex on GitHub (Feb 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9905
Bug Report
Environment
Open WebUI Version: [v0.5.11]
Ollama : [0.5.7]
Operating System: [ Kubuntu 22.04]
Description
From the latest versions, the chat Title is no longer generated and the emoji is no longer added, but only the first sentence of the inserted prompt is repeated.
in the settings there is still a prompt to generate emojis but it seems that the system completely ignores it:
Here is the query:
{{prompt:middletruncate:8000}}
Create a concise, 3-5 word phrase with an emoji as a title for the previous query. 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:
📉 Stock Market Trends
🍪 Perfect Chocolate Chip Recipe
Evolution of Music Streaming
Remote Work Productivity Tips
Artificial Intelligence in Healthcare
🎮 Video Game Development Insights
@silentoplayz commented on GitHub (Feb 13, 2025):
You are using an outdated
Title Generation Prompt, without the correct variables for chat title generation to function properly. See here, or see down below for theDEFAULT_TITLE_GENERATION_PROMPT_TEMPLATE.You can copy and paste this prompt to use for your
Title Generation Promptinside of Open WebUI. Any modifications to the prompt must keep the structure intact. You can change the task, the guidelines, and even the examples. But I recommend to keep everything else as is.