chore: enchance auto generate prompt (#6564)

This commit is contained in:
Joel
2024-07-23 19:51:38 +08:00
committed by GitHub
parent 2bc0632d0d
commit 0f6a064c08
24 changed files with 565 additions and 293 deletions

View File

@@ -24,7 +24,7 @@ const translation = {
resetConfig: 'Zurücksetzen',
debugConfig: 'Debuggen',
addFeature: 'Funktion hinzufügen',
automatic: 'Automatisch',
automatic: 'Generieren',
stopResponding: 'Antworten stoppen',
agree: 'gefällt mir',
disagree: 'gefällt mir nicht',
@@ -199,23 +199,6 @@ const translation = {
},
},
},
automatic: {
title: 'Automatisierte Anwendungsorchestrierung',
description: 'Beschreiben Sie Ihr Szenario, Dify wird eine Anwendung für Sie orchestrieren.',
intendedAudience: 'Wer ist die Zielgruppe?',
intendedAudiencePlaceHolder: 'z.B. Student',
solveProblem: 'Welche Probleme hoffen sie, dass KI für sie lösen kann?',
solveProblemPlaceHolder: 'z.B. Erkenntnisse extrahieren und Informationen aus langen Berichten und Artikeln zusammenfassen',
generate: 'Generieren',
audiencesRequired: 'Zielgruppe erforderlich',
problemRequired: 'Problem erforderlich',
resTitle: 'Wir haben die folgende Anwendung für Sie orchestriert.',
apply: 'Diese Orchestrierung anwenden',
noData: 'Beschreiben Sie Ihren Anwendungsfall links, die Orchestrierungsvorschau wird hier angezeigt.',
loading: 'Orchestrieren der Anwendung für Sie...',
overwriteTitle: 'Bestehende Konfiguration überschreiben?',
overwriteMessage: 'Das Anwenden dieser Orchestrierung wird die bestehende Konfiguration überschreiben.',
},
resetConfig: {
title: 'Zurücksetzen bestätigen?',
message:

View File

@@ -24,7 +24,7 @@ const translation = {
resetConfig: 'Reset',
debugConfig: 'Debug',
addFeature: 'Add Feature',
automatic: 'Automatic',
automatic: 'Generate',
stopResponding: 'Stop responding',
agree: 'like',
disagree: 'dislike',
@@ -199,22 +199,58 @@ const translation = {
},
},
},
automatic: {
title: 'Automated application orchestration',
description: 'Describe your scenario, Dify will orchestrate an application for you.',
intendedAudience: 'Who is the intended audience?',
intendedAudiencePlaceHolder: 'e.g. Student',
solveProblem: 'What problems do they hope AI can solve for them?',
solveProblemPlaceHolder: 'e.g. Extract insights and summarize information from long reports and articles',
generate: {
title: 'Prompt Generator',
description: 'The Prompt Generator uses the configured model to optimize prompts for higher quality and better structure. Please write clear and detailed instructions.',
tryIt: 'Try it',
instruction: 'Instructions',
instructionPlaceHolder: 'Write clear and specific instructions.',
generate: 'Generate',
audiencesRequired: 'Audiences required',
problemRequired: 'Problem required',
resTitle: 'We have orchestrated the following application for you.',
apply: 'Apply this orchestration',
noData: 'Describe your use case on the left, the orchestration preview will show here.',
resTitle: 'Generated Prompt',
noDataLine1: 'Describe your use case on the left,',
noDataLine2: 'the orchestration preview will show here.',
apply: 'Apply',
loading: 'Orchestrating the application for you...',
overwriteTitle: 'Override existing configuration?',
overwriteMessage: 'Applying this orchestration will override existing configuration.',
overwriteMessage: 'Applying this prompt will override existing configuration.',
template: {
pythonDebugger: {
name: 'Python debugger',
instruction: 'A bot that can generate and debug your code based on your instruction',
},
translation: {
name: 'Translation',
instruction: 'A translator that can translate multiple languages',
},
professionalAnalyst: {
name: 'Professional analyst',
instruction: 'Extract insights, identify risk and distill key information from long reports into single memo',
},
excelFormulaExpert: {
name: 'Excel formula expert',
instruction: 'A chatbot that can help novice users understand, use and create Excel formulas based on user instructions',
},
travelPlanning: {
name: 'Travel planning',
instruction: 'The Travel Planning Assistant is an intelligent tool designed to help users effortlessly plan their trips',
},
SQLSorcerer: {
name: 'SQL sorcerer',
instruction: 'Transform everyday language into SQL queries',
},
GitGud: {
name: 'Git gud',
instruction: 'Generate appropriate Git commands based on user described version control actions',
},
meetingTakeaways: {
name: 'Meeting takeaways',
instruction: 'Distill meetings into concise summaries including discussion topics, key takeaways, and action items',
},
writingsPolisher: {
name: 'Writing polisher',
instruction: 'Use advanced copyediting techniques to improve your writings',
},
},
},
resetConfig: {
title: 'Confirm reset?',

View File

@@ -24,7 +24,7 @@ const translation = {
resetConfig: 'Réinitialiser',
debugConfig: 'Déboguer',
addFeature: 'Ajouter une fonctionnalité',
automatic: 'Automatique',
automatic: 'Générer',
stopResponding: 'Arrêtez de répondre',
agree: 'comme',
disagree: 'déteste',
@@ -199,23 +199,6 @@ const translation = {
},
},
},
automatic: {
title: 'Orchestration automatique d\'application',
description: 'Décrivez votre scénario, Dify orchestrera une application pour vous.',
intendedAudience: 'Qui est le public cible ?',
intendedAudiencePlaceHolder: 'par exemple. Étudiant',
solveProblem: 'Quels problèmes espèrent-ils que l\'IA peut résoudre pour eux ?',
solveProblemPlaceHolder: 'par exemple, Évaluation des performances académiques',
generate: 'Générer',
audiencesRequired: 'Audiences requises',
problemRequired: 'Problème requis',
resTitle: 'Nous avons orchestré l\'application suivante pour vous.',
apply: 'Appliquez cette orchestration',
noData: 'Décrivez votre cas d\'utilisation sur la gauche, l\'aperçu de l\'orchestration s\'affichera ici.',
loading: 'Orchestration de l\'application pour vous...',
overwriteTitle: 'Remplacer la configuration existante ?',
overwriteMessage: 'L\'application de cette orchestration remplacera la configuration existante.',
},
resetConfig: {
title: 'Confirmer la réinitialisation ?',
message:

View File

@@ -202,23 +202,6 @@ const translation = {
},
},
automatic: {
title: '自動アプリケーションオーケストレーション',
description: 'シナリオを説明してください。Difyがアプリケーションをあなたのためにオーケストレートします。',
intendedAudience: '誰が想定されるターゲットですか?',
intendedAudiencePlaceHolder: '例:学生',
solveProblem: 'どのような問題をAIが解決できると期待していますか',
solveProblemPlaceHolder: '例:学業成績の評価',
generate: '生成',
audiencesRequired: 'ターゲットが必要です',
problemRequired: '問題が必要です',
resTitle: '次のアプリケーションをあなたのためにオーケストレートしました。',
apply: 'このオーケストレーションを適用する',
noData: '左側にユースケースを記述し、オーケストレーションプレビューがここに表示されます。',
loading: 'アプリケーションのオーケストレーションを実行しています...',
overwriteTitle: '既存の構成を上書きしますか?',
overwriteMessage: 'このオーケストレーションを適用すると、既存の構成が上書きされます。',
},
resetConfig: {
title: 'リセットを確認しますか?',
message: '変更が破棄され、最後に公開された構成が復元されます。',

View File

@@ -24,7 +24,7 @@ const translation = {
resetConfig: '重置',
debugConfig: '调试',
addFeature: '添加功能',
automatic: '自动编排',
automatic: '生成',
stopResponding: '停止响应',
agree: '赞同',
disagree: '反对',
@@ -199,22 +199,59 @@ const translation = {
},
},
},
automatic: {
title: '自动编排',
description: '描述您的场景Dify 将为您编排一个应用。',
intendedAudience: '目标用户是谁?',
intendedAudiencePlaceHolder: '例如:学生',
solveProblem: '希望 AI 为他们解决什么问题?',
solveProblemPlaceHolder: '例如:评估学业水平',
generate: {
title: '提示词生成器',
description: '提示词生成器使用配置的模型来优化提示词,以获得更高的质量和更好的结构。请写出清晰详细的说明。',
tryIt: '试一试',
instruction: '指令',
instructionPlaceHolder: '写下清晰、具体的说明。',
generate: '生成',
audiencesRequired: '目标用户必填',
problemRequired: '解决问题必填',
resTitle: '我们为您编排了以下应用程序',
resTitle: '生成的提示词',
noDataLine1: '在左侧描述您的用例,',
noDataLine2: '编排预览将在此处显示。',
apply: '应用',
noData: '在左侧描述您的用例,编排预览将在此处显示。',
loading: '为您编排应用程序中…',
overwriteTitle: '覆盖现有配置?',
overwriteMessage: '应用此编排将覆盖现有配置。',
overwriteMessage: '应用此提示将覆盖现有配置。',
template: {
pythonDebugger: {
name: 'Python 代码助手',
instruction: '一个帮你写和纠错程序的机器人',
},
translation: {
name: '翻译机器人',
instruction: '一个可以翻译多种语言的翻译器',
},
professionalAnalyst: {
name: '职业分析师',
instruction: ' 从长篇报告中提取洞察、识别风险并提炼关键信息',
},
excelFormulaExpert: {
name: 'Excel 公式专家',
instruction: '一个可以让小白用户理解、使用和创建 Excel 公式的对话机器人',
},
travelPlanning: {
name: '旅行规划助手',
instruction: '旅行规划助手是一个智能工具,旨在帮助用户轻松规划他们的旅行',
},
SQLSorcerer: {
name: 'SQL 生成',
instruction: '把自然语言转换成 SQL 查询语句',
},
GitGud: {
name: 'Git 大师',
instruction: '从用户提出的版本管理需求生成合适的 Git 命令',
},
meetingTakeaways: {
name: '总结会议纪要',
instruction: '将会议内容提炼总结,包括讨论主题、关键要点和待办事项',
},
writingsPolisher: {
name: '润色文章',
instruction: '用地道的编辑技巧改进我的文章',
},
},
},
resetConfig: {
title: '确认重置?',

View File

@@ -24,7 +24,7 @@ const translation = {
resetConfig: '重置',
debugConfig: '除錯',
addFeature: '新增功能',
automatic: '自動編排',
automatic: '產生',
stopResponding: '停止響應',
agree: '贊同',
disagree: '反對',
@@ -199,23 +199,6 @@ const translation = {
},
},
},
automatic: {
title: '自動編排',
description: '描述您的場景Dify 將為您編排一個應用。',
intendedAudience: '目標使用者是誰?',
intendedAudiencePlaceHolder: '例如:學生',
solveProblem: '希望 AI 為他們解決什麼問題?',
solveProblemPlaceHolder: '例如:評估學業水平',
generate: '生成',
audiencesRequired: '目標使用者必填',
problemRequired: '解決問題必填',
resTitle: '我們為您編排了以下應用程式',
apply: '應用',
noData: '在左側描述您的用例,編排預覽將在此處顯示。',
loading: '為您編排應用程式中…',
overwriteTitle: '覆蓋現有配置?',
overwriteMessage: '應用此編排將覆蓋現有配置。',
},
resetConfig: {
title: '確認重置?',
message: '重置將丟失當前頁面所有修改,恢復至上次釋出時的配置',