mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #3667] Model-generated title and query language mismatch #28870
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 @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.