Is your feature request related to a problem? Please describe.
After executing a specific query, the model generates an automatic title to summarize the results. However, this title is not always accurately reflecting coming from the correct linguistic context. For example, when querying in Chinese, the generated title might be in English or another non-Chinese language.
Describe the solution you'd like
Through my experimentation and trials, I found that modifying the prompt words within the query can effectively adjust the output title from the model. The adjusted prompt is as follows:
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.ANSWER USING THE SAME LANGUAGE AS THE QUERY.
Examples of titles:
📉 Stock Market Trends
🍪 완벽한 초콜릿 칩 레시피
流媒体音乐的演变
Советы по повышению производительности удаленной работы
Künstliche Intelligenz im Gesundheitswesen
🎮 ビデオゲーム開発の洞察
Additional context
After my test, it works well on the gemma2 model
Originally created by @ckappgit on GitHub (Jul 6, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3667
**Is your feature request related to a problem? Please describe.**
After executing a specific query, the model generates an automatic title to summarize the results. However, this title is not always accurately reflecting coming from the correct linguistic context. For example, when querying in Chinese, the generated title might be in English or another non-Chinese language.
**Describe the solution you'd like**
Through my experimentation and trials, I found that modifying the prompt words within the query can effectively adjust the output title from the model. The adjusted prompt is as follows:
```
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.ANSWER USING THE SAME LANGUAGE AS THE QUERY.
Examples of titles:
📉 Stock Market Trends
🍪 완벽한 초콜릿 칩 레시피
流媒体音乐的演变
Советы по повышению производительности удаленной работы
Künstliche Intelligenz im Gesundheitswesen
🎮 ビデオゲーム開発の洞察
```
**Additional context**
After my test, it works well on the gemma2 model
I intended to submit a pull request but couldn't locate the specific source code.
<!-- gh-comment-id:2211639219 -->
@ckappgit commented on GitHub (Jul 6, 2024):
I intended to submit a pull request but couldn't locate the specific source code.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @ckappgit on GitHub (Jul 6, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3667
Is your feature request related to a problem? Please describe.
After executing a specific query, the model generates an automatic title to summarize the results. However, this title is not always accurately reflecting coming from the correct linguistic context. For example, when querying in Chinese, the generated title might be in English or another non-Chinese language.
Describe the solution you'd like
Through my experimentation and trials, I found that modifying the prompt words within the query can effectively adjust the output title from the model. The adjusted prompt is as follows:
Additional context
After my test, it works well on the gemma2 model
@ckappgit commented on GitHub (Jul 6, 2024):
I intended to submit a pull request but couldn't locate the specific source code.