Add question guide config (#3403)

* feat:Prompt task (#3337)

* feat:猜你想问自定义功能

* 修改用户输入框部分,去除冗余代码

* 删除不必要的属性

* 删除多余内容

* 修正了格式问题,并实现获取调试和app最新参数

* 修正了几行代码

* feat:Prompt task (#3337)

* feat:猜你想问自定义功能

* 修改用户输入框部分,去除冗余代码

* 删除不必要的属性

* 删除多余内容

* 修正了格式问题,并实现获取调试和app最新参数

* 修正了几行代码

* perf: question gudide code

* fix: i18n

* hunyuan logo

* fix: cq templates

* perf: create question guide code

* udpate svg

---------

Co-authored-by: Jiangween <145003935+Jiangween@users.noreply.github.com>
This commit is contained in:
Archer
2024-12-16 13:49:31 +08:00
committed by GitHub
parent 76d20b2b76
commit bfac393ab1
50 changed files with 775 additions and 397 deletions

View File

@@ -22,10 +22,13 @@
"chat_logs": "Conversation Logs",
"chat_logs_tips": "Logs will record the online, shared, and API (requires chatId) conversation records of this app.",
"config_file_upload": "Click to Configure File Upload Rules",
"config_question_guide": "Configuration guess you want to ask",
"confirm_copy_app_tip": "The system will create an app with the same configuration for you, but permissions will not be copied. Please confirm!",
"confirm_del_app_tip": "Are you sure you want to delete 【{{name}}】 and all of its chat history?",
"confirm_delete_folder_tip": "Confirm to delete this folder? All apps and corresponding conversation records under it will be deleted. Please confirm!",
"copy_one_app": "Create Duplicate",
"core.app.QG.Switch": "Enable guess what you want to ask",
"core.dataset.import.Custom prompt": "Custom Prompt",
"create_copy_success": "Duplicate Created Successfully",
"create_empty_app": "Create Default App",
"create_empty_plugin": "Create Default Plugin",
@@ -94,6 +97,7 @@
"plugin_dispatch_tip": "Adds extra capabilities to the model. The specific plugins to be invoked will be autonomously decided by the model.\nIf a plugin is selected, the Dataset invocation will automatically be treated as a special plugin.",
"publish_channel": "Publish Channel",
"publish_success": "Publish Successful",
"question_guide_tip": "After the conversation, 3 guiding questions will be generated for you.",
"saved_success": "Save Successful",
"search_app": "Search Application",
"setting_app": "Application Settings",

View File

@@ -168,6 +168,7 @@
"common.Rename": "Rename",
"common.Request Error": "Request Error",
"common.Require Input": "Required",
"common.Reset": "Reset",
"common.Restart": "Restart",
"common.Role": "Permission",
"common.Root folder": "Root Folder",
@@ -289,8 +290,12 @@
"core.app.Publish": "Publish",
"core.app.Publish Confirm": "Confirm to Publish App? This Will Immediately Update the App Status on All Publishing Channels.",
"core.app.Publish app tip": "After Publishing the App, All Publishing Channels Will Immediately Use This Version",
"core.app.QG.Custom prompt tip": "To ensure the generated content follows the correct format, [Yellow Prompt] cannot be modified",
"core.app.QG.Custom prompt tip1": "To ensure the generated content follows the correct format, ",
"core.app.QG.Custom prompt tip2": "[Yellow Prompt]",
"core.app.QG.Custom prompt tip3": " cannot be modified",
"core.app.QG.Fixed Prompt": "Please strictly follow the format rules: \nReturn questions in JSON format: ['Question 1', 'Question 2', 'Question 3'].",
"core.app.Question Guide": "Guess What You Want to Ask",
"core.app.Question Guide Tip": "After the conversation ends, 3 guiding questions will be generated.",
"core.app.Quote prompt": "Quote Template Prompt",
"core.app.Quote templates": "Quote Content Templates",
"core.app.Random": "Divergent",
@@ -967,6 +972,7 @@
"plugin.contribute": "Contribute Plugin",
"plugin.go to laf": "Go to Write",
"plugin.path": "Path",
"prompt_input_placeholder": "Please enter the prompt word",
"required": "Required",
"resume_failed": "Resume Failed",
"select_reference_variable": "Select Reference Variable",
@@ -1139,6 +1145,7 @@
"textarea_variable_picker_tip": "Enter \"/\" to select a variable",
"unit.character": "Character",
"unit.minute": "Minute",
"unit.seconds": "Second",
"unusable_variable": "No Usable Variables",
"upload_file_error": "File Upload Failed",
"user.Account": "Account",

View File

@@ -22,10 +22,13 @@
"chat_logs": "对话日志",
"chat_logs_tips": "日志会记录该应用的在线、分享和 API需填写 chatId对话记录",
"config_file_upload": "点击配置文件上传规则",
"config_question_guide": "配置猜你想问",
"confirm_copy_app_tip": "系统将为您创建一个相同配置应用,但权限不会进行复制,请确认!",
"confirm_del_app_tip": "确认删除 【{{name}}】 及其所有聊天记录?",
"confirm_delete_folder_tip": "确认删除该文件夹?将会删除它下面所有应用及对应的聊天记录,请确认!",
"copy_one_app": "创建副本",
"core.app.QG.Switch": "启用猜你想问",
"core.dataset.import.Custom prompt": "自定义提示词",
"create_copy_success": "创建副本成功",
"create_empty_app": "创建空白应用",
"create_empty_plugin": "创建空白插件",
@@ -94,6 +97,7 @@
"plugin_dispatch_tip": "给模型附加获取外部数据的能力,具体调用哪些插件,将由模型自主决定,所有插件都将以非流模式运行。\n若选择了插件知识库调用将自动作为一个特殊的插件。",
"publish_channel": "发布渠道",
"publish_success": "发布成功",
"question_guide_tip": "对话结束后,会为你生成 3 个引导性问题。",
"saved_success": "保存成功",
"search_app": "搜索应用",
"setting_app": "应用配置",

View File

@@ -168,6 +168,7 @@
"common.Rename": "重命名",
"common.Request Error": "请求异常",
"common.Require Input": "必填",
"common.Reset": "恢复默认",
"common.Restart": "重新开始",
"common.Role": "权限",
"common.Root folder": "根目录",
@@ -288,8 +289,12 @@
"core.app.Publish": "发布",
"core.app.Publish Confirm": "确认发布应用?会立即更新所有发布渠道的应用状态。",
"core.app.Publish app tip": "发布应用后,所有发布渠道将会立即使用该版本",
"core.app.QG.Custom prompt tip": "为保证生成的内容遵循正确格式,【黄色部分提示词】不允许修改",
"core.app.QG.Custom prompt tip1": "为保证生成的内容遵循正确格式,",
"core.app.QG.Custom prompt tip2": "【黄色部分提示词】",
"core.app.QG.Custom prompt tip3": "不允许修改",
"core.app.QG.Fixed Prompt": "请严格遵循格式规则:以 JSON 格式返回题目:\n['问题1''问题2''问题3']。",
"core.app.Question Guide": "猜你想问",
"core.app.Question Guide Tip": "对话结束后,会为生成 3 个引导性问题。",
"core.app.Quote prompt": "引用模板提示词",
"core.app.Quote templates": "引用内容模板",
"core.app.Random": "发散",
@@ -966,6 +971,7 @@
"plugin.contribute": "贡献插件",
"plugin.go to laf": "去编写",
"plugin.path": "路径",
"prompt_input_placeholder": "请输入提示词",
"required": "必须",
"resume_failed": "恢复失败",
"select_reference_variable": "选择引用变量",
@@ -1138,6 +1144,7 @@
"textarea_variable_picker_tip": "输入\"/\"可选择变量",
"unit.character": "字符",
"unit.minute": "分钟",
"unit.seconds": "秒",
"unusable_variable": "无可用变量",
"upload_file_error": "上传文件失败",
"user.Account": "账号",

View File

@@ -22,10 +22,13 @@
"chat_logs": "對話紀錄",
"chat_logs_tips": "紀錄會記錄此應用程式的線上、分享和 API需填寫 chatId對話紀錄",
"config_file_upload": "點選設定檔案上傳規則",
"config_question_guide": "配置猜你想問",
"confirm_copy_app_tip": "系統將為您建立一個相同設定的應用程式,但權限不會複製,請確認!",
"confirm_del_app_tip": "確認刪除【{{name}}】及其所有聊天紀錄?",
"confirm_delete_folder_tip": "確認刪除這個資料夾?將會刪除它底下所有應用程式及對應的對話紀錄,請確認!",
"copy_one_app": "建立副本",
"core.app.QG.Switch": "啟用猜你想問",
"core.dataset.import.Custom prompt": "自訂提示詞",
"create_copy_success": "建立副本成功",
"create_empty_app": "建立空白應用程式",
"create_empty_plugin": "建立空白外掛",
@@ -94,6 +97,7 @@
"plugin_dispatch_tip": "賦予模型取得外部資料的能力,具體呼叫哪些外掛,將由模型自主決定,所有外掛都將以非串流模式執行。\n若選擇了外掛知識庫呼叫將自動作為一個特殊的外掛。",
"publish_channel": "發布通道",
"publish_success": "發布成功",
"question_guide_tip": "對話結束後,會為你產生 3 個引導性問題。",
"saved_success": "儲存成功",
"search_app": "搜尋應用程式",
"setting_app": "應用程式設定",

View File

@@ -168,6 +168,7 @@
"common.Rename": "重新命名",
"common.Request Error": "請求錯誤",
"common.Require Input": "必填",
"common.Reset": "恢復預設",
"common.Restart": "重新開始",
"common.Role": "權限",
"common.Root folder": "根目錄",
@@ -289,8 +290,12 @@
"core.app.Publish": "發布",
"core.app.Publish Confirm": "確認發布應用程式?這將立即更新所有發布管道的應用程式狀態。",
"core.app.Publish app tip": "發布應用程式後,所有發布管道將立即使用此版本",
"core.app.QG.Custom prompt tip": "為確保生成的內容遵循正確格式,【黃色部分提示詞】不允許修改",
"core.app.QG.Custom prompt tip1": "為確保生成的內容遵循正確格式,",
"core.app.QG.Custom prompt tip2": "【黃色部分提示詞】",
"core.app.QG.Custom prompt tip3": "不允許修改",
"core.app.QG.Fixed Prompt": "請嚴格遵循格式規則:以 JSON 格式返回題目:\n['問題1''問題2''問題3']。",
"core.app.Question Guide": "猜你想問",
"core.app.Question Guide Tip": "對話結束後,系統會產生 3 個引導性問題。",
"core.app.Quote prompt": "引用範本提示詞",
"core.app.Quote templates": "引用內容範本",
"core.app.Random": "發散",
@@ -966,6 +971,7 @@
"plugin.contribute": "貢獻外掛程式",
"plugin.go to laf": "前往編寫",
"plugin.path": "路徑",
"prompt_input_placeholder": "請輸入提示詞",
"required": "必填",
"resume_failed": "恢復失敗",
"select_reference_variable": "選擇引用變數",
@@ -1138,6 +1144,7 @@
"textarea_variable_picker_tip": "輸入「/」以選擇變數",
"unit.character": "字元",
"unit.minute": "分鐘",
"unit.seconds": "秒",
"unusable_variable": "無可用變數",
"upload_file_error": "上傳檔案失敗",
"user.Account": "帳戶",