From e409ef086ed7b9b79768de4c4cb4b998bdb044bb Mon Sep 17 00:00:00 2001 From: "e." <60777728+jyc001@users.noreply.github.com> Date: Fri, 14 Feb 2025 20:44:48 +0800 Subject: [PATCH] fix:Update TITLE_GENERATION_PROMPT_TEMPLATE in env-configuration.md this prompt has been changed in config.js but not yet changed in the document using the old prompt will let the title generation to be malfunction --- docs/getting-started/env-configuration.md | 28 +++++++++++++++-------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 09bd0c84..86f3538f 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -373,18 +373,26 @@ when using OpenAI-compatible endpoints. Template: ``` -Create a concise, 3-5 word title with an emoji as a title for the chat history, 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: -📉 Stock Market Trends -🍪 Perfect Chocolate Chip Recipe -Evolution of Music Streaming -Remote Work Productivity Tips -Artificial Intelligence in Healthcare -🎮 Video Game Development Insights - +### Task: +Generate a concise, 3-5 word title with an emoji summarizing the chat history. +### Guidelines: +- The title should clearly represent the main theme or subject of the conversation. +- Use emojis that enhance understanding of the topic, but avoid quotation marks or special formatting. +- Write the title in the chat's primary language; default to English if multilingual. +- Prioritize accuracy over excessive creativity; keep it clear and simple. +### Output: +JSON format: { "title": "your concise title here" } +### Examples: +- { "title": "📉 Stock Market Trends" }, +- { "title": "🍪 Perfect Chocolate Chip Recipe" }, +- { "title": "Evolution of Music Streaming" }, +- { "title": "Remote Work Productivity Tips" }, +- { "title": "Artificial Intelligence in Healthcare" }, +- { "title": "🎮 Video Game Development Insights" } +### Chat History: {{MESSAGES:END:2}} + ``` - Persistence: This environment variable is a `PersistentConfig` variable.