feat: Add segmented control for custom and copilot prompts in PromptBody component
This commit is contained in:
parent
6c44fcfca7
commit
36fc8b6be1
@ -141,6 +141,10 @@
|
||||
"option1": "Normal",
|
||||
"option2": "RAG",
|
||||
"questionPrompt": "Question Prompt",
|
||||
"segmented": {
|
||||
"custom": "Custom Prompts",
|
||||
"copilot": "Copilot Prompts"
|
||||
},
|
||||
"columns": {
|
||||
"title": "Title",
|
||||
"prompt": "Prompt",
|
||||
|
@ -147,6 +147,10 @@
|
||||
"type": "Tipo de Prompt",
|
||||
"actions": "Acciones"
|
||||
},
|
||||
"segmented": {
|
||||
"custom": "Invites personnalisées",
|
||||
"copilot": "Invites Copilot"
|
||||
},
|
||||
"systemPrompt": "Prompt del Sistema",
|
||||
"quickPrompt": "Prompt Rápido",
|
||||
"tooltip": {
|
||||
|
@ -160,6 +160,10 @@
|
||||
"addTitle": "Ajouter un nouveau prompt",
|
||||
"editTitle": "Modifier le prompt"
|
||||
},
|
||||
"segmented": {
|
||||
"custom": "Invites personnalisées",
|
||||
"copilot": "Invites Copilot"
|
||||
},
|
||||
"form": {
|
||||
"title": {
|
||||
"label": "Titre",
|
||||
|
@ -160,6 +160,10 @@
|
||||
"addTitle": "Aggiungi Nuovo Prompt",
|
||||
"editTitle": "Modifica Prompt"
|
||||
},
|
||||
"segmented": {
|
||||
"custom": "Prompt personalizzati",
|
||||
"copilot": "Prompt Copilot"
|
||||
},
|
||||
"form": {
|
||||
"title": {
|
||||
"label": "Titolo",
|
||||
|
@ -163,6 +163,10 @@
|
||||
"addTitle": "新しいプロンプトを追加",
|
||||
"editTitle": "プロンプトを編集"
|
||||
},
|
||||
"segmented": {
|
||||
"custom": "カスタムプロンプト",
|
||||
"copilot": "Copilotプロンプト"
|
||||
},
|
||||
"form": {
|
||||
"title": {
|
||||
"label": "タイトル",
|
||||
|
@ -163,6 +163,10 @@
|
||||
"addTitle": "പുതിയ പ്രോംപ്റ്റ് ചേര്ക്കുക",
|
||||
"editTitle": "പ്രോംപ്റ്റ് എഡിറ്റുചെയ്യുക"
|
||||
},
|
||||
"segmented": {
|
||||
"custom": "കസ്റ്റം പ്രോംപ്റ്റുകൾ",
|
||||
"copilot": "കോപൈലറ്റ് പ്രോംപ്റ്റുകൾ"
|
||||
},
|
||||
"form": {
|
||||
"title": {
|
||||
"label": "തലക്കെട്ട്",
|
||||
|
@ -160,6 +160,10 @@
|
||||
"addTitle": "Adicionar Novo Prompt",
|
||||
"editTitle": "Editar Prompt"
|
||||
},
|
||||
"segmented": {
|
||||
"custom": "Prompts personalizados",
|
||||
"copilot": "Prompts do Copilot"
|
||||
},
|
||||
"form": {
|
||||
"title": {
|
||||
"label": "Título",
|
||||
|
@ -161,6 +161,10 @@
|
||||
"addTitle": "Добавить новую подсказку",
|
||||
"editTitle": "Редактировать подсказку"
|
||||
},
|
||||
"segmented": {
|
||||
"custom": "Пользовательские подсказки",
|
||||
"copilot": "Подсказки Copilot"
|
||||
},
|
||||
"form": {
|
||||
"title": {
|
||||
"label": "Название",
|
||||
|
@ -163,6 +163,10 @@
|
||||
"addTitle": "添加新提示词",
|
||||
"editTitle": "编辑提示词"
|
||||
},
|
||||
"segmented": {
|
||||
"custom": "自定义提示",
|
||||
"copilot": "Copilot 提示"
|
||||
},
|
||||
"form": {
|
||||
"title": {
|
||||
"label": "标题",
|
||||
|
@ -306,11 +306,15 @@ export const PromptBody = () => {
|
||||
size="large"
|
||||
options={[
|
||||
{
|
||||
label: "Custom Prompts",
|
||||
label: t(
|
||||
"managePrompts.segmented.custom"
|
||||
),
|
||||
value: "custom"
|
||||
},
|
||||
{
|
||||
label: "Copilot Prompts",
|
||||
label: t(
|
||||
"managePrompts.segmented.copilot"
|
||||
),
|
||||
value: "copilot"
|
||||
}
|
||||
]}
|
||||
|
Loading…
x
Reference in New Issue
Block a user