mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
fix: code-based extension (#1477)
This commit is contained in:
@@ -133,13 +133,13 @@ const translation = {
|
||||
title: '工具箱',
|
||||
},
|
||||
moderation: {
|
||||
title: '内容审核',
|
||||
description: '内容审核',
|
||||
allEnabled: '审核输入/审核输出 内容已启用',
|
||||
inputEnabled: '审核输入内容已启用',
|
||||
outputEnabled: '审核输出内容已启用',
|
||||
title: '内容审查',
|
||||
description: '您可以调用审查 API 或者维护敏感词库来使模型更安全地输出。',
|
||||
allEnabled: '审查输入/审查输出 内容已启用',
|
||||
inputEnabled: '审查输入内容已启用',
|
||||
outputEnabled: '审查输出内容已启用',
|
||||
modal: {
|
||||
title: '内容审核设置',
|
||||
title: '内容审查设置',
|
||||
provider: {
|
||||
title: '类别',
|
||||
openai: 'OpenAI Moderation',
|
||||
@@ -155,17 +155,17 @@ const translation = {
|
||||
line: '行',
|
||||
},
|
||||
content: {
|
||||
input: '审核输入内容',
|
||||
output: '审核输出内容',
|
||||
input: '审查输入内容',
|
||||
output: '审查输出内容',
|
||||
preset: '预设回复',
|
||||
placeholder: '这里预设回复内容',
|
||||
condition: '审核输入内容和审核输出内容至少启用一项',
|
||||
condition: '审查输入内容和审查输出内容至少启用一项',
|
||||
fromApi: '预设回复通过 API 返回',
|
||||
errorMessage: '预设回复不能为空',
|
||||
supportMarkdown: '支持 Markdown',
|
||||
},
|
||||
openaiNotConfig: {
|
||||
before: 'OpenAI 内容审核需要在',
|
||||
before: 'OpenAI 内容审查需要在',
|
||||
after: '中配置 OpenAI API 密钥。',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user