Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore:azure dalle tool support pt-BR text (#2301)

呆萌闷油瓶10e9766fd39c
diff --git a/api/core/tools/provider/builtin/azuredalle/_assets/icon.png b/api/core/tools/provider/builtin/azuredalle/_assets/icon.png
index 5155a73059e..7083a3f638e 100644
Binary files a/api/core/tools/provider/builtin/azuredalle/_assets/icon.png and b/api/core/tools/provider/builtin/azuredalle/_assets/icon.png differ
diff --git a/api/core/tools/provider/builtin/azuredalle/azuredalle.yaml b/api/core/tools/provider/builtin/azuredalle/azuredalle.yaml
index 48c45bbaccb..62ce2c21fed 100644
--- a/api/core/tools/provider/builtin/azuredalle/azuredalle.yaml
+++ b/api/core/tools/provider/builtin/azuredalle/azuredalle.yaml
@@ -21,26 +21,26 @@ credentials_for_provider:
help:
en_US: Please input your Azure OpenAI API key
zh_Hans: 请输入你的 Azure OpenAI API key
- pt_BR: Please input your Azure OpenAI API key
+ pt_BR: Introduza a sua chave de API OpenAI do Azure
placeholder:
en_US: Please input your Azure OpenAI API key
zh_Hans: 请输入你的 Azure OpenAI API key
- pt_BR: Please input your Azure OpenAI API key
+ pt_BR: Introduza a sua chave de API OpenAI do Azure
azure_openai_api_model_name:
type: text-input
required: true
label:
en_US: Deployment Name
zh_Hans: 部署名称
- pt_BR: Deployment Name
+ pt_BR: Nome da Implantação
help:
en_US: Please input the name of your Azure Openai DALL-E API deployment
zh_Hans: 请输入你的 Azure Openai DALL-E API 部署名称
- pt_BR: Please input the name of your Azure Openai DALL-E API deployment
+ pt_BR: Insira o nome da implantação da API DALL-E do Azure Openai
placeholder:
en_US: Please input the name of your Azure Openai DALL-E API deployment
zh_Hans: 请输入你的 Azure Openai DALL-E API 部署名称
- pt_BR: Please input the name of your Azure Openai DALL-E API deployment
+ pt_BR: Insira o nome da implantação da API DALL-E do Azure Openai
azure_openai_base_url:
type: text-input
required: true
@@ -51,11 +51,11 @@ credentials_for_provider:
help:
en_US: Please input your Azure OpenAI Endpoint URL, e.g. https://xxx.openai.azure.com/
zh_Hans: 请输入你的 Azure OpenAI API域名,例如:https://xxx.openai.azure.com/
- pt_BR: Please input your Azure OpenAI Endpoint URL, e.g. https://xxx.openai.azure.com/
+ pt_BR: Introduza a URL do Azure OpenAI Endpoint, e.g. https://xxx.openai.azure.com/
placeholder:
en_US: Please input your Azure OpenAI Endpoint URL, e.g. https://xxx.openai.azure.com/
zh_Hans: 请输入你的 Azure OpenAI API域名,例如:https://xxx.openai.azure.com/
- pt_BR: Please input your Azure OpenAI Endpoint URL, e.g. https://xxx.openai.azure.com/
+ pt_BR: Introduza a URL do Azure OpenAI Endpoint, e.g. https://xxx.openai.azure.com/
azure_openai_api_version:
type: text-input
required: true
@@ -66,8 +66,8 @@ credentials_for_provider:
help:
en_US: Please input your Azure OpenAI API Version,e.g. 2023-12-01-preview
zh_Hans: 请输入你的 Azure OpenAI API 版本,例如:2023-12-01-preview
- pt_BR: Please input your Azure OpenAI API Version,e.g. 2023-12-01-preview
+ pt_BR: Introduza a versão da API OpenAI do Azure,e.g. 2023-12-01-preview
placeholder:
en_US: Please input your Azure OpenAI API Version,e.g. 2023-12-01-preview
zh_Hans: 请输入你的 Azure OpenAI API 版本,例如:2023-12-01-preview
- pt_BR: Please input your Azure OpenAI API Version,e.g. 2023-12-01-preview
+ pt_BR: Introduza a versão da API OpenAI do Azure,e.g. 2023-12-01-preview
diff --git a/api/core/tools/provider/builtin/azuredalle/tools/dalle3.yaml b/api/core/tools/provider/builtin/azuredalle/tools/dalle3.yaml
index 4de6d9a0be2..5553984e1e1 100644
--- a/api/core/tools/provider/builtin/azuredalle/tools/dalle3.yaml
+++ b/api/core/tools/provider/builtin/azuredalle/tools/dalle3.yaml
@@ -1,19 +1,19 @@
identity:
- name: dalle3
+ name: azure_dalle3
author: Leslie
label:
- en_US: DALL-E 3
- zh_Hans: DALL-E 3 绘画
- pt_BR: DALL-E 3
+ en_US: Azure DALL-E 3
+ zh_Hans: Azure DALL-E 3 绘画
+ pt_BR: Azure DALL-E 3
description:
en_US: DALL-E 3 is a powerful drawing tool that can draw the image you want based on your prompt, compared to DallE 2, DallE 3 has stronger drawing ability, but it will consume more resources
zh_Hans: DALL-E 3 是一个强大的绘画工具,它可以根据您的提示词绘制出您想要的图像,相比于DallE 2, DallE 3拥有更强的绘画能力,但会消耗更多的资源
- pt_BR: DALL-E 3 is a powerful drawing tool that can draw the image you want based on your prompt, compared to DallE 2, DallE 3 has stronger drawing ability, but it will consume more resources
+ pt_BR: DALL-E 3 é uma poderosa ferramenta de desenho que pode desenhar a imagem que você deseja com base em seu prompt, em comparação com DallE 2, DallE 3 tem uma capacidade de desenho mais forte, mas consumirá mais recursos
description:
human:
en_US: DALL-E is a text to image tool
zh_Hans: DALL-E 是一个文本到图像的工具
- pt_BR: DALL-E is a text to image tool
+ pt_BR: DALL-E é uma ferramenta de texto para imagem
llm: DALL-E is a tool used to generate images from text
parameters:
- name: prompt
@@ -26,7 +26,7 @@ parameters:
human_description:
en_US: Image prompt, you can check the official documentation of DallE 3
zh_Hans: 图像提示词,您可以查看DallE 3 的官方文档
- pt_BR: Image prompt, you can check the official documentation of DallE 3
+ pt_BR: Imagem prompt, você pode verificar a documentação oficial do DallE 3
llm_description: Image prompt of DallE 3, you should describe the image you want to generate as a list of words as possible as detailed
form: llm
- name: size
@@ -35,18 +35,18 @@ parameters:
human_description:
en_US: selecting the image size
zh_Hans: 选择图像大小
- pt_BR: selecting the image size
+ pt_BR: seleccionar o tamanho da imagem
label:
en_US: Image size
zh_Hans: 图像大小
- pt_BR: Image size
+ pt_BR: Tamanho da imagem
form: form
options:
- value: square
label:
en_US: Squre(1024x1024)
zh_Hans: 方(1024x1024)
- pt_BR: Squre(1024x1024)
+ pt_BR: Squire(1024x1024)
- value: vertical
label:
en_US: Vertical(1024x1792)
@@ -64,11 +64,11 @@ parameters:
human_description:
en_US: selecting the number of images
zh_Hans: 选择图像数量
- pt_BR: selecting the number of images
+ pt_BR: seleccionar o número de imagens
label:
en_US: Number of images
zh_Hans: 图像数量
- pt_BR: Number of images
+ pt_BR: Número de imagens
form: form
min: 1
max: 1
@@ -79,18 +79,18 @@ parameters:
human_description:
en_US: selecting the image quality
zh_Hans: 选择图像质量
- pt_BR: selecting the image quality
+ pt_BR: seleccionar a qualidade da imagem
label:
en_US: Image quality
zh_Hans: 图像质量
- pt_BR: Image quality
+ pt_BR: Qualidade da imagem
form: form
options:
- value: standard
label:
en_US: Standard
zh_Hans: 标准
- pt_BR: Standard
+ pt_BR: Normal
- value: hd
label:
en_US: HD
@@ -103,18 +103,18 @@ parameters:
human_description:
en_US: selecting the image style
zh_Hans: 选择图像风格
- pt_BR: selecting the image style
+ pt_BR: seleccionar o estilo da imagem
label:
en_US: Image style
zh_Hans: 图像风格
- pt_BR: Image style
+ pt_BR: Estilo da imagem
form: form
options:
- value: vivid
label:
en_US: Vivid
zh_Hans: 生动
- pt_BR: Vivid
+ pt_BR: Vívido
- value: natural
label:
en_US: Natural