Skip to content

Commit

Permalink
feat: AI+JOB 一期 #2995
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 19001
  • Loading branch information
hLinx committed Sep 20, 2024
1 parent 77a302f commit 03259e6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/frontend/src/components/jb-ai/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<ai-blueking
v-show="isBluekingShow"
ref="aiRef"
:alert="$t('注意!为了回答更准确,大模型可能将你提供的信息作为训练材料,如果内容带有敏感信息,请酌情使用!')"
:loading="isChatHistoryLoading || isContentLoading"
:messages="messageList"
name="AI-assistant"
Expand Down
7 changes: 5 additions & 2 deletions src/frontend/src/i18n/language/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
"主机列表": "Host",
"密文": "Ciphertext",
"标签名支持:汉字 A-Z a-z 0-9 _ - ! # @ $ & % ^ ~ = + .": "only letters, numbers, and _ - ! # @ $ & % ^ ~ = + . are allowed",
"版本日志": "Release note",
"版本日志": "Release notes",
"单次执行": "Run once",
"周期执行": "Round-robin",
"静态 - IP 选择": "Static - IP selector",
Expand Down Expand Up @@ -556,5 +556,8 @@
"2_联系作业平台管理员打开容器执行功能": "2. Contact the JOB administrator to enable the container execution feature.",
"请稍等,我正在处理您的请求...": "Please wait, I’m processing your request...",
"抱歉!出了点问题,请稍后再试。": "Oops! Something went wrong, please try again later.",
"在这里输入你的问题,试试我是否可以帮助到你...": "Type your question here, and see if I can help you..."
"在这里输入你的问题,试试我是否可以帮助到你...": "Type your question here, and see if I can help you...",
"脚本检查": "Script check",
"其它": "AI more",
"注意!为了回答更准确,大模型可能将你提供的信息作为训练材料,如果内容带有敏感信息,请酌情使用!": "Attention! The AI model may use the information you provide as training material. If the content contains sensitive information, please use it cautiously!"
}
5 changes: 4 additions & 1 deletion src/frontend/src/i18n/language/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -556,5 +556,8 @@
"2_联系作业平台管理员打开容器执行功能": "2. 联系作业平台1管理员打开容器执行功能",
"请稍等,我正在处理您的请求...": "请稍等,我正在处理您的请求...",
"抱歉!出了点问题,请稍后再试。": "抱歉!出了点问题,请稍后再试。",
"在这里输入你的问题,试试我是否可以帮助到你...": "在这里输入你的问题,试试我是否可以帮助到你..."
"脚本检查": "脚本检查",
"其它": "其它",
"在这里输入你的问题,试试我是否可以帮助到你...": "在这里输入你的问题,试试我是否可以帮助到你...",
"注意!为了回答更准确,大模型可能将你提供的信息作为训练材料,如果内容带有敏感信息,请酌情使用!": "注意!为了回答更准确,大模型可能将你提供的信息作为训练材料,如果内容带有敏感信息,请酌情使用!"
}

0 comments on commit 03259e6

Please sign in to comment.