deleteContextVarTip:'This variable has been set as a context query variable, and removing it will impact the normal use of the dataset. If you still need to delete it, please reselect it in the context section.',
},
},
tools:{
title:'Tools',
tips:'Tools provide a standard API call method, taking user input or variables as request parameters for querying external data as context.',
toolsInUse:'{{count}} tools in use',
modal:{
title:'Tool',
toolType:{
title:'Tool Type',
placeholder:'Please select the tool type',
},
name:{
title:'Name',
placeholder:'Please enter the name',
},
variableName:{
title:'Variable Name',
placeholder:'Please enter the variable name',
},
},
},
conversationHistory:{
title:'Conversation History',
description:'Set prefix names for conversation roles',
...
...
@@ -109,6 +129,47 @@ const translation = {
assistantPrefix:'Assistant prefix',
},
},
toolbox:{
title:'TOOLBOX',
},
moderation:{
title:'Content moderation',
description:'Content moderation',
allEnabled:'INPUT/OUTPUT Content Enabled',
inputEnabled:'INPUT Content Enabled',
outputEnabled:'OUTPUT Content Enabled',
modal:{
title:'Content moderation settings',
provider:{
title:'Provider',
openai:'OpenAI Moderation',
openaiTip:{
prefix:'OpenAI Moderation requires an OpenAI API key configured in the ',
suffix:'.',
},
keywords:'Keywords',
},
keywords:{
tip:'One per line, separated by line breaks. Up to 100 characters per line.',
placeholder:'One per line, separated by line breaks',
line:'Line',
},
content:{
input:'Moderate INPUT Content',
output:'Moderate OUTPUT Content',
preset:'Preset replies',
placeholder:'Preset replies content here',
condition:'Moderate INPUT and OUTPUT Content enabled at least one',
fromApi:'Preset replies are returned by API',
errorMessage:'Preset replies cannot be empty',
supportMarkdown:'Markdown supported',
},
openaiNotConfig:{
before:'OpenAI Moderation requires an OpenAI API key configured in the',
lengthError:'API-key length cannot be less than 5 characters',
},
},
confirm:{
desc:'Deleting the WebHook might cause the extension points configured for this API-based Extension to fail and produce errors. Please proceed with caution.',
desc:'Here you can modify the properties and working methods of the dataset.',
form:{
name:'Dataset Name',
namePlaceholder:'Please enter the dataset name',
nameError:'Name cannot be empty',
desc:'Dataset description',
descInfo:'Please write a clear textual description to outline the content of the dataset. This description will be used as a basis for matching when selecting from multiple datasets for inference.',
descPlaceholder:'Describe what is in this data set. A detailed description allows AI to access the content of the data set in a timely manner. If empty, Dify will use the default hit strategy.',
descWrite:'Learn how to write a good dataset description.',