diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index 922bbe8d..5920e24b 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -6,6 +6,7 @@ "AI Model Configuration": "AI Model Configuration" }, "common": { + "empty": " ", "back": "Back", "confirm": "Confirm", "cancel": "Cancel", @@ -157,7 +158,7 @@ "table_notes": "Table notes", "field_notes": "Field notes", "select_all": "Select all", - "mysql_data_source": "Modify MySQL data source", + "mysql_data_source": "Modify {msg} data source", "configuration_information": "Configuration information", "data_source": "Do you want to delete the data source: {msg}?", "operate_with_caution": "After being deleted, the data source cannot be intelligently counted. Please operate with caution.", @@ -165,6 +166,35 @@ "cannot_be_deleted": "The chart of the dashboard uses this data source and cannot be deleted.", "got_it": "Got it" }, + "model": { + "default_model": "Default model", + "model_type": "Model type", + "basic_model": "Basic model", + "set_successfully": "Set successfully", + "operate_with_caution": "After the system default model is replaced, the result of intelligent question will be affected, please operate with caution.", + "system_default_model": "Do you want to set {msg} as the system default model?", + "ai_model_configuration": "AI model configuration", + "system_default_model_de": "System default model", + "relevant_results_found": "No relevant results found", + "add_model": "Add model", + "select_supplier": "Select supplier", + "the_basic_model": "Please set a name for the basic model", + "the_basic_model_de": "Please select the basic model", + "model_name": "Model name", + "custom_model_name": "Custom model name", + "enter_to_add": "For models not listed in the list, just enter the model name and press Enter to add", + "api_domain_name": "API domain name", + "advanced_settings": "Advanced settings", + "model_parameters": "Model parameters", + "add": "Add", + "parameters": "Parameters", + "display_name": "Display name", + "parameter_value": "Parameter value", + "text": "Text", + "number": "Number", + "parameter_type": "Parameter type", + "verification_successful": "Verification successful" + }, "chat": { "chart_type": { "table": "Table", diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index de00385b..02c7544c 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -6,6 +6,7 @@ "AI Model Configuration": "模型配置" }, "common": { + "empty": "", "back": "返回", "confirm": "确认", "cancel": "取消", @@ -157,7 +158,7 @@ "table_notes": "表备注", "field_notes": "字段备注", "select_all": "全选", - "mysql_data_source": "修改 MySQL 数据源", + "mysql_data_source": "修改 {msg} 数据源", "configuration_information": "配置信息", "data_source": "是否删除数据源:{msg}?", "operate_with_caution": "被删除后,将无法对该数据源进行智能问数,请谨慎操作。", @@ -165,6 +166,35 @@ "cannot_be_deleted": "仪表板的图表使用了该数据源,不可删除。", "got_it": "知道了" }, + "model": { + "default_model": "默认模型", + "model_type": "模型类型", + "basic_model": "基础模型", + "set_successfully": "设置成功", + "operate_with_caution": "系统默认模型被替换后,智能问数的结果将会受到影响,请谨慎操作。", + "system_default_model": "是否设置 {msg} 为系统默认模型?", + "ai_model_configuration": "AI 模型配置", + "system_default_model_de": "系统默认模型", + "relevant_results_found": "没有找到相关结果", + "add_model": "添加模型", + "select_supplier": "选择供应商", + "the_basic_model": "请给基础模型设置一个名称", + "the_basic_model_de": "请选择基础模型", + "model_name": "模型名称", + "custom_model_name": "自定义的模型名称", + "enter_to_add": "列表中未列出的模型,直接输入模型名称,回车即可添加", + "api_domain_name": "API 域名", + "advanced_settings": "高级设置", + "model_parameters": "模型参数", + "add": "添加", + "parameters": "参数", + "display_name": "显示名称", + "parameter_value": "参数值", + "text": "文本", + "number": "数值", + "parameter_type": "参数类型", + "verification_successful": "校验成功" + }, "chat": { "chart_type": { "table": "明细表", diff --git a/frontend/src/views/ds/Card.vue b/frontend/src/views/ds/Card.vue index 31604e0e..73fdbf7e 100644 --- a/frontend/src/views/ds/Card.vue +++ b/frontend/src/views/ds/Card.vue @@ -1,12 +1,11 @@