Unverified Commit ddc8d22e authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #2599 from open-webui/websearch

feat: websearch
parents b6b71c08 66734a70
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
"{{modelName}} is thinking...": "{{modelName}} 正在思考...", "{{modelName}} is thinking...": "{{modelName}} 正在思考...",
"{{user}}'s Chats": "{{user}} 的聊天记录", "{{user}}'s Chats": "{{user}} 的聊天记录",
"{{webUIName}} Backend Required": "需要 {{webUIName}} 后端", "{{webUIName}} Backend Required": "需要 {{webUIName}} 后端",
"A task model is used when performing tasks such as generating titles for chats and web search queries": "",
"a user": "用户", "a user": "用户",
"About": "关于", "About": "关于",
"Account": "账户", "Account": "账户",
...@@ -210,6 +211,7 @@ ...@@ -210,6 +211,7 @@
"Full Screen Mode": "全屏模式", "Full Screen Mode": "全屏模式",
"General": "通用", "General": "通用",
"General Settings": "通用设置", "General Settings": "通用设置",
"Generating search query": "",
"Generation Info": "生成信息", "Generation Info": "生成信息",
"Good Response": "反应良好", "Good Response": "反应良好",
"h:mm a": "h:mm a", "h:mm a": "h:mm a",
...@@ -284,6 +286,8 @@ ...@@ -284,6 +286,8 @@
"New Chat": "新聊天", "New Chat": "新聊天",
"New Password": "新密码", "New Password": "新密码",
"No results found": "未找到结果", "No results found": "未找到结果",
"No search query generated": "",
"No search results found": "",
"No source available": "没有可用来源", "No source available": "没有可用来源",
"Not factually correct": "与事实不符", "Not factually correct": "与事实不符",
"Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.": "注意:如果设置了最低分数,搜索只会返回分数大于或等于最低分数的文档。", "Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.": "注意:如果设置了最低分数,搜索只会返回分数大于或等于最低分数的文档。",
...@@ -367,6 +371,8 @@ ...@@ -367,6 +371,8 @@
"Search Documents": "搜索文档", "Search Documents": "搜索文档",
"Search Models": "", "Search Models": "",
"Search Prompts": "搜索提示词", "Search Prompts": "搜索提示词",
"Search Results": "",
"Searching the web for '{{searchQuery}}'": "",
"See readme.md for instructions": "查看 readme.md 以获取说明", "See readme.md for instructions": "查看 readme.md 以获取说明",
"See what's new": "查看最新内容", "See what's new": "查看最新内容",
"Seed": "种子", "Seed": "种子",
...@@ -388,7 +394,7 @@ ...@@ -388,7 +394,7 @@
"Set Model": "设置模型", "Set Model": "设置模型",
"Set reranking model (e.g. {{model}})": "设置重排模型(例如 {{model}})", "Set reranking model (e.g. {{model}})": "设置重排模型(例如 {{model}})",
"Set Steps": "设置步骤", "Set Steps": "设置步骤",
"Set Title Auto-Generation Model": "设置标题自动生成模型", "Set Task Model": "",
"Set Voice": "设置声音", "Set Voice": "设置声音",
"Settings": "设置", "Settings": "设置",
"Settings saved successfully!": "设置已保存", "Settings saved successfully!": "设置已保存",
...@@ -473,6 +479,8 @@ ...@@ -473,6 +479,8 @@
"Web": "网页", "Web": "网页",
"Web Loader Settings": "Web 加载器设置", "Web Loader Settings": "Web 加载器设置",
"Web Params": "Web 参数", "Web Params": "Web 参数",
"Web Search Disabled": "",
"Web Search Enabled": "",
"Webhook URL": "Webhook URL", "Webhook URL": "Webhook URL",
"WebUI Add-ons": "WebUI 插件", "WebUI Add-ons": "WebUI 插件",
"WebUI Settings": "WebUI 设置", "WebUI Settings": "WebUI 设置",
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
"{{modelName}} is thinking...": "{{modelName}} 正在思考...", "{{modelName}} is thinking...": "{{modelName}} 正在思考...",
"{{user}}'s Chats": "{{user}} 的聊天", "{{user}}'s Chats": "{{user}} 的聊天",
"{{webUIName}} Backend Required": "需要 {{webUIName}} 後台", "{{webUIName}} Backend Required": "需要 {{webUIName}} 後台",
"A task model is used when performing tasks such as generating titles for chats and web search queries": "",
"a user": "使用者", "a user": "使用者",
"About": "關於", "About": "關於",
"Account": "帳號", "Account": "帳號",
...@@ -210,6 +211,7 @@ ...@@ -210,6 +211,7 @@
"Full Screen Mode": "全螢幕模式", "Full Screen Mode": "全螢幕模式",
"General": "常用", "General": "常用",
"General Settings": "常用設定", "General Settings": "常用設定",
"Generating search query": "",
"Generation Info": "生成信息", "Generation Info": "生成信息",
"Good Response": "優秀的回應", "Good Response": "優秀的回應",
"h:mm a": "h:mm a", "h:mm a": "h:mm a",
...@@ -284,6 +286,8 @@ ...@@ -284,6 +286,8 @@
"New Chat": "新增聊天", "New Chat": "新增聊天",
"New Password": "新密碼", "New Password": "新密碼",
"No results found": "沒有找到結果", "No results found": "沒有找到結果",
"No search query generated": "",
"No search results found": "",
"No source available": "沒有可用的來源", "No source available": "沒有可用的來源",
"Not factually correct": "與真實資訊不相符", "Not factually correct": "與真實資訊不相符",
"Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.": "註:如果設置最低分數,則搜索將只返回分數大於或等於最低分數的文檔。", "Note: If you set a minimum score, the search will only return documents with a score greater than or equal to the minimum score.": "註:如果設置最低分數,則搜索將只返回分數大於或等於最低分數的文檔。",
...@@ -367,6 +371,8 @@ ...@@ -367,6 +371,8 @@
"Search Documents": "搜尋文件", "Search Documents": "搜尋文件",
"Search Models": "", "Search Models": "",
"Search Prompts": "搜尋提示詞", "Search Prompts": "搜尋提示詞",
"Search Results": "",
"Searching the web for '{{searchQuery}}'": "",
"See readme.md for instructions": "查看 readme.md 獲取指南", "See readme.md for instructions": "查看 readme.md 獲取指南",
"See what's new": "查看最新內容", "See what's new": "查看最新內容",
"Seed": "種子", "Seed": "種子",
...@@ -388,7 +394,7 @@ ...@@ -388,7 +394,7 @@
"Set Model": "設定模型", "Set Model": "設定模型",
"Set reranking model (e.g. {{model}})": "設定重新排序模型(例如:{{model}})", "Set reranking model (e.g. {{model}})": "設定重新排序模型(例如:{{model}})",
"Set Steps": "設定步數", "Set Steps": "設定步數",
"Set Title Auto-Generation Model": "設定自動生成標題用模型", "Set Task Model": "",
"Set Voice": "設定語音", "Set Voice": "設定語音",
"Settings": "設定", "Settings": "設定",
"Settings saved successfully!": "成功儲存設定", "Settings saved successfully!": "成功儲存設定",
...@@ -473,6 +479,8 @@ ...@@ -473,6 +479,8 @@
"Web": "網頁", "Web": "網頁",
"Web Loader Settings": "Web 載入器設定", "Web Loader Settings": "Web 載入器設定",
"Web Params": "Web 參數", "Web Params": "Web 參數",
"Web Search Disabled": "",
"Web Search Enabled": "",
"Webhook URL": "Webhook URL", "Webhook URL": "Webhook URL",
"WebUI Add-ons": "WebUI 擴充套件", "WebUI Add-ons": "WebUI 擴充套件",
"WebUI Settings": "WebUI 設定", "WebUI Settings": "WebUI 設定",
......
...@@ -137,8 +137,9 @@ type Config = { ...@@ -137,8 +137,9 @@ type Config = {
default_prompt_suggestions: PromptSuggestion[]; default_prompt_suggestions: PromptSuggestion[];
features: { features: {
auth: boolean; auth: boolean;
enable_signup: boolean;
auth_trusted_header: boolean; auth_trusted_header: boolean;
enable_signup: boolean;
enable_web_search?: boolean;
enable_image_generation: boolean; enable_image_generation: boolean;
enable_admin_export: boolean; enable_admin_export: boolean;
enable_community_sharing: boolean; enable_community_sharing: boolean;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment