dify/web/i18n/th-TH/app-debug.ts

565 lines
43 KiB
TypeScript

const translation = {
feature: {
fileUpload: {
title: 'การอัปโหลดไฟล์',
description: 'กล่องข้อความแชทช่วยให้สามารถอัปโหลดรูปภาพ เอกสาร และไฟล์อื่นๆ ได้',
supportedTypes: 'ประเภทไฟล์ที่รองรับ',
numberLimit: 'จำนวนสูงสุดที่อัปโหลดได้',
modalTitle: 'การตั้งค่าการอัปโหลดไฟล์',
},
imageUpload: {
title: 'การอัปโหลดรูปภาพ',
description: 'อนุญาตให้อัปโหลดรูปภาพได้',
supportedTypes: 'ประเภทไฟล์ที่รองรับ',
numberLimit: 'จำนวนสูงสุดที่อัปโหลดได้',
modalTitle: 'การตั้งค่าการอัปโหลดรูปภาพ',
},
bar: {
empty: 'เปิดใช้งานคุณสมบัติเพื่อเพิ่มประสบการณ์ผู้ใช้ของเว็บแอป',
enableText: 'เปิดใช้งานคุณสมบัติแล้ว',
manage: 'จัดการ',
},
documentUpload: {
title: 'เอกสาร',
description: 'การเปิดใช้งานเอกสารจะทำให้โมเดลสามารถรับเอกสารและตอบคำถามเกี่ยวกับเอกสารเหล่านั้นได้',
},
audioUpload: {
title: 'เสียง',
description: 'การเปิดใช้งานเสียงจะทำให้โมเดลสามารถประมวลผลไฟล์เสียงเพื่อการถอดข้อความและการวิเคราะห์ได้',
},
groupChat: {
title: 'ปรับปรุงแชท',
description: 'เพิ่มการตั้งค่าก่อนการสนทนาสําหรับแอปสามารถปรับปรุงประสบการณ์ของผู้ใช้ได้',
},
groupExperience: {
title: 'ปรับปรุงประสบการณ์',
},
conversationOpener: {
description: 'ในแอปแชท ประโยคแรกที่ AI พูดกับผู้ใช้อย่างแข็งขันมักจะใช้เป็นการต้อนรับ',
title: 'ที่เปิดการสนทนา',
},
suggestedQuestionsAfterAnswer: {
title: 'ติดตาม',
resDes: '3 ข้อเสนอแนะสําหรับผู้ใช้คําถามถัดไป',
tryToAsk: 'ลองถาม',
description: 'การตั้งค่าคําแนะนําคําถามถัดไปจะช่วยให้ผู้ใช้แชทได้ดีขึ้น',
},
moreLikeThis: {
title: 'เพิ่มเติมเช่นนี้',
tip: 'การใช้คุณสมบัตินี้จะมีค่าใช้จ่ายโทเค็นเพิ่มเติม',
generateNumTip: 'จํานวนครั้งที่สร้างขึ้นแต่ละครั้ง',
description: 'สร้างข้อความหลายข้อความพร้อมกัน จากนั้นแก้ไขและสร้างต่อไป',
},
speechToText: {
description: 'สามารถใช้การป้อนข้อมูลด้วยเสียงในการแชทได้',
title: 'คําพูดเป็นข้อความ',
resDes: 'เปิดใช้งานการป้อนข้อมูลด้วยเสียง',
},
textToSpeech: {
title: 'ข้อความเป็นคําพูด',
resDes: 'เปิดใช้งานข้อความเป็นเสียง',
description: 'ข้อความการสนทนาสามารถแปลงเป็นคําพูดได้',
},
citation: {
title: 'การอ้างอิงและการระบุแหล่งที่มา',
resDes: 'เปิดใช้งานการอ้างอิงและการระบุแหล่งที่มา',
description: 'แสดงเอกสารต้นฉบับและส่วนที่มาของเนื้อหาที่สร้างขึ้น',
},
annotation: {
scoreThreshold: {
accurateMatch: 'การจับคู่ที่แม่นยํา',
description: 'ใช้เพื่อกําหนดเกณฑ์ความคล้ายคลึงกันสําหรับการตอบกลับคําอธิบายประกอบ',
easyMatch: 'จับคู่ง่าย',
title: 'เกณฑ์คะแนน',
},
matchVariable: {
title: 'ตัวแปรการจับคู่',
choosePlaceholder: 'เลือกตัวแปรการจับคู่',
},
removeConfirm: 'ลบคําอธิบายประกอบนี้ ?',
cacheManagement: 'คำ อธิบาย',
title: 'คําอธิบายประกอบ ตอบกลับ',
remove: 'ถอด',
resDes: 'เปิดใช้งานการตอบสนองคําอธิบายประกอบ',
add: 'เพิ่มคําอธิบายประกอบ',
edit: 'แก้ไขคําอธิบายประกอบ',
cached: 'มีคําอธิบายประกอบ',
description: 'คุณสามารถเพิ่มการตอบกลับคุณภาพสูงลงในแคชด้วยตนเองเพื่อจับคู่ลําดับความสําคัญกับคําถามของผู้ใช้ที่คล้ายกัน',
},
dataSet: {
queryVariable: {
ok: 'ตกลง, ได้',
noVar: 'ไม่ใช่ตัวแปร',
choosePlaceholder: 'เลือกตัวแปรแบบสอบถาม',
tip: 'ตัวแปรนี้จะถูกใช้เป็นอินพุตแบบสอบถามสําหรับการดึงบริบท โดยรับข้อมูลบริบทที่เกี่ยวข้องกับอินพุตของตัวแปรนี้',
unableToQueryDataSetTip: 'ไม่สามารถสืบค้นความรู้ได้สําเร็จ โปรดเลือกตัวแปรการสืบค้นบริบทในส่วนบริบท',
noVarTip: 'โปรดสร้างตัวแปรภายใต้ส่วนตัวแปร',
title: 'ตัวแปรคิวรี',
contextVarNotEmpty: 'ตัวแปรการสืบค้นบริบทต้องไม่ว่างเปล่า',
deleteContextVarTip: 'ตัวแปรนี้ถูกตั้งค่าเป็นตัวแปรแบบสอบถามบริบท และการลบตัวแปรนี้จะส่งผลต่อการใช้ความรู้ตามปกติ หากคุณยังต้องการลบ โปรดเลือกใหม่ในส่วนบริบท',
unableToQueryDataSet: 'ไม่สามารถสืบค้นความรู้ได้',
deleteContextVarTitle: 'ต้องการลบตัวแปร “{{varName}}” หรือไม่?',
},
noDataSet: 'ไม่พบความรู้',
notSupportSelectMulti: 'ปัจจุบันรองรับความรู้เพียงหนึ่งความรู้',
selected: 'เลือกความรู้',
title: 'ความรู้',
toCreate: 'ไปที่สร้าง',
noData: 'คุณสามารถนําเข้าความรู้เป็นบริบทได้',
selectTitle: 'เลือกข้อมูลอ้างอิง ความรู้',
},
tools: {
modal: {
toolType: {
title: 'ประเภทเครื่องมือ',
placeholder: 'โปรดเลือกประเภทเครื่องมือ',
},
name: {
title: 'ชื่อ',
placeholder: 'กรุณากรอกชื่อ',
},
variableName: {
title: 'ชื่อตัวแปร',
placeholder: '',
},
title: '',
},
title: ' ',
tips: ' API ',
toolsInUse: ' {{count}} ',
},
conversationHistory: {
editModal: {
userPrefix: '',
title: '',
assistantPrefix: '',
},
description: '',
learnMore: '',
title: '',
tip: ' <histories> ',
},
toolbox: {
title: ' ',
},
moderation: {
modal: {
provider: {
openaiTip: {
suffix: '.',
prefix: ' OpenAI OpenAI API ',
},
keywords: '',
openai: ' OpenAI',
title: '',
},
keywords: {
placeholder: '',
tip: ' 100 ',
line: '',
},
content: {
output: ' OUTPUT ',
errorMessage: '',
fromApi: ' API',
supportMarkdown: ' Markdown',
placeholder: '',
condition: ' INPUT OUTPUT ',
input: ' INPUT',
preset: '',
},
openaiNotConfig: {
after: '',
before: ' OpenAI OpenAI API ',
},
title: '',
},
contentEnableLabel: '',
outputEnabled: '',
title: '',
allEnabled: ' & ',
inputEnabled: '',
description: ' API ',
},
},
pageTitle: {
line1: '',
line2: '',
},
promptMode: {
advancedWarning: {
ok: ', ',
description: ' PROMPT ',
title: ' PROMPT ',
learnMore: '',
},
operation: {
addMessage: '',
},
switchBack: '',
contextMissing: '',
simple: ' PROMPT ',
advanced: '',
},
operation: {
automatic: '',
applyConfig: '',
disagree: '',
userAction: '',
stopResponding: '',
cancelAgree: '',
addFeature: '',
cancelDisagree: '',
agree: '',
resetConfig: ' ',
debugConfig: '',
},
notSetAPIKey: {
settingBtn: '',
trailFinished: '',
description: ' LLM ',
title: ' LLM',
},
trailUseGPT4Info: {
description: ' gpt-4 API',
title: ' gpt-4 ',
},
codegen: {
applyChanges: '',
generate: '',
instructionPlaceholder: '',
noDataLine1: '',
title: '',
overwriteConfirmMessage: ' ?',
loading: '...',
generatedCodeTitle: '',
apply: '',
overwriteConfirmTitle: '',
instruction: ' ',
resTitle: '',
noDataLine2: '',
description: ' ',
},
generate: {
template: {
pythonDebugger: {
name: ' Python',
instruction: '',
},
translation: {
instruction: '',
name: '',
},
professionalAnalyst: {
name: '',
instruction: ' ',
},
excelFormulaExpert: {
name: ' Excel',
instruction: ' Excel ',
},
travelPlanning: {
name: '',
instruction: '',
},
SQLSorcerer: {
name: ' SQL',
instruction: ' SQL',
},
GitGud: {
name: ' gud',
instruction: ' Git ',
},
meetingTakeaways: {
name: '',
instruction: ' ',
},
writingsPolisher: {
name: '',
instruction: '',
},
},
generate: '',
instruction: ' ',
apply: '',
resTitle: '',
title: '',
tryIt: '',
overwriteTitle: '',
overwriteMessage: '',
description: ' ',
loading: '...',
latest: '',
dismiss: '',
optional: '',
optimizationNote: '',
press: '',
idealOutput: '',
to: '',
instructionPlaceHolderLine2: ' JSON .',
versions: '',
newNoDataLine1: ' .',
instructionPlaceHolderLine3: ' ',
instructionPlaceHolderLine1: ' ',
instructionPlaceHolderTitle: ' Prompt :',
version: '',
insertContext: '',
idealOutputPlaceholder: ' ...',
optimizePromptTooltip: '',
codeGenInstructionPlaceHolderLine: ' ',
},
resetConfig: {
title: '?',
message: ' ',
},
errorMessage: {
waitForFileUpload: '/',
notSelectModel: '',
waitForBatchResponse: '',
waitForResponse: '',
waitForImgUpload: '',
queryRequired: '',
nameOfKeyRequired: ': {{key}} ',
valueOfVarRequired: ' {{key}} ',
},
warningMessage: {
timeoutExceeded: ' ',
},
variableTable: {
key: '',
typeString: '',
typeSelect: '',
type: '',
name: '',
action: '',
},
varKeyError: {
canNoBeEmpty: '{{key}} ',
tooLong: '{{key}} 30 ',
notValid: '{{key}} ',
notStartWithNumber: '{{key}} ',
keyAlreadyExists: '{{key}} ',
},
otherError: {
queryNoBeEmpty: '',
promptNoBeEmpty: '',
historyNoBeEmpty: '',
},
variableConfig: {
'file': {
image: {
name: '',
},
audio: {
name: '',
},
document: {
name: '',
},
video: {
name: '',
},
custom: {
description: '',
name: ' ',
createPlaceholder: ' .doc',
},
supportFileTypes: '',
},
'errorMsg': {
atLeastOneOption: '',
labelNameRequired: '',
optionRepeat: '',
varNameCanBeRepeat: '',
},
'hide': '',
'required': '',
'number': '',
'inputPlaceholder': '',
'uploadFileTypes': '',
'content': '',
'addOption': '',
'labelName': '',
'options': '',
'stringTitle': '',
'noDefaultValue': '',
'varName': '',
'defaultValue': '',
'fieldType': '',
'selectDefaultValue': '',
'string': '',
'text-input': '',
'multi-files': '',
'maxLength': '',
'addModalTitle': '',
'localUpload': '',
'single-file': '',
'select': '',
'maxNumberOfUploads': '',
'editModalTitle': '',
'apiBasedVar': ' API',
'paragraph': '',
'both': '',
'checkbox': 'Checkbox',
'jsonSchema': ' JSON',
'json': ' JSON',
'optional': '',
'unit': '',
'placeholder': ' ',
'noDefaultSelected': '',
'displayName': '',
'startChecked': '',
'startSelectedOption': '',
'uploadMethod': '',
'tooltips': '',
'showAllSettings': '',
'unitPlaceholder': ' ',
'defaultValuePlaceholder': '',
'placeholderPlaceholder': '',
'tooltipsPlaceholder': '',
'description': ' {{varName}}',
'notSet': ' {{input}} ',
'maxNumberTip': ' < {{docLimit}}, < {{imgLimit}}, < {{audioLimit}}, < {{videoLimit}}',
},
vision: {
visionSettings: {
resolution: '',
uploadMethod: '',
localUpload: '',
low: '',
high: '',
title: '',
uploadLimit: '',
both: '',
url: 'URL',
resolutionTooltip: ' 512 x 512 65 API \n\nความละเอียดสูงจะเริ่มจากการให้โมเดลเห็นภาพความละเอียดต่ำก่อน 512px 129 ',
},
onlySupportVisionModelTip: '',
name: '',
description: '',
settings: '',
},
voice: {
voiceSettings: {
autoPlayEnabled: '',
autoPlay: '',
voice: '',
resolutionTooltip: '',
autoPlayDisabled: '',
title: '',
language: '',
},
name: '',
settings: '',
description: '',
defaultDisplay: '',
},
openingStatement: {
tooShort: ' 20 ',
openingQuestion: '',
writeOpener: '',
add: '',
title: '',
noDataPlaceHolder: ' AI ',
placeholder: ' {{variable}}',
openingQuestionPlaceholder: ' {{variable}} ',
varTip: ' {{variable}}',
notIncludeKey: ': {{key}}. ',
},
modelConfig: {
modeType: {
completion: '',
chat: '',
},
model: '',
title: '',
setTone: '',
},
inputs: {
run: '',
userInputField: '',
queryPlaceholder: '',
queryTitle: '',
title: ' & ',
noVar: ' ',
previewTitle: '',
chatVarTip: ' ',
noPrompt: '',
completionVarTip: ' ',
},
datasetConfig: {
retrieveOneWay: {
title: ' N-to-1',
description: ' ',
},
retrieveMultiWay: {
title: '',
description: ' ',
},
score_thresholdTip: '',
settingTitle: '',
rerankModelRequired: '',
knowledgeTip: ' " " ',
embeddingModelRequired: '',
score_threshold: '',
retrieveChangeTip: '',
top_k: ' K',
params: '',
top_kTip: ' Top K max_tokens ',
},
assistantType: {
chatAssistant: {
name: '',
description: '',
},
agentAssistant: {
name: '',
description: '',
},
name: '',
},
agent: {
agentModeType: {
functionCall: '',
ReACT: '',
},
setting: {
maximumIterations: {
description: '',
name: '',
},
name: '',
description: ' ',
},
tools: {
enabled: '',
name: ' ',
description: ' LLM ',
},
agentMode: '',
firstPrompt: '',
buildInPrompt: '',
promptPlaceholder: '',
nextIteration: '',
agentModeDes: '',
},
orchestrate: '',
variableTitle: ' ',
noResult: '',
formattingChangedText: ' ?',
publishAs: '',
result: '',
formattingChangedTitle: '',
completionSubTitle: '',
chatSubTitle: ' ',
debugAsMultipleModel: '',
variableTip: ' ',
debugAsSingleModel: '',
duplicateModel: '',
autoAddVar: '?',
promptTip: ' AI {{input}} ',
notSetVar: ' "{{input}}" ',
}
export default translation