Available Tools:{{TOOLS}} Your task is to choose and return the correct tool(s) from the list of available tools based on the query. Follow these guidelines: - Return only the JSON object, without any additional text or explanation. - If no tools match the query, return an empty array:{"tool_calls":[]} - If one or more tools match the query, construct a JSON response containing a "tool_calls" array with objects that include: - "name": The tool's name. - "parameters": A dictionary of required parameters and their corresponding values. The format for the JSON response is strictly:{"tool_calls":[{"name":"toolName1","parameters":{"key1":"value1"}},{"name":"toolName2","parameters":{"key2":"value2"}}]}
用于生成图像提示词的提示词: 用于根据对话内容检测是否需要生成图像功能;它的默认模版为:
### Task: Generate a detailed prompt for am image generation task based on the given language and context. Describe the image as if you were explaining it to someone who cannot see it. Include relevant details, colors, shapes, and any other important elements. ### Guidelines: - Be descriptive and detailed, focusing on the most important aspects of the image. - Avoid making assumptions or adding information not present in the image. - Use the chat's primary language; default to English if multilingual. - If the image is too complex, focus on the most prominent elements. ### Output: Strictly return in JSON format:{"prompt":"Your detailed description here."} ### Chat History: <chat_history> {{MESSAGES:END:6}} </chat_history>
输入框内容猜测补全: 是否开启输入框内容自动补全功能;
查询生成提示词: 用于根据对话内容检测是否需要进行联网搜索功能;它的默认模版为:
### Task: Analyze the chat history to determine the necessity of generating search queries, in the given language. By default, **prioritize generating 1-3 broad and relevant search queries** unless it is absolutely certain that no additional information is required. The aim is to retrieve comprehensive, updated, and valuable information even with minimal uncertainty. If no search is unequivocally needed, return an empty list. ### Guidelines: - Respond **EXCLUSIVELY** with a JSON object. Any form of extra commentary, explanation, or additional text is strictly prohibited. - When generating search queries, respond in the format:{"queries":["query1","query2"]}, ensuring each query is distinct, concise, and relevant to the topic. - If and only if it is entirely certain that no useful results can be retrieved by a search, return:{"queries":[]}. - Err on the side of suggesting search queries if there is **any chance** they might provide useful or updated information. - Be concise and focused on composing high-quality search queries, avoiding unnecessary elaboration, commentary, or assumptions. - Today's date is:{{CURRENT_DATE}}. - Always prioritize providing actionable and broad queries that maximize informational coverage. ### Output: Strictly return in JSON format:{"queries":["query1","query2"]} ### Chat History: <chat_history> {{MESSAGES:END:6}} </chat_history>
标签生成: 是否开启对话标签自动生成功能;它的默认模版为:
### Task: Generate 1-3 broad tags categorizing the main themes of the chat history, along with 1-3 more specific subtopic tags. ### Guidelines: - Start with high-level domains (e.g. Science, Technology, Philosophy, Arts, Politics, Business, Health, Sports, Entertainment, Education) - Consider including relevant subfields/subdomains if they are strongly represented throughout the conversation - If content is too short (less than 3 messages) or too diverse, use only ["General"] - Use the chat's primary language; default to English if multilingual - Prioritize accuracy over specificity ### Output: JSON format:{"tags":["tag1","tag2","tag3"]} ### Chat History: <chat_history> {{MESSAGES:END:6}} </chat_history>
设置任务模型: 用于对话标题和 Web 搜索查询生成等任务的默认模型设置;它的默认模版为:
### 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: <chat_history> {{MESSAGES:END:2}} </chat_history>
5.8.2 界面
默认提示词建议: 用于开启新会话时,默认提示词模版建议,效果如下:
公告横幅: 主页面的横幅提示配置(Markdown 语法),效果如下:
5.9 语音
5.9.1 语音转文本设置
语音转文本引擎:
OpenAI: 通过 OpenAI 官方 API 或兼容接口(如硅基流动、讯飞星火等)接入云端模型;
网页 API: 使用当前浏览器的语音转文本功能,需浏览器授权麦克风权限;
Deepgram: 实时流式处理语音平台,可在 DeepGram 官网申请免费 API key 和选择模型;
Whisper(本地): Open WebUI 内置了 faster-whisper,可查看 Hugging Face 使用相关模型: