AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
feat(openai): ui improvement (#16051)
Talal Jaber07cc5dbe74ea
diff --git a/bun.lock b/bun.lockindex 565e438c6c2..a58b66d9f67 100644--- a/bun.lock+++ b/bun.lock@@ -6603,7 +6603,7 @@},"packages/pieces/community/openai": {"name": "@activepieces/piece-openai",- "version": "0.11.1",+ "version": "0.12.0","dependencies": {"@activepieces/core-piece-types": "workspace:*","@activepieces/core-utils": "workspace:*",diff --git a/packages/pieces/community/openai/package.json b/packages/pieces/community/openai/package.jsonindex 29446269847..a3649213cb8 100644--- a/packages/pieces/community/openai/package.json+++ b/packages/pieces/community/openai/package.json@@ -1,6 +1,6 @@{"name": "@activepieces/piece-openai",- "version": "0.11.1",+ "version": "0.12.0","main": "./dist/src/index.js","types": "./dist/src/index.d.ts","dependencies": {diff --git a/packages/pieces/community/openai/src/i18n/de.json b/packages/pieces/community/openai/src/i18n/de.jsonindex e5cdcf4370a..cd071467966 100644--- a/packages/pieces/community/openai/src/i18n/de.json+++ b/packages/pieces/community/openai/src/i18n/de.json@@ -216,5 +216,110 @@"None": "Keine","JSON": "JSON","Form Data": "Formulardaten",- "Raw": "Rohe"+ "Raw": "Rohe",+ "Chat, images, audio and embeddings from OpenAI models.": "Chat, Bilder, Audio und Embeddings mit OpenAI-Modellen.",+ "To get your API key:\n\n1. Go to https://platform.openai.com/api-keys\n2. Click **Create new secret key** and copy it.\n\nAdd credit to your OpenAI account first, or every request fails with a 429 quota error.\n": "So erhalten Sie Ihren API-Schlüssel:\n\n1. Öffnen Sie https://platform.openai.com/api-keys\n2. Klicken Sie auf **Create new secret key** und kopieren Sie den Schlüssel.\n\nLaden Sie zuerst Guthaben auf Ihr OpenAI-Konto, sonst schlägt jede Anfrage mit einem 429-Kontingentfehler fehl.\n",+ "Extract Structured Data": "Strukturierte Daten extrahieren",+ "Moderate Text": "Text moderieren",+ "Send a question or instruction to an OpenAI model and get a reply.": "Eine Frage oder Anweisung an ein OpenAI-Modell senden und eine Antwort erhalten.",+ "Send a question to an assistant you set up in OpenAI.": "Eine Frage an einen Assistenten senden, den Sie in OpenAI eingerichtet haben.",+ "Ask a question about an image and get a text reply.": "Eine Frage zu einem Bild stellen und eine Textantwort erhalten.",+ "Pull the fields you define out of a block of text.": "Die von Ihnen festgelegten Felder aus einem Text extrahieren.",+ "Check text against OpenAI's rules on hate, violence and similar harm.": "Text anhand der OpenAI-Regeln zu Hass, Gewalt und ähnlichen Schäden prüfen.",+ "Label text as positive, negative or neutral.": "Text als positiv, negativ oder neutral einstufen.",+ "Turn text into a vector for semantic search or clustering.": "Text für semantische Suche oder Clustering in einen Vektor umwandeln.",+ "Rank a list of texts by how closely they match a query.": "Eine Liste von Texten danach ordnen, wie gut sie zu einer Suchanfrage passen.",+ "Create an image from a text description.": "Ein Bild aus einer Textbeschreibung erstellen.",+ "Change an image by describing the edit.": "Ein Bild ändern, indem Sie die Bearbeitung beschreiben.",+ "Turn text into a spoken audio file.": "Text in eine gesprochene Audiodatei umwandeln.",+ "Turn speech in an audio file into text.": "Sprache in einer Audiodatei in Text umwandeln.",+ "Turn speech in any language into English text.": "Gesprochenes in einer beliebigen Sprache in englischen Text umwandeln.",+ "Upload a file for assistants, batch jobs, vision or fine-tuning.": "Eine Datei für Assistenten, Batch-Jobs, Vision oder Fine-Tuning hochladen.",+ "List the files in your OpenAI account.": "Die Dateien in Ihrem OpenAI-Konto auflisten.",+ "Look up files in your OpenAI account by exact name.": "Dateien in Ihrem OpenAI-Konto anhand des genauen Namens suchen.",+ "Delete a file you uploaded to OpenAI.": "Eine Datei löschen, die Sie zu OpenAI hochgeladen haben.",+ "List the models your OpenAI account can use.": "Die Modelle auflisten, die Ihr OpenAI-Konto nutzen kann.",+ "Conversation Memory ID": "Gesprächsspeicher-ID",+ "Frequency Penalty": "Frequenzstrafe",+ "Presence Penalty": "Präsenzstrafe",+ "Fields": "Felder",+ "Vector Dimensions": "Vektor-Dimensionen",+ "Max Results": "Maximale Ergebnisse",+ "Audio Format": "Audioformat",+ "Language": "Sprache",+ "Name Contains": "Name enthält",+ "Response is Binary": "Antwort ist binär",+ "Return Error as Output": "Fehler als Ausgabe zurückgeben",+ "Timeout": "Zeitlimit",+ "The OpenAI model that writes the reply.": "Das OpenAI-Modell, das die Antwort schreibt.",+ "What you want the model to answer or do.": "Was das Modell beantworten oder tun soll.",+ "Longest reply in tokens, about 4 characters each.": "Längste Antwort in Tokens, je etwa 4 Zeichen.",+ "Runs that share this ID continue one conversation. Empty: no memory.": "Ausführungen mit derselben ID setzen ein Gespräch fort. Leer: kein Gedächtnis.",+ "From 0 to 2. Lower is more focused, higher is more varied.": "Von 0 bis 2. Niedriger ist fokussierter, höher ist abwechslungsreicher.",+ "From 0 to 1. Adjust this or Temperature, not both.": "Von 0 bis 1. Passen Sie dies oder die Temperatur an, nicht beides.",+ "From -2 to 2. Higher values make the model repeat itself less.": "Von -2 bis 2. Höhere Werte sorgen dafür, dass sich das Modell seltener wiederholt.",+ "From -2 to 2. Higher values push the model toward new topics.": "Von -2 bis 2. Höhere Werte lenken das Modell zu neuen Themen.",+ "Messages sent before the question, such as a system instruction.": "Nachrichten, die vor der Frage gesendet werden, z. B. eine Systemanweisung.",+ "An assistant from your OpenAI account.": "Ein Assistent aus Ihrem OpenAI-Konto.",+ "What you want the assistant to answer or do.": "Was der Assistent beantworten oder tun soll.",+ "The picture to ask about.": "Das Bild, zu dem Sie eine Frage haben.",+ "What you want to know about the image.": "Was Sie über das Bild wissen möchten.",+ "Low is faster and cheaper. High reads small details better.": "Niedrig ist schneller und günstiger. Hoch erkennt kleine Details besser.",+ "The OpenAI model that reads the text.": "Das OpenAI-Modell, das den Text liest.",+ "The text to pull the fields from.": "Der Text, aus dem die Felder extrahiert werden.",+ "One row per value you want back.": "Eine Zeile pro Wert, den Sie zurückerhalten möchten.",+ "Moderation model. The default suits most uses.": "Moderationsmodell. Die Standardeinstellung passt für die meisten Fälle.",+ "The text to check.": "Der zu prüfende Text.",+ "The model that judges the sentiment.": "Das Modell, das die Stimmung bewertet.",+ "A message, review or any other text.": "Eine Nachricht, eine Bewertung oder ein beliebiger anderer Text.",+ "Embedding model. The default suits most uses.": "Embedding-Modell. Die Standardeinstellung passt für die meisten Fälle.",+ "The text to turn into a vector.": "Der Text, der in einen Vektor umgewandelt wird.",+ "Vector length. Works only with text-embedding-3 models.": "Länge des Vektors. Funktioniert nur mit text-embedding-3-Modellen.",+ "Your own ID for the end user. Helps OpenAI spot abuse.": "Ihre eigene ID für den Endnutzer. Hilft OpenAI, Missbrauch zu erkennen.",+ "Embedding model used for the query and the documents.": "Embedding-Modell für die Suchanfrage und die Dokumente.",+ "The text to match the documents against.": "Der Text, mit dem die Dokumente abgeglichen werden.",+ "The texts to rank.": "Die zu ordnenden Texte.",+ "Empty: every document, best match first.": "Leer: alle Dokumente, beste Übereinstimmung zuerst.",+ "The OpenAI model that draws the image.": "Das OpenAI-Modell, das das Bild erstellt.",+ "Describe the image you want.": "Beschreiben Sie das gewünschte Bild.",+ "Image shape. Auto lets the model choose.": "Bildformat. Bei Auto wählt das Modell.",+ "Higher quality takes longer and costs more.": "Höhere Qualität dauert länger und kostet mehr.",+ "PNG, JPEG or WebP image to edit.": "PNG-, JPEG- oder WebP-Bild, das bearbeitet werden soll.",+ "Describe the change you want.": "Beschreiben Sie die gewünschte Änderung.",+ "Transparent areas mark where to edit. Same size as the image.": "Transparente Bereiche markieren, wo bearbeitet wird. Gleiche Größe wie das Bild.",+ "What the voice should say.": "Was die Stimme sagen soll.",+ "The OpenAI model that speaks the text.": "Das OpenAI-Modell, das den Text spricht.",+ "The voice that reads the text.": "Die Stimme, die den Text vorliest.",+ "The audio file type.": "Der Typ der Audiodatei.",+ "From 0.25 to 4. 1 is normal speed.": "Von 0.25 bis 4. 1 ist normale Geschwindigkeit.",+ "Name for the audio file, without the extension.": "Name der Audiodatei, ohne Dateiendung.",+ "The recording to transcribe.": "Die Aufnahme, die transkribiert werden soll.",+ "The language spoken in the recording.": "Die Sprache, die in der Aufnahme gesprochen wird.",+ "The recording to translate.": "Die Aufnahme, die übersetzt werden soll.",+ "The file to send to OpenAI.": "Die Datei, die an OpenAI gesendet wird.",+ "What OpenAI will use the file for. Each allows different file types.": "Wofür OpenAI die Datei verwendet. Jeder Zweck erlaubt andere Dateitypen.",+ "Empty: keeps the original name. Include the extension.": "Leer: Der ursprüngliche Name bleibt. Geben Sie die Dateiendung mit an.",+ "Only include files with this purpose.": "Nur Dateien mit diesem Zweck einbeziehen.",+ "Up to this many files, from 1 to 10,000.": "Bis zu so vielen Dateien, von 1 bis 10.000.",+ "Exact file name, including the extension. Case does not matter.": "Genauer Dateiname inklusive Dateiendung. Groß-/Kleinschreibung spielt keine Rolle.",+ "Starts with file-. Upload, List and Find File return it.": "Beginnt mit file-. Die Aktionen zum Hochladen, Auflisten und Suchen von Dateien geben sie zurück.",+ "Only return models whose name includes this text.": "Nur Modelle zurückgeben, deren Name diesen Text enthält.",+ "Appended to the URL as ?key=value.": "Wird als ?key=value an die URL angehängt.",+ "On a failed request, output the error instead of failing the step.": "Bei einer fehlgeschlagenen Anfrage den Fehler ausgeben, statt den Schritt fehlschlagen zu lassen.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Sekunden, die auf eine Antwort gewartet wird. Leer: bis zum Flow-Limit (10 Min.).",+ "Follow 3xx redirects instead of returning them as the response.": "3xx-Weiterleitungen folgen, statt sie als Antwort zurückzugeben.",+ "Square": "Quadratisch",+ "Landscape": "Querformat",+ "Portrait": "Hochformat",+ "Alloy": "Alloy",+ "Echo": "Echo",+ "Fable": "Fable",+ "Onyx": "Onyx",+ "Nova": "Nova",+ "Shimmer": "Shimmer",+ "MP3": "MP3",+ "Opus": "Opus",+ "AAC": "AAC",+ "FLAC": "FLAC",+ "Fine-Tuning": "Fine-Tuning"}\ No newline at end of filediff --git a/packages/pieces/community/openai/src/i18n/es.json b/packages/pieces/community/openai/src/i18n/es.jsonindex 373c5caa70c..91881977e37 100644--- a/packages/pieces/community/openai/src/i18n/es.json+++ b/packages/pieces/community/openai/src/i18n/es.json@@ -216,5 +216,110 @@"None": "Ninguna","JSON": "JSON","Form Data": "Datos de Formulario",- "Raw": "Rápido"+ "Raw": "Rápido",+ "Chat, images, audio and embeddings from OpenAI models.": "Chat, imágenes, audio y embeddings con modelos de OpenAI.",+ "To get your API key:\n\n1. Go to https://platform.openai.com/api-keys\n2. Click **Create new secret key** and copy it.\n\nAdd credit to your OpenAI account first, or every request fails with a 429 quota error.\n": "Para obtener tu clave de API:\n\n1. Ve a https://platform.openai.com/api-keys\n2. Haz clic en **Create new secret key** y cópiala.\n\nAñade saldo a tu cuenta de OpenAI primero, o todas las solicitudes fallarán con un error de cuota 429.\n",+ "Extract Structured Data": "Extraer datos estructurados",+ "Moderate Text": "Moderar texto",+ "Send a question or instruction to an OpenAI model and get a reply.": "Envía una pregunta o instrucción a un modelo de OpenAI y obtén una respuesta.",+ "Send a question to an assistant you set up in OpenAI.": "Envía una pregunta a un asistente que configuraste en OpenAI.",+ "Ask a question about an image and get a text reply.": "Haz una pregunta sobre una imagen y obtén una respuesta en texto.",+ "Pull the fields you define out of a block of text.": "Extrae de un texto los campos que definas.",+ "Check text against OpenAI's rules on hate, violence and similar harm.": "Comprueba el texto según las normas de OpenAI sobre odio, violencia y daños similares.",+ "Label text as positive, negative or neutral.": "Clasifica el texto como positivo, negativo o neutral.",+ "Turn text into a vector for semantic search or clustering.": "Convierte texto en un vector para búsqueda semántica o agrupación.",+ "Rank a list of texts by how closely they match a query.": "Ordena una lista de textos según lo bien que coinciden con una consulta.",+ "Create an image from a text description.": "Crea una imagen a partir de una descripción de texto.",+ "Change an image by describing the edit.": "Modifica una imagen describiendo el cambio.",+ "Turn text into a spoken audio file.": "Convierte texto en un archivo de audio hablado.",+ "Turn speech in an audio file into text.": "Convierte la voz de un archivo de audio en texto.",+ "Turn speech in any language into English text.": "Convierte la voz en cualquier idioma en texto en inglés.",+ "Upload a file for assistants, batch jobs, vision or fine-tuning.": "Sube un archivo para asistentes, trabajos por lotes, visión o ajuste fino.",+ "List the files in your OpenAI account.": "Lista los archivos de tu cuenta de OpenAI.",+ "Look up files in your OpenAI account by exact name.": "Busca archivos en tu cuenta de OpenAI por su nombre exacto.",+ "Delete a file you uploaded to OpenAI.": "Elimina un archivo que subiste a OpenAI.",+ "List the models your OpenAI account can use.": "Lista los modelos que puede usar tu cuenta de OpenAI.",+ "Conversation Memory ID": "ID de memoria de conversación",+ "Frequency Penalty": "Penalización por frecuencia",+ "Presence Penalty": "Penalización por presencia",+ "Fields": "Campos",+ "Vector Dimensions": "Dimensiones vectoriales",+ "Max Results": "Resultados máximos",+ "Audio Format": "Formato de audio",+ "Language": "Idioma",+ "Name Contains": "El nombre contiene",+ "Response is Binary": "La respuesta es binaria",+ "Return Error as Output": "Devolver el error como salida",+ "Timeout": "Tiempo de espera",+ "The OpenAI model that writes the reply.": "El modelo de OpenAI que escribe la respuesta.",+ "What you want the model to answer or do.": "Lo que quieres que el modelo responda o haga.",+ "Longest reply in tokens, about 4 characters each.": "Respuesta más larga en tokens, de unos 4 caracteres cada uno.",+ "Runs that share this ID continue one conversation. Empty: no memory.": "Las ejecuciones que comparten este ID continúan una misma conversación. Vacío: sin memoria.",+ "From 0 to 2. Lower is more focused, higher is more varied.": "De 0 a 2. Más bajo es más preciso, más alto es más variado.",+ "From 0 to 1. Adjust this or Temperature, not both.": "De 0 a 1. Ajusta esto o la temperatura, no ambos.",+ "From -2 to 2. Higher values make the model repeat itself less.": "De -2 a 2. Los valores altos hacen que el modelo se repita menos.",+ "From -2 to 2. Higher values push the model toward new topics.": "De -2 a 2. Los valores altos llevan al modelo hacia temas nuevos.",+ "Messages sent before the question, such as a system instruction.": "Mensajes enviados antes de la pregunta, como una instrucción del sistema.",+ "An assistant from your OpenAI account.": "Un asistente de tu cuenta de OpenAI.",+ "What you want the assistant to answer or do.": "Lo que quieres que el asistente responda o haga.",+ "The picture to ask about.": "La imagen sobre la que preguntar.",+ "What you want to know about the image.": "Lo que quieres saber sobre la imagen.",+ "Low is faster and cheaper. High reads small details better.": "Baja es más rápida y barata. Alta lee mejor los detalles pequeños.",+ "The OpenAI model that reads the text.": "El modelo de OpenAI que lee el texto.",+ "The text to pull the fields from.": "El texto del que extraer los campos.",+ "One row per value you want back.": "Una fila por cada valor que quieras obtener.",+ "Moderation model. The default suits most uses.": "Modelo de moderación. El predeterminado sirve para la mayoría de los usos.",+ "The text to check.": "El texto que se va a comprobar.",+ "The model that judges the sentiment.": "El modelo que evalúa el sentimiento.",+ "A message, review or any other text.": "Un mensaje, una reseña o cualquier otro texto.",+ "Embedding model. The default suits most uses.": "Modelo de embeddings. El predeterminado sirve para la mayoría de los usos.",+ "The text to turn into a vector.": "El texto que se convertirá en un vector.",+ "Vector length. Works only with text-embedding-3 models.": "Longitud del vector. Solo funciona con los modelos text-embedding-3.",+ "Your own ID for the end user. Helps OpenAI spot abuse.": "Tu propio ID para el usuario final. Ayuda a OpenAI a detectar abusos.",+ "Embedding model used for the query and the documents.": "Modelo de embeddings usado para la consulta y los documentos.",+ "The text to match the documents against.": "El texto con el que se comparan los documentos.",+ "The texts to rank.": "Los textos que se van a ordenar.",+ "Empty: every document, best match first.": "Vacío: todos los documentos, el más coincidente primero.",+ "The OpenAI model that draws the image.": "El modelo de OpenAI que crea la imagen.",+ "Describe the image you want.": "Describe la imagen que quieres.",+ "Image shape. Auto lets the model choose.": "Forma de la imagen. Con Auto, el modelo elige.",+ "Higher quality takes longer and costs more.": "Una calidad mayor tarda más y cuesta más.",+ "PNG, JPEG or WebP image to edit.": "Imagen PNG, JPEG o WebP que se va a editar.",+ "Describe the change you want.": "Describe el cambio que quieres.",+ "Transparent areas mark where to edit. Same size as the image.": "Las zonas transparentes marcan dónde editar. Mismo tamaño que la imagen.",+ "What the voice should say.": "Lo que debe decir la voz.",+ "The OpenAI model that speaks the text.": "El modelo de OpenAI que pronuncia el texto.",+ "The voice that reads the text.": "La voz que lee el texto.",+ "The audio file type.": "El tipo de archivo de audio.",+ "From 0.25 to 4. 1 is normal speed.": "De 0.25 a 4. 1 es la velocidad normal.",+ "Name for the audio file, without the extension.": "Nombre del archivo de audio, sin la extensión.",+ "The recording to transcribe.": "La grabación que se va a transcribir.",+ "The language spoken in the recording.": "El idioma que se habla en la grabación.",+ "The recording to translate.": "La grabación que se va a traducir.",+ "The file to send to OpenAI.": "El archivo que se enviará a OpenAI.",+ "What OpenAI will use the file for. Each allows different file types.": "Para qué usará OpenAI el archivo. Cada opción admite tipos de archivo distintos.",+ "Empty: keeps the original name. Include the extension.": "Vacío: conserva el nombre original. Incluye la extensión.",+ "Only include files with this purpose.": "Incluir solo archivos con este propósito.",+ "Up to this many files, from 1 to 10,000.": "Hasta esta cantidad de archivos, de 1 a 10.000.",+ "Exact file name, including the extension. Case does not matter.": "Nombre exacto del archivo, con la extensión. No distingue mayúsculas de minúsculas.",+ "Starts with file-. Upload, List and Find File return it.": "Empieza por file-. Lo devuelven las acciones de subir, listar y buscar archivos.",+ "Only return models whose name includes this text.": "Devuelve solo los modelos cuyo nombre incluya este texto.",+ "Appended to the URL as ?key=value.": "Se añade a la URL como ?key=value.",+ "On a failed request, output the error instead of failing the step.": "Si la solicitud falla, devuelve el error en lugar de hacer fallar el paso.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Segundos de espera para una respuesta. Vacío: hasta el límite del flujo (10 min).",+ "Follow 3xx redirects instead of returning them as the response.": "Sigue las redirecciones 3xx en lugar de devolverlas como respuesta.",+ "Square": "Cuadrado",+ "Landscape": "Horizontal",+ "Portrait": "Vertical",+ "Alloy": "Alloy",+ "Echo": "Echo",+ "Fable": "Fable",+ "Onyx": "Onyx",+ "Nova": "Nova",+ "Shimmer": "Shimmer",+ "MP3": "MP3",+ "Opus": "Opus",+ "AAC": "AAC",+ "FLAC": "FLAC",+ "Fine-Tuning": "Ajuste fino"}\ No newline at end of filediff --git a/packages/pieces/community/openai/src/i18n/fr.json b/packages/pieces/community/openai/src/i18n/fr.jsonindex d9f3eb004d0..405609ff098 100644--- a/packages/pieces/community/openai/src/i18n/fr.json+++ b/packages/pieces/community/openai/src/i18n/fr.json@@ -216,5 +216,110 @@"None": "Aucun","JSON": "JSON","Form Data": "Données du formulaire",- "Raw": "Brut"+ "Raw": "Brut",+ "Chat, images, audio and embeddings from OpenAI models.": "Chat, images, audio et embeddings avec les modèles OpenAI.",+ "To get your API key:\n\n1. Go to https://platform.openai.com/api-keys\n2. Click **Create new secret key** and copy it.\n\nAdd credit to your OpenAI account first, or every request fails with a 429 quota error.\n": "Pour obtenir votre clé API :\n\n1. Rendez-vous sur https://platform.openai.com/api-keys\n2. Cliquez sur **Create new secret key** et copiez la clé.\n\nAjoutez d'abord du crédit à votre compte OpenAI, sinon chaque requête échouera avec une erreur de quota 429.\n",+ "Extract Structured Data": "Extraire des données structurées",+ "Moderate Text": "Modérer le texte",+ "Send a question or instruction to an OpenAI model and get a reply.": "Envoyer une question ou une instruction à un modèle OpenAI et obtenir une réponse.",+ "Send a question to an assistant you set up in OpenAI.": "Envoyer une question à un assistant que vous avez configuré dans OpenAI.",+ "Ask a question about an image and get a text reply.": "Poser une question sur une image et obtenir une réponse textuelle.",+ "Pull the fields you define out of a block of text.": "Extraire d'un texte les champs que vous définissez.",+ "Check text against OpenAI's rules on hate, violence and similar harm.": "Vérifier un texte au regard des règles d'OpenAI sur la haine, la violence et les préjudices similaires.",+ "Label text as positive, negative or neutral.": "Classer un texte comme positif, négatif ou neutre.",+ "Turn text into a vector for semantic search or clustering.": "Convertir un texte en vecteur pour la recherche sémantique ou le clustering.",+ "Rank a list of texts by how closely they match a query.": "Classer une liste de textes selon leur correspondance avec une requête.",+ "Create an image from a text description.": "Créer une image à partir d'une description textuelle.",+ "Change an image by describing the edit.": "Modifier une image en décrivant la modification.",+ "Turn text into a spoken audio file.": "Convertir un texte en fichier audio parlé.",+ "Turn speech in an audio file into text.": "Convertir la parole d'un fichier audio en texte.",+ "Turn speech in any language into English text.": "Convertir la parole dans n'importe quelle langue en texte anglais.",+ "Upload a file for assistants, batch jobs, vision or fine-tuning.": "Charger un fichier pour les assistants, les traitements par lots, la vision ou le fine-tuning.",+ "List the files in your OpenAI account.": "Lister les fichiers de votre compte OpenAI.",+ "Look up files in your OpenAI account by exact name.": "Rechercher des fichiers dans votre compte OpenAI par leur nom exact.",+ "Delete a file you uploaded to OpenAI.": "Supprimer un fichier que vous avez chargé sur OpenAI.",+ "List the models your OpenAI account can use.": "Lister les modèles que votre compte OpenAI peut utiliser.",+ "Conversation Memory ID": "ID de mémoire de conversation",+ "Frequency Penalty": "Pénalité de fréquence",+ "Presence Penalty": "Pénalité de présence",+ "Fields": "Champs",+ "Vector Dimensions": "Dimensions vectorielles",+ "Max Results": "Nombre maximum de résultats",+ "Audio Format": "Format audio",+ "Language": "Langue",+ "Name Contains": "Le nom contient",+ "Response is Binary": "La réponse est binaire",+ "Return Error as Output": "Renvoyer l'erreur en sortie",+ "Timeout": "Délai d'expiration",+ "The OpenAI model that writes the reply.": "Le modèle OpenAI qui rédige la réponse.",+ "What you want the model to answer or do.": "Ce que le modèle doit répondre ou faire.",+ "Longest reply in tokens, about 4 characters each.": "Réponse la plus longue en jetons, environ 4 caractères chacun.",+ "Runs that share this ID continue one conversation. Empty: no memory.": "Les exécutions qui partagent cet ID poursuivent une même conversation. Vide : aucune mémoire.",+ "From 0 to 2. Lower is more focused, higher is more varied.": "De 0 à 2. Plus bas est plus ciblé, plus haut est plus varié.",+ "From 0 to 1. Adjust this or Temperature, not both.": "De 0 à 1. Ajustez ceci ou la température, pas les deux.",+ "From -2 to 2. Higher values make the model repeat itself less.": "De -2 à 2. Des valeurs plus élevées réduisent les répétitions du modèle.",+ "From -2 to 2. Higher values push the model toward new topics.": "De -2 à 2. Des valeurs plus élevées orientent le modèle vers de nouveaux sujets.",+ "Messages sent before the question, such as a system instruction.": "Messages envoyés avant la question, comme une instruction système.",+ "An assistant from your OpenAI account.": "Un assistant de votre compte OpenAI.",+ "What you want the assistant to answer or do.": "Ce que l'assistant doit répondre ou faire.",+ "The picture to ask about.": "L'image sur laquelle porte la question.",+ "What you want to know about the image.": "Ce que vous voulez savoir sur l'image.",+ "Low is faster and cheaper. High reads small details better.": "Bas est plus rapide et moins cher. Élevé lit mieux les petits détails.",+ "The OpenAI model that reads the text.": "Le modèle OpenAI qui lit le texte.",+ "The text to pull the fields from.": "Le texte dont extraire les champs.",+ "One row per value you want back.": "Une ligne par valeur à récupérer.",+ "Moderation model. The default suits most uses.": "Modèle de modération. La valeur par défaut convient à la plupart des usages.",+ "The text to check.": "Le texte à vérifier.",+ "The model that judges the sentiment.": "Le modèle qui évalue le sentiment.",+ "A message, review or any other text.": "Un message, un avis ou tout autre texte.",+ "Embedding model. The default suits most uses.": "Modèle d'embedding. La valeur par défaut convient à la plupart des usages.",+ "The text to turn into a vector.": "Le texte à convertir en vecteur.",+ "Vector length. Works only with text-embedding-3 models.": "Longueur du vecteur. Fonctionne uniquement avec les modèles text-embedding-3.",+ "Your own ID for the end user. Helps OpenAI spot abuse.": "Votre propre ID pour l'utilisateur final. Aide OpenAI à détecter les abus.",+ "Embedding model used for the query and the documents.": "Modèle d'embedding utilisé pour la requête et les documents.",+ "The text to match the documents against.": "Le texte auquel comparer les documents.",+ "The texts to rank.": "Les textes à classer.",+ "Empty: every document, best match first.": "Vide : tous les documents, meilleure correspondance en premier.",+ "The OpenAI model that draws the image.": "Le modèle OpenAI qui crée l'image.",+ "Describe the image you want.": "Décrivez l'image souhaitée.",+ "Image shape. Auto lets the model choose.": "Format de l'image. Avec Automatique, le modèle choisit.",+ "Higher quality takes longer and costs more.": "Une qualité supérieure prend plus de temps et coûte plus cher.",+ "PNG, JPEG or WebP image to edit.": "Image PNG, JPEG ou WebP à modifier.",+ "Describe the change you want.": "Décrivez la modification souhaitée.",+ "Transparent areas mark where to edit. Same size as the image.": "Les zones transparentes indiquent où modifier. Même taille que l'image.",+ "What the voice should say.": "Ce que la voix doit dire.",+ "The OpenAI model that speaks the text.": "Le modèle OpenAI qui prononce le texte.",+ "The voice that reads the text.": "La voix qui lit le texte.",+ "The audio file type.": "Le type de fichier audio.",+ "From 0.25 to 4. 1 is normal speed.": "De 0.25 à 4. 1 correspond à la vitesse normale.",+ "Name for the audio file, without the extension.": "Nom du fichier audio, sans l'extension.",+ "The recording to transcribe.": "L'enregistrement à transcrire.",+ "The language spoken in the recording.": "La langue parlée dans l'enregistrement.",+ "The recording to translate.": "L'enregistrement à traduire.",+ "The file to send to OpenAI.": "Le fichier à envoyer à OpenAI.",+ "What OpenAI will use the file for. Each allows different file types.": "L'usage qu'OpenAI fera du fichier. Chaque usage accepte des types de fichiers différents.",+ "Empty: keeps the original name. Include the extension.": "Vide : conserve le nom d'origine. Incluez l'extension.",+ "Only include files with this purpose.": "Inclure uniquement les fichiers ayant cet objectif.",+ "Up to this many files, from 1 to 10,000.": "Jusqu'à ce nombre de fichiers, de 1 à 10 000.",+ "Exact file name, including the extension. Case does not matter.": "Nom de fichier exact, extension comprise. La casse n'a pas d'importance.",+ "Starts with file-. Upload, List and Find File return it.": "Commence par file-. Renvoyé par les actions de chargement, de listage et de recherche de fichiers.",+ "Only return models whose name includes this text.": "Renvoyer uniquement les modèles dont le nom contient ce texte.",+ "Appended to the URL as ?key=value.": "Ajouté à l'URL sous la forme ?key=value.",+ "On a failed request, output the error instead of failing the step.": "En cas d'échec de la requête, renvoie l'erreur au lieu de faire échouer l'étape.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Secondes d'attente d'une réponse. Vide : jusqu'à la limite du flux (10 min).",+ "Follow 3xx redirects instead of returning them as the response.": "Suit les redirections 3xx au lieu de les renvoyer comme réponse.",+ "Square": "Carré",+ "Landscape": "Paysage",+ "Portrait": "Portrait",+ "Alloy": "Alloy",+ "Echo": "Echo",+ "Fable": "Fable",+ "Onyx": "Onyx",+ "Nova": "Nova",+ "Shimmer": "Shimmer",+ "MP3": "MP3",+ "Opus": "Opus",+ "AAC": "AAC",+ "FLAC": "FLAC",+ "Fine-Tuning": "Fine-tuning"}\ No newline at end of filediff --git a/packages/pieces/community/openai/src/i18n/ja.json b/packages/pieces/community/openai/src/i18n/ja.jsonindex 014cdbe97c5..eff6f907175 100644--- a/packages/pieces/community/openai/src/i18n/ja.json+++ b/packages/pieces/community/openai/src/i18n/ja.json@@ -216,5 +216,110 @@"None": "なし","JSON": "JSON","Form Data": "フォームデータ",- "Raw": "Raw"+ "Raw": "Raw",+ "Chat, images, audio and embeddings from OpenAI models.": "OpenAI モデルによるチャット、画像、音声、埋め込み。",+ "To get your API key:\n\n1. Go to https://platform.openai.com/api-keys\n2. Click **Create new secret key** and copy it.\n\nAdd credit to your OpenAI account first, or every request fails with a 429 quota error.\n": "API キーの取得方法:\n\n1. https://platform.openai.com/api-keys にアクセスします\n2. **Create new secret key** をクリックしてキーをコピーします。\n\n先に OpenAI アカウントにクレジットを追加してください。追加しないと、すべてのリクエストが 429 クォータエラーで失敗します。\n",+ "Extract Structured Data": "構造化データの抽出",+ "Moderate Text": "テキストをモデレートする",+ "Send a question or instruction to an OpenAI model and get a reply.": "OpenAI モデルに質問や指示を送り、回答を受け取ります。",+ "Send a question to an assistant you set up in OpenAI.": "OpenAI で設定したアシスタントに質問を送ります。",+ "Ask a question about an image and get a text reply.": "画像について質問し、テキストで回答を受け取ります。",+ "Pull the fields you define out of a block of text.": "定義したフィールドをテキストから抽出します。",+ "Check text against OpenAI's rules on hate, violence and similar harm.": "ヘイト、暴力などの有害な内容に関する OpenAI のルールに照らしてテキストをチェックします。",+ "Label text as positive, negative or neutral.": "テキストをポジティブ、ネガティブ、ニュートラルに分類します。",+ "Turn text into a vector for semantic search or clustering.": "セマンティック検索やクラスタリング用にテキストをベクトルに変換します。",+ "Rank a list of texts by how closely they match a query.": "クエリとの一致度が高い順にテキストのリストを並べ替えます。",+ "Create an image from a text description.": "テキストの説明から画像を作成します。",+ "Change an image by describing the edit.": "編集内容を説明して画像を変更します。",+ "Turn text into a spoken audio file.": "テキストを音声ファイルに変換します。",+ "Turn speech in an audio file into text.": "音声ファイル内の発話をテキストに変換します。",+ "Turn speech in any language into English text.": "あらゆる言語の発話を英語のテキストに変換します。",+ "Upload a file for assistants, batch jobs, vision or fine-tuning.": "アシスタント、バッチジョブ、ビジョン、ファインチューニング用のファイルをアップロードします。",+ "List the files in your OpenAI account.": "OpenAI アカウント内のファイルを一覧表示します。",+ "Look up files in your OpenAI account by exact name.": "OpenAI アカウント内のファイルを正確な名前で検索します。",+ "Delete a file you uploaded to OpenAI.": "OpenAI にアップロードしたファイルを削除します。",+ "List the models your OpenAI account can use.": "OpenAI アカウントで使用できるモデルを一覧表示します。",+ "Conversation Memory ID": "会話メモリ ID",+ "Frequency Penalty": "頻度ペナルティ",+ "Presence Penalty": "存在ペナルティ",+ "Fields": "フィールド",+ "Vector Dimensions": "ベクトルの次元数",+ "Max Results": "最大結果",+ "Audio Format": "オーディオ形式",+ "Language": "言語",+ "Name Contains": "名前に含む文字列",+ "Response is Binary": "レスポンスはバイナリ",+ "Return Error as Output": "エラーを出力として返す",+ "Timeout": "タイムアウト",+ "The OpenAI model that writes the reply.": "回答を作成する OpenAI モデル。",+ "What you want the model to answer or do.": "モデルに答えてほしいこと、またはしてほしいこと。",+ "Longest reply in tokens, about 4 characters each.": "回答の最大長(トークン数)。1 トークンは約 4 文字です。",+ "Runs that share this ID continue one conversation. Empty: no memory.": "この ID を共有する実行は 1 つの会話を引き継ぎます。空欄: 記憶なし。",+ "From 0 to 2. Lower is more focused, higher is more varied.": "0 から 2。低いほど的を絞った出力に、高いほど多様な出力になります。",+ "From 0 to 1. Adjust this or Temperature, not both.": "0 から 1。これか「回答のばらつき」のどちらか一方だけを調整してください。",+ "From -2 to 2. Higher values make the model repeat itself less.": "-2 から 2。値が高いほど、モデルが同じ内容を繰り返しにくくなります。",+ "From -2 to 2. Higher values push the model toward new topics.": "-2 から 2。値が高いほど、モデルが新しい話題に移りやすくなります。",+ "Messages sent before the question, such as a system instruction.": "質問の前に送信するメッセージ(システム指示など)。",+ "An assistant from your OpenAI account.": "OpenAI アカウントのアシスタント。",+ "What you want the assistant to answer or do.": "アシスタントに答えてほしいこと、またはしてほしいこと。",+ "The picture to ask about.": "質問の対象となる画像。",+ "What you want to know about the image.": "画像について知りたいこと。",+ "Low is faster and cheaper. High reads small details better.": "「低い」は高速で安価です。「高い」は細部をより正確に読み取ります。",+ "The OpenAI model that reads the text.": "テキストを読み取る OpenAI モデル。",+ "The text to pull the fields from.": "フィールドを抽出するテキスト。",+ "One row per value you want back.": "取得したい値ごとに 1 行。",+ "Moderation model. The default suits most uses.": "モデレーションモデル。ほとんどの用途では既定値で十分です。",+ "The text to check.": "チェックするテキスト。",+ "The model that judges the sentiment.": "感情を判定するモデル。",+ "A message, review or any other text.": "メッセージ、レビュー、その他のテキスト。",+ "Embedding model. The default suits most uses.": "埋め込みモデル。ほとんどの用途では既定値で十分です。",+ "The text to turn into a vector.": "ベクトルに変換するテキスト。",+ "Vector length. Works only with text-embedding-3 models.": "ベクトルの長さ。text-embedding-3 モデルでのみ使用できます。",+ "Your own ID for the end user. Helps OpenAI spot abuse.": "エンドユーザーを識別する独自の ID。OpenAI が不正利用を検出するのに役立ちます。",+ "Embedding model used for the query and the documents.": "クエリとドキュメントに使用する埋め込みモデル。",+ "The text to match the documents against.": "ドキュメントと照合するテキスト。",+ "The texts to rank.": "並べ替えるテキスト。",+ "Empty: every document, best match first.": "空欄: すべてのドキュメント(一致度の高い順)。",+ "The OpenAI model that draws the image.": "画像を生成する OpenAI モデル。",+ "Describe the image you want.": "作成したい画像を説明してください。",+ "Image shape. Auto lets the model choose.": "画像の形。「自動」ではモデルが選択します。",+ "Higher quality takes longer and costs more.": "品質を上げると、時間と費用が増えます。",+ "PNG, JPEG or WebP image to edit.": "編集する PNG、JPEG、WebP 画像。",+ "Describe the change you want.": "加えたい変更を説明してください。",+ "Transparent areas mark where to edit. Same size as the image.": "透明な部分が編集箇所になります。画像と同じサイズにしてください。",+ "What the voice should say.": "音声で読み上げる内容。",+ "The OpenAI model that speaks the text.": "テキストを読み上げる OpenAI モデル。",+ "The voice that reads the text.": "テキストを読み上げる声。",+ "The audio file type.": "音声ファイルの形式。",+ "From 0.25 to 4. 1 is normal speed.": "0.25 から 4。1 が通常の速度です。",+ "Name for the audio file, without the extension.": "音声ファイルの名前(拡張子なし)。",+ "The recording to transcribe.": "文字起こしする録音。",+ "The language spoken in the recording.": "録音で話されている言語。",+ "The recording to translate.": "翻訳する録音。",+ "The file to send to OpenAI.": "OpenAI に送信するファイル。",+ "What OpenAI will use the file for. Each allows different file types.": "OpenAI がファイルを使用する目的。目的ごとに使用できるファイル形式が異なります。",+ "Empty: keeps the original name. Include the extension.": "空欄: 元の名前のままです。拡張子も含めてください。",+ "Only include files with this purpose.": "この目的のファイルのみを含めます。",+ "Up to this many files, from 1 to 10,000.": "取得するファイルの上限数(1~10,000)。",+ "Exact file name, including the extension. Case does not matter.": "拡張子を含む正確なファイル名。大文字と小文字は区別されません。",+ "Starts with file-. Upload, List and Find File return it.": "file- で始まります。ファイルのアップロード、一覧表示、検索の各アクションで取得できます。",+ "Only return models whose name includes this text.": "名前にこのテキストを含むモデルのみを返します。",+ "Appended to the URL as ?key=value.": "?key=value としてURLに追加されます。",+ "On a failed request, output the error instead of failing the step.": "リクエストが失敗した場合、ステップを失敗させずにエラーを出力します。",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "応答を待つ秒数。空欄: フローの上限(10分)まで。",+ "Follow 3xx redirects instead of returning them as the response.": "3xxリダイレクトをレスポンスとして返さずにたどります。",+ "Square": "正方形",+ "Landscape": "横向き",+ "Portrait": "縦向き",+ "Alloy": "Alloy",+ "Echo": "Echo",+ "Fable": "Fable",+ "Onyx": "Onyx",+ "Nova": "Nova",+ "Shimmer": "Shimmer",+ "MP3": "MP3",+ "Opus": "Opus",+ "AAC": "AAC",+ "FLAC": "FLAC",+ "Fine-Tuning": "ファインチューニング"}\ No newline at end of filediff --git a/packages/pieces/community/openai/src/i18n/nl.json b/packages/pieces/community/openai/src/i18n/nl.jsonindex 8e9f2a50a34..983e4a4a27f 100644--- a/packages/pieces/community/openai/src/i18n/nl.json+++ b/packages/pieces/community/openai/src/i18n/nl.json@@ -216,5 +216,110 @@"None": "geen","JSON": "JSON","Form Data": "Formulieren gegevens",- "Raw": "Onbewerkte"+ "Raw": "Onbewerkte",+ "Chat, images, audio and embeddings from OpenAI models.": "Chat, afbeeldingen, audio en embeddings met OpenAI-modellen.",+ "To get your API key:\n\n1. Go to https://platform.openai.com/api-keys\n2. Click **Create new secret key** and copy it.\n\nAdd credit to your OpenAI account first, or every request fails with a 429 quota error.\n": "Zo krijg je je API-sleutel:\n\n1. Ga naar https://platform.openai.com/api-keys\n2. Klik op **Create new secret key** en kopieer de sleutel.\n\nZet eerst tegoed op je OpenAI-account, anders mislukt elk verzoek met een 429-quotafout.\n",+ "Extract Structured Data": "Gestructureerde gegevens extraheren",+ "Moderate Text": "Tekst modereren",+ "Send a question or instruction to an OpenAI model and get a reply.": "Stuur een vraag of instructie naar een OpenAI-model en ontvang een antwoord.",+ "Send a question to an assistant you set up in OpenAI.": "Stuur een vraag naar een assistent die je in OpenAI hebt ingesteld.",+ "Ask a question about an image and get a text reply.": "Stel een vraag over een afbeelding en ontvang een tekstantwoord.",+ "Pull the fields you define out of a block of text.": "Haal de velden die je definieert uit een tekst.",+ "Check text against OpenAI's rules on hate, violence and similar harm.": "Controleer tekst aan de hand van de regels van OpenAI over haat, geweld en vergelijkbare schade.",+ "Label text as positive, negative or neutral.": "Label tekst als positief, negatief of neutraal.",+ "Turn text into a vector for semantic search or clustering.": "Zet tekst om in een vector voor semantisch zoeken of clustering.",+ "Rank a list of texts by how closely they match a query.": "Rangschik een lijst teksten op hoe goed ze bij een zoekopdracht passen.",+ "Create an image from a text description.": "Maak een afbeelding op basis van een tekstbeschrijving.",+ "Change an image by describing the edit.": "Wijzig een afbeelding door de bewerking te beschrijven.",+ "Turn text into a spoken audio file.": "Zet tekst om in een gesproken audiobestand.",+ "Turn speech in an audio file into text.": "Zet spraak in een audiobestand om in tekst.",+ "Turn speech in any language into English text.": "Zet spraak in elke taal om in Engelse tekst.",+ "Upload a file for assistants, batch jobs, vision or fine-tuning.": "Upload een bestand voor assistenten, batchtaken, vision of fine-tuning.",+ "List the files in your OpenAI account.": "Toon de bestanden in je OpenAI-account.",+ "Look up files in your OpenAI account by exact name.": "Zoek bestanden in je OpenAI-account op exacte naam.",+ "Delete a file you uploaded to OpenAI.": "Verwijder een bestand dat je naar OpenAI hebt geüpload.",+ "List the models your OpenAI account can use.": "Toon de modellen die je OpenAI-account kan gebruiken.",+ "Conversation Memory ID": "Gespreksgeheugen-ID",+ "Frequency Penalty": "Frequentiestraf",+ "Presence Penalty": "Aanwezigheidsstraf",+ "Fields": "Velden",+ "Vector Dimensions": "Vectordimensies",+ "Max Results": "Max. aantal resultaten",+ "Audio Format": "Audio-formaat",+ "Language": "Taal",+ "Name Contains": "Naam bevat",+ "Response is Binary": "Antwoord is binair",+ "Return Error as Output": "Fout als uitvoer teruggeven",+ "Timeout": "Time-out",+ "The OpenAI model that writes the reply.": "Het OpenAI-model dat het antwoord schrijft.",+ "What you want the model to answer or do.": "Wat het model moet beantwoorden of doen.",+ "Longest reply in tokens, about 4 characters each.": "Langste antwoord in tokens, elk ongeveer 4 tekens.",+ "Runs that share this ID continue one conversation. Empty: no memory.": "Runs met dezelfde ID zetten één gesprek voort. Leeg: geen geheugen.",+ "From 0 to 2. Lower is more focused, higher is more varied.": "Van 0 tot 2. Lager is gerichter, hoger is gevarieerder.",+ "From 0 to 1. Adjust this or Temperature, not both.": "Van 0 tot 1. Pas dit of de temperatuur aan, niet allebei.",+ "From -2 to 2. Higher values make the model repeat itself less.": "Van -2 tot 2. Hogere waarden laten het model zich minder herhalen.",+ "From -2 to 2. Higher values push the model toward new topics.": "Van -2 tot 2. Hogere waarden sturen het model naar nieuwe onderwerpen.",+ "Messages sent before the question, such as a system instruction.": "Berichten die vóór de vraag worden verstuurd, zoals een systeeminstructie.",+ "An assistant from your OpenAI account.": "Een assistent uit je OpenAI-account.",+ "What you want the assistant to answer or do.": "Wat de assistent moet beantwoorden of doen.",+ "The picture to ask about.": "De afbeelding waarover je een vraag hebt.",+ "What you want to know about the image.": "Wat je over de afbeelding wilt weten.",+ "Low is faster and cheaper. High reads small details better.": "Laag is sneller en goedkoper. Hoog leest kleine details beter.",+ "The OpenAI model that reads the text.": "Het OpenAI-model dat de tekst leest.",+ "The text to pull the fields from.": "De tekst waaruit de velden worden gehaald.",+ "One row per value you want back.": "Eén rij per waarde die je terug wilt.",+ "Moderation model. The default suits most uses.": "Moderatiemodel. De standaard past bij de meeste toepassingen.",+ "The text to check.": "De te controleren tekst.",+ "The model that judges the sentiment.": "Het model dat het sentiment beoordeelt.",+ "A message, review or any other text.": "Een bericht, recensie of andere tekst.",+ "Embedding model. The default suits most uses.": "Embeddingmodel. De standaard past bij de meeste toepassingen.",+ "The text to turn into a vector.": "De tekst die in een vector wordt omgezet.",+ "Vector length. Works only with text-embedding-3 models.": "Lengte van de vector. Werkt alleen met text-embedding-3-modellen.",+ "Your own ID for the end user. Helps OpenAI spot abuse.": "Je eigen ID voor de eindgebruiker. Helpt OpenAI misbruik op te sporen.",+ "Embedding model used for the query and the documents.": "Embeddingmodel voor de zoekopdracht en de documenten.",+ "The text to match the documents against.": "De tekst waarmee de documenten worden vergeleken.",+ "The texts to rank.": "De te rangschikken teksten.",+ "Empty: every document, best match first.": "Leeg: alle documenten, beste overeenkomst eerst.",+ "The OpenAI model that draws the image.": "Het OpenAI-model dat de afbeelding maakt.",+ "Describe the image you want.": "Beschrijf de afbeelding die je wilt.",+ "Image shape. Auto lets the model choose.": "Vorm van de afbeelding. Bij Automatisch kiest het model.",+ "Higher quality takes longer and costs more.": "Hogere kwaliteit duurt langer en kost meer.",+ "PNG, JPEG or WebP image to edit.": "PNG-, JPEG- of WebP-afbeelding om te bewerken.",+ "Describe the change you want.": "Beschrijf de wijziging die je wilt.",+ "Transparent areas mark where to edit. Same size as the image.": "Transparante delen geven aan waar bewerkt wordt. Zelfde formaat als de afbeelding.",+ "What the voice should say.": "Wat de stem moet zeggen.",+ "The OpenAI model that speaks the text.": "Het OpenAI-model dat de tekst uitspreekt.",+ "The voice that reads the text.": "De stem die de tekst voorleest.",+ "The audio file type.": "Het type audiobestand.",+ "From 0.25 to 4. 1 is normal speed.": "Van 0.25 tot 4. 1 is de normale snelheid.",+ "Name for the audio file, without the extension.": "Naam voor het audiobestand, zonder extensie.",+ "The recording to transcribe.": "De opname om te transcriberen.",+ "The language spoken in the recording.": "De taal die in de opname wordt gesproken.",+ "The recording to translate.": "De opname om te vertalen.",+ "The file to send to OpenAI.": "Het bestand om naar OpenAI te sturen.",+ "What OpenAI will use the file for. Each allows different file types.": "Waarvoor OpenAI het bestand gebruikt. Elk doel staat andere bestandstypen toe.",+ "Empty: keeps the original name. Include the extension.": "Leeg: behoudt de oorspronkelijke naam. Neem de extensie op.",+ "Only include files with this purpose.": "Alleen bestanden met dit doel opnemen.",+ "Up to this many files, from 1 to 10,000.": "Maximaal dit aantal bestanden, van 1 tot 10.000.",+ "Exact file name, including the extension. Case does not matter.": "Exacte bestandsnaam, inclusief extensie. Hoofdletters maken niet uit.",+ "Starts with file-. Upload, List and Find File return it.": "Begint met file-. De acties voor uploaden, tonen en zoeken van bestanden geven het terug.",+ "Only return models whose name includes this text.": "Alleen modellen tonen waarvan de naam deze tekst bevat.",+ "Appended to the URL as ?key=value.": "Wordt als ?key=value aan de URL toegevoegd.",+ "On a failed request, output the error instead of failing the step.": "Geef bij een mislukte aanvraag de fout als uitvoer in plaats van de stap te laten mislukken.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Seconden wachten op een antwoord. Leeg: tot de flowlimiet (10 min).",+ "Follow 3xx redirects instead of returning them as the response.": "Volg 3xx-omleidingen in plaats van ze als antwoord terug te geven.",+ "Square": "Vierkant",+ "Landscape": "Liggend",+ "Portrait": "Staand",+ "Alloy": "Alloy",+ "Echo": "Echo",+ "Fable": "Fable",+ "Onyx": "Onyx",+ "Nova": "Nova",+ "Shimmer": "Shimmer",+ "MP3": "MP3",+ "Opus": "Opus",+ "AAC": "AAC",+ "FLAC": "FLAC",+ "Fine-Tuning": "Fine-tuning"}\ No newline at end of filediff --git a/packages/pieces/community/openai/src/i18n/pt.json b/packages/pieces/community/openai/src/i18n/pt.jsonindex 6456bd8764e..35d12c13cca 100644--- a/packages/pieces/community/openai/src/i18n/pt.json+++ b/packages/pieces/community/openai/src/i18n/pt.json@@ -216,5 +216,110 @@"None": "Nenhuma","JSON": "JSON","Form Data": "Dados de Formulário",- "Raw": "RAW"+ "Raw": "RAW",+ "Chat, images, audio and embeddings from OpenAI models.": "Chat, imagens, áudio e embeddings com modelos da OpenAI.",+ "To get your API key:\n\n1. Go to https://platform.openai.com/api-keys\n2. Click **Create new secret key** and copy it.\n\nAdd credit to your OpenAI account first, or every request fails with a 429 quota error.\n": "Para obter sua chave de API:\n\n1. Acesse https://platform.openai.com/api-keys\n2. Clique em **Create new secret key** e copie a chave.\n\nAdicione créditos à sua conta da OpenAI primeiro, ou todas as solicitações falharão com um erro de cota 429.\n",+ "Extract Structured Data": "Extrair Dados Estruturados",+ "Moderate Text": "Moderar Texto",+ "Send a question or instruction to an OpenAI model and get a reply.": "Envie uma pergunta ou instrução a um modelo da OpenAI e receba uma resposta.",+ "Send a question to an assistant you set up in OpenAI.": "Envie uma pergunta a um assistente que você configurou na OpenAI.",+ "Ask a question about an image and get a text reply.": "Faça uma pergunta sobre uma imagem e receba uma resposta em texto.",+ "Pull the fields you define out of a block of text.": "Extraia de um texto os campos que você definir.",+ "Check text against OpenAI's rules on hate, violence and similar harm.": "Verifique o texto com base nas regras da OpenAI sobre ódio, violência e danos semelhantes.",+ "Label text as positive, negative or neutral.": "Classifique o texto como positivo, negativo ou neutro.",+ "Turn text into a vector for semantic search or clustering.": "Transforme texto em um vetor para busca semântica ou agrupamento.",+ "Rank a list of texts by how closely they match a query.": "Ordene uma lista de textos pelo quanto correspondem a uma consulta.",+ "Create an image from a text description.": "Crie uma imagem a partir de uma descrição em texto.",+ "Change an image by describing the edit.": "Altere uma imagem descrevendo a edição.",+ "Turn text into a spoken audio file.": "Transforme texto em um arquivo de áudio falado.",+ "Turn speech in an audio file into text.": "Transforme a fala de um arquivo de áudio em texto.",+ "Turn speech in any language into English text.": "Transforme fala em qualquer idioma em texto em inglês.",+ "Upload a file for assistants, batch jobs, vision or fine-tuning.": "Envie um arquivo para assistentes, trabalhos em lote, visão ou ajuste fino.",+ "List the files in your OpenAI account.": "Liste os arquivos da sua conta da OpenAI.",+ "Look up files in your OpenAI account by exact name.": "Procure arquivos na sua conta da OpenAI pelo nome exato.",+ "Delete a file you uploaded to OpenAI.": "Exclua um arquivo que você enviou para a OpenAI.",+ "List the models your OpenAI account can use.": "Liste os modelos que sua conta da OpenAI pode usar.",+ "Conversation Memory ID": "ID da memória da conversa",+ "Frequency Penalty": "Penalidade de frequência",+ "Presence Penalty": "Penalidade de presença",+ "Fields": "Campos",+ "Vector Dimensions": "Dimensões vetoriais",+ "Max Results": "Máximo de resultados",+ "Audio Format": "Formato de Áudio",+ "Language": "Idioma",+ "Name Contains": "Nome contém",+ "Response is Binary": "A resposta é binária",+ "Return Error as Output": "Retornar erro como saída",+ "Timeout": "Tempo limite",+ "The OpenAI model that writes the reply.": "O modelo da OpenAI que escreve a resposta.",+ "What you want the model to answer or do.": "O que você quer que o modelo responda ou faça.",+ "Longest reply in tokens, about 4 characters each.": "Resposta mais longa em tokens, cerca de 4 caracteres cada.",+ "Runs that share this ID continue one conversation. Empty: no memory.": "Execuções que compartilham este ID continuam a mesma conversa. Vazio: sem memória.",+ "From 0 to 2. Lower is more focused, higher is more varied.": "De 0 a 2. Menor é mais focado, maior é mais variado.",+ "From 0 to 1. Adjust this or Temperature, not both.": "De 0 a 1. Ajuste isto ou a temperatura, não ambos.",+ "From -2 to 2. Higher values make the model repeat itself less.": "De -2 a 2. Valores maiores fazem o modelo se repetir menos.",+ "From -2 to 2. Higher values push the model toward new topics.": "De -2 a 2. Valores maiores levam o modelo a novos assuntos.",+ "Messages sent before the question, such as a system instruction.": "Mensagens enviadas antes da pergunta, como uma instrução de sistema.",+ "An assistant from your OpenAI account.": "Um assistente da sua conta da OpenAI.",+ "What you want the assistant to answer or do.": "O que você quer que o assistente responda ou faça.",+ "The picture to ask about.": "A imagem sobre a qual perguntar.",+ "What you want to know about the image.": "O que você quer saber sobre a imagem.",+ "Low is faster and cheaper. High reads small details better.": "Baixa é mais rápida e barata. Alta lê melhor os detalhes pequenos.",+ "The OpenAI model that reads the text.": "O modelo da OpenAI que lê o texto.",+ "The text to pull the fields from.": "O texto do qual extrair os campos.",+ "One row per value you want back.": "Uma linha para cada valor que você quer receber.",+ "Moderation model. The default suits most uses.": "Modelo de moderação. O padrão atende à maioria dos usos.",+ "The text to check.": "O texto a verificar.",+ "The model that judges the sentiment.": "O modelo que avalia o sentimento.",+ "A message, review or any other text.": "Uma mensagem, avaliação ou qualquer outro texto.",+ "Embedding model. The default suits most uses.": "Modelo de embedding. O padrão atende à maioria dos usos.",+ "The text to turn into a vector.": "O texto a transformar em vetor.",+ "Vector length. Works only with text-embedding-3 models.": "Tamanho do vetor. Funciona apenas com modelos text-embedding-3.",+ "Your own ID for the end user. Helps OpenAI spot abuse.": "Seu próprio ID para o usuário final. Ajuda a OpenAI a detectar abusos.",+ "Embedding model used for the query and the documents.": "Modelo de embedding usado para a consulta e os documentos.",+ "The text to match the documents against.": "O texto com o qual os documentos são comparados.",+ "The texts to rank.": "Os textos a ordenar.",+ "Empty: every document, best match first.": "Vazio: todos os documentos, melhor correspondência primeiro.",+ "The OpenAI model that draws the image.": "O modelo da OpenAI que cria a imagem.",+ "Describe the image you want.": "Descreva a imagem que você quer.",+ "Image shape. Auto lets the model choose.": "Formato da imagem. Com Automático, o modelo escolhe.",+ "Higher quality takes longer and costs more.": "Qualidade maior demora mais e custa mais.",+ "PNG, JPEG or WebP image to edit.": "Imagem PNG, JPEG ou WebP a editar.",+ "Describe the change you want.": "Descreva a alteração que você quer.",+ "Transparent areas mark where to edit. Same size as the image.": "As áreas transparentes indicam onde editar. Mesmo tamanho da imagem.",+ "What the voice should say.": "O que a voz deve dizer.",+ "The OpenAI model that speaks the text.": "O modelo da OpenAI que fala o texto.",+ "The voice that reads the text.": "A voz que lê o texto.",+ "The audio file type.": "O tipo de arquivo de áudio.",+ "From 0.25 to 4. 1 is normal speed.": "De 0.25 a 4. 1 é a velocidade normal.",+ "Name for the audio file, without the extension.": "Nome do arquivo de áudio, sem a extensão.",+ "The recording to transcribe.": "A gravação a transcrever.",+ "The language spoken in the recording.": "O idioma falado na gravação.",+ "The recording to translate.": "A gravação a traduzir.",+ "The file to send to OpenAI.": "O arquivo a enviar para a OpenAI.",+ "What OpenAI will use the file for. Each allows different file types.": "Para que a OpenAI vai usar o arquivo. Cada finalidade aceita tipos de arquivo diferentes.",+ "Empty: keeps the original name. Include the extension.": "Vazio: mantém o nome original. Inclua a extensão.",+ "Only include files with this purpose.": "Incluir apenas arquivos com esta finalidade.",+ "Up to this many files, from 1 to 10,000.": "Até esta quantidade de arquivos, de 1 a 10.000.",+ "Exact file name, including the extension. Case does not matter.": "Nome exato do arquivo, incluindo a extensão. Maiúsculas e minúsculas não importam.",+ "Starts with file-. Upload, List and Find File return it.": "Começa com file-. As ações de enviar, listar e localizar arquivos o retornam.",+ "Only return models whose name includes this text.": "Retornar apenas modelos cujo nome inclua este texto.",+ "Appended to the URL as ?key=value.": "Adicionado à URL como ?key=value.",+ "On a failed request, output the error instead of failing the step.": "Se a solicitação falhar, retorna o erro em vez de falhar a etapa.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Segundos de espera por uma resposta. Vazio: até o limite do fluxo (10 min).",+ "Follow 3xx redirects instead of returning them as the response.": "Segue redirecionamentos 3xx em vez de retorná-los como resposta.",+ "Square": "Quadrado",+ "Landscape": "Paisagem",+ "Portrait": "Retrato",+ "Alloy": "Alloy",+ "Echo": "Echo",+ "Fable": "Fable",+ "Onyx": "Onyx",+ "Nova": "Nova",+ "Shimmer": "Shimmer",+ "MP3": "MP3",+ "Opus": "Opus",+ "AAC": "AAC",+ "FLAC": "FLAC",+ "Fine-Tuning": "Ajuste fino"}\ No newline at end of filediff --git a/packages/pieces/community/openai/src/i18n/ru.json b/packages/pieces/community/openai/src/i18n/ru.jsonindex 07a477ffeca..e58653b122b 100644--- a/packages/pieces/community/openai/src/i18n/ru.json+++ b/packages/pieces/community/openai/src/i18n/ru.json@@ -151,5 +151,110 @@"PATCH": "ПАТЧ","PUT": "ПОКУПИТЬ","DELETE": "УДАЛИТЬ",- "HEAD": "HEAD"+ "HEAD": "HEAD",+ "Chat, images, audio and embeddings from OpenAI models.": "Чат, изображения, аудио и эмбеддинги с моделями OpenAI.",+ "To get your API key:\n\n1. Go to https://platform.openai.com/api-keys\n2. Click **Create new secret key** and copy it.\n\nAdd credit to your OpenAI account first, or every request fails with a 429 quota error.\n": "Как получить API-ключ:\n\n1. Перейдите на https://platform.openai.com/api-keys\n2. Нажмите **Create new secret key** и скопируйте ключ.\n\nСначала пополните баланс аккаунта OpenAI, иначе каждый запрос будет завершаться ошибкой квоты 429.\n",+ "Extract Structured Data": "Извлечь структурированные данные",+ "Moderate Text": "Модерировать текст",+ "Send a question or instruction to an OpenAI model and get a reply.": "Отправить вопрос или инструкцию модели OpenAI и получить ответ.",+ "Send a question to an assistant you set up in OpenAI.": "Отправить вопрос ассистенту, настроенному в OpenAI.",+ "Ask a question about an image and get a text reply.": "Задать вопрос об изображении и получить текстовый ответ.",+ "Pull the fields you define out of a block of text.": "Извлечь из текста заданные вами поля.",+ "Check text against OpenAI's rules on hate, violence and similar harm.": "Проверить текст на соответствие правилам OpenAI о ненависти, насилии и подобном вреде.",+ "Label text as positive, negative or neutral.": "Определить тональность текста: позитивная, негативная или нейтральная.",+ "Turn text into a vector for semantic search or clustering.": "Преобразовать текст в вектор для семантического поиска или кластеризации.",+ "Rank a list of texts by how closely they match a query.": "Упорядочить список текстов по степени соответствия запросу.",+ "Create an image from a text description.": "Создать изображение по текстовому описанию.",+ "Change an image by describing the edit.": "Изменить изображение, описав правку.",+ "Turn text into a spoken audio file.": "Преобразовать текст в аудиофайл с речью.",+ "Turn speech in an audio file into text.": "Преобразовать речь из аудиофайла в текст.",+ "Turn speech in any language into English text.": "Преобразовать речь на любом языке в текст на английском.",+ "Upload a file for assistants, batch jobs, vision or fine-tuning.": "Загрузить файл для ассистентов, пакетных заданий, распознавания изображений или тонкой настройки.",+ "List the files in your OpenAI account.": "Получить список файлов в вашем аккаунте OpenAI.",+ "Look up files in your OpenAI account by exact name.": "Найти файлы в аккаунте OpenAI по точному имени.",+ "Delete a file you uploaded to OpenAI.": "Удалить файл, загруженный в OpenAI.",+ "List the models your OpenAI account can use.": "Получить список моделей, доступных вашему аккаунту OpenAI.",+ "Conversation Memory ID": "ID памяти беседы",+ "Frequency Penalty": "Штраф за частоту",+ "Presence Penalty": "Штраф за присутствие",+ "Fields": "Поля",+ "Vector Dimensions": "Размерность вектора",+ "Max Results": "Макс. результатов",+ "Audio Format": "Формат аудио",+ "Language": "Язык",+ "Name Contains": "Имя содержит",+ "Response is Binary": "Ответ двоичный",+ "Return Error as Output": "Возвращать ошибку как результат",+ "Timeout": "Тайм-аут",+ "The OpenAI model that writes the reply.": "Модель OpenAI, которая пишет ответ.",+ "What you want the model to answer or do.": "Что модель должна ответить или сделать.",+ "Longest reply in tokens, about 4 characters each.": "Максимальная длина ответа в токенах, примерно 4 символа каждый.",+ "Runs that share this ID continue one conversation. Empty: no memory.": "Запуски с одним ID продолжают одну беседу. Пусто: без памяти.",+ "From 0 to 2. Lower is more focused, higher is more varied.": "От 0 до 2. Ниже — точнее, выше — разнообразнее.",+ "From 0 to 1. Adjust this or Temperature, not both.": "От 0 до 1. Меняйте это или температуру, но не оба.",+ "From -2 to 2. Higher values make the model repeat itself less.": "От -2 до 2. Чем выше значение, тем реже модель повторяется.",+ "From -2 to 2. Higher values push the model toward new topics.": "От -2 до 2. Чем выше значение, тем чаще модель переходит к новым темам.",+ "Messages sent before the question, such as a system instruction.": "Сообщения, отправляемые перед вопросом, например системная инструкция.",+ "An assistant from your OpenAI account.": "Ассистент из вашего аккаунта OpenAI.",+ "What you want the assistant to answer or do.": "Что ассистент должен ответить или сделать.",+ "The picture to ask about.": "Изображение, о котором вы спрашиваете.",+ "What you want to know about the image.": "Что вы хотите узнать об изображении.",+ "Low is faster and cheaper. High reads small details better.": "Low — быстрее и дешевле. High — лучше различает мелкие детали.",+ "The OpenAI model that reads the text.": "Модель OpenAI, которая читает текст.",+ "The text to pull the fields from.": "Текст, из которого извлекаются поля.",+ "One row per value you want back.": "Одна строка на каждое нужное значение.",+ "Moderation model. The default suits most uses.": "Модель модерации. Значение по умолчанию подходит в большинстве случаев.",+ "The text to check.": "Текст для проверки.",+ "The model that judges the sentiment.": "Модель, которая определяет тональность.",+ "A message, review or any other text.": "Сообщение, отзыв или любой другой текст.",+ "Embedding model. The default suits most uses.": "Модель эмбеддингов. Значение по умолчанию подходит в большинстве случаев.",+ "The text to turn into a vector.": "Текст для преобразования в вектор.",+ "Vector length. Works only with text-embedding-3 models.": "Длина вектора. Работает только с моделями text-embedding-3.",+ "Your own ID for the end user. Helps OpenAI spot abuse.": "Ваш собственный ID конечного пользователя. Помогает OpenAI выявлять злоупотребления.",+ "Embedding model used for the query and the documents.": "Модель эмбеддингов для запроса и документов.",+ "The text to match the documents against.": "Текст, с которым сравниваются документы.",+ "The texts to rank.": "Тексты для упорядочивания.",+ "Empty: every document, best match first.": "Пусто: все документы, сначала наиболее подходящие.",+ "The OpenAI model that draws the image.": "Модель OpenAI, которая рисует изображение.",+ "Describe the image you want.": "Опишите нужное изображение.",+ "Image shape. Auto lets the model choose.": "Форма изображения. При значении Auto модель выбирает сама.",+ "Higher quality takes longer and costs more.": "Более высокое качество занимает больше времени и стоит дороже.",+ "PNG, JPEG or WebP image to edit.": "Изображение PNG, JPEG или WebP для редактирования.",+ "Describe the change you want.": "Опишите нужное изменение.",+ "Transparent areas mark where to edit. Same size as the image.": "Прозрачные области отмечают, где редактировать. Тот же размер, что у изображения.",+ "What the voice should say.": "Что должен произнести голос.",+ "The OpenAI model that speaks the text.": "Модель OpenAI, которая озвучивает текст.",+ "The voice that reads the text.": "Голос, которым читается текст.",+ "The audio file type.": "Тип аудиофайла.",+ "From 0.25 to 4. 1 is normal speed.": "От 0.25 до 4. 1 — обычная скорость.",+ "Name for the audio file, without the extension.": "Имя аудиофайла без расширения.",+ "The recording to transcribe.": "Запись для транскрипции.",+ "The language spoken in the recording.": "Язык, на котором говорят в записи.",+ "The recording to translate.": "Запись для перевода.",+ "The file to send to OpenAI.": "Файл для отправки в OpenAI.",+ "What OpenAI will use the file for. Each allows different file types.": "Для чего OpenAI будет использовать файл. Для каждой цели допустимы свои типы файлов.",+ "Empty: keeps the original name. Include the extension.": "Пусто: сохраняется исходное имя. Укажите расширение.",+ "Only include files with this purpose.": "Включать только файлы с этой целью.",+ "Up to this many files, from 1 to 10,000.": "Не больше этого числа файлов, от 1 до 10 000.",+ "Exact file name, including the extension. Case does not matter.": "Точное имя файла с расширением. Регистр не важен.",+ "Starts with file-. Upload, List and Find File return it.": "Начинается с file-. Возвращается действиями загрузки, вывода списка и поиска файлов.",+ "Only return models whose name includes this text.": "Возвращать только модели, в названии которых есть этот текст.",+ "Appended to the URL as ?key=value.": "Добавляется к URL как ?key=value.",+ "On a failed request, output the error instead of failing the step.": "При неудачном запросе вернуть ошибку вместо сбоя шага.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Секунды ожидания ответа. Пусто: до лимита потока (10 мин).",+ "Follow 3xx redirects instead of returning them as the response.": "Следовать перенаправлениям 3xx, а не возвращать их как ответ.",+ "Square": "Квадратный",+ "Landscape": "Горизонтальный",+ "Portrait": "Вертикальный",+ "Alloy": "Alloy",+ "Echo": "Echo",+ "Fable": "Fable",+ "Onyx": "Onyx",+ "Nova": "Nova",+ "Shimmer": "Shimmer",+ "MP3": "MP3",+ "Opus": "Opus",+ "AAC": "AAC",+ "FLAC": "FLAC",+ "Fine-Tuning": "Тонкая настройка"}\ No newline at end of filediff --git a/packages/pieces/community/openai/src/i18n/translation.json b/packages/pieces/community/openai/src/i18n/translation.jsonindex 9397b954325..a52aa27c9de 100644--- a/packages/pieces/community/openai/src/i18n/translation.json+++ b/packages/pieces/community/openai/src/i18n/translation.json@@ -1,11 +1,11 @@{- "Use the many tools ChatGPT has to offer.": "Use the many tools ChatGPT has to offer.",- "Follow these instructions to get your OpenAI API Key:\n\n1. Visit the following website: https://platform.openai.com/account/api-keys.\n2. Once on the website, locate and click on the option to obtain your OpenAI API Key.\n\nIt is strongly recommended that you add your credit card information to your OpenAI account and upgrade to the paid plan **before** generating the API Key. This will help you prevent 429 errors.\n": "Follow these instructions to get your OpenAI API Key:\n\n1. Visit the following website: https://platform.openai.com/account/api-keys.\n2. Once on the website, locate and click on the option to obtain your OpenAI API Key.\n\nIt is strongly recommended that you add your credit card information to your OpenAI account and upgrade to the paid plan **before** generating the API Key. This will help you prevent 429 errors.\n",+ "Chat, images, audio and embeddings from OpenAI models.": "Chat, images, audio and embeddings from OpenAI models.",+ "To get your API key:\n\n1. Go to https://platform.openai.com/api-keys\n2. Click **Create new secret key** and copy it.\n\nAdd credit to your OpenAI account first, or every request fails with a 429 quota error.\n": "To get your API key:\n\n1. Go to https://platform.openai.com/api-keys\n2. Click **Create new secret key** and copy it.\n\nAdd credit to your OpenAI account first, or every request fails with a 429 quota error.\n","Ask ChatGPT": "Ask ChatGPT","Ask Assistant": "Ask Assistant","Vision Prompt": "Vision Prompt",- "Extract Structured Data from Text": "Extract Structured Data from Text",- "Classify Text (Moderation)": "Classify Text (Moderation)",+ "Extract Structured Data": "Extract Structured Data",+ "Moderate Text": "Moderate Text","Analyze Text Sentiment": "Analyze Text Sentiment","Create Embedding": "Create Embedding","Search Embeddings": "Search Embeddings",@@ -20,126 +20,126 @@"Delete File": "Delete File","List Models": "List Models","Custom API Call": "Custom API Call",- "Ask ChatGPT anything you want!": "Ask ChatGPT anything you want!",- "Ask a GPT assistant anything you want!": "Ask a GPT assistant anything you want!",- "Ask GPT a question about an image": "Ask GPT a question about an image",- "Returns structured data from provided unstructured text.": "Returns structured data from provided unstructured text.",- "Classify whether the supplied text violates OpenAI safety policies (harassment, hate, self-harm, sexual, violence, etc.).": "Classify whether the supplied text violates OpenAI safety policies (harassment, hate, self-harm, sexual, violence, etc.).",- "Analyzes text for sentiment (positive, negative, or neutral).": "Analyzes text for sentiment (positive, negative, or neutral).",- "Generate a vector embedding for the supplied text. Useful for semantic search, clustering and RAG pipelines.": "Generate a vector embedding for the supplied text. Useful for semantic search, clustering and RAG pipelines.",- "Matches a query string to a list of document strings for best results.": "Matches a query string to a list of document strings for best results.",- "Generate an image using text-to-image models": "Generate an image using text-to-image models",- "Edit an existing image using a text prompt with gpt-image-2": "Edit an existing image using a text prompt with gpt-image-2",- "Generate an audio recording from text": "Generate an audio recording from text",- "Transcribe audio to text using whisper-1 model": "Transcribe audio to text using whisper-1 model",- "Translate audio to text using whisper-1 model": "Translate audio to text using whisper-1 model",- "Upload a file to OpenAI for use with Assistants, Vector Stores, Batch jobs, Fine-tuning, or Vision.": "Upload a file to OpenAI for use with Assistants, Vector Stores, Batch jobs, Fine-tuning, or Vision.",- "Return the list of files uploaded to the connected OpenAI account, optionally filtered by purpose.": "Return the list of files uploaded to the connected OpenAI account, optionally filtered by purpose.",- "Check whether a file with the given name already exists in the connected OpenAI account.": "Check whether a file with the given name already exists in the connected OpenAI account.",- "Delete a file previously uploaded to the connected OpenAI account.": "Delete a file previously uploaded to the connected OpenAI account.",- "Return the list of models available to the connected OpenAI account, optionally filtered by an ID substring.": "Return the list of models available to the connected OpenAI account, optionally filtered by an ID substring.",+ "Send a question or instruction to an OpenAI model and get a reply.": "Send a question or instruction to an OpenAI model and get a reply.",+ "Send a question to an assistant you set up in OpenAI.": "Send a question to an assistant you set up in OpenAI.",+ "Ask a question about an image and get a text reply.": "Ask a question about an image and get a text reply.",+ "Pull the fields you define out of a block of text.": "Pull the fields you define out of a block of text.",+ "Check text against OpenAI's rules on hate, violence and similar harm.": "Check text against OpenAI's rules on hate, violence and similar harm.",+ "Label text as positive, negative or neutral.": "Label text as positive, negative or neutral.",+ "Turn text into a vector for semantic search or clustering.": "Turn text into a vector for semantic search or clustering.",+ "Rank a list of texts by how closely they match a query.": "Rank a list of texts by how closely they match a query.",+ "Create an image from a text description.": "Create an image from a text description.",+ "Change an image by describing the edit.": "Change an image by describing the edit.",+ "Turn text into a spoken audio file.": "Turn text into a spoken audio file.",+ "Turn speech in an audio file into text.": "Turn speech in an audio file into text.",+ "Turn speech in any language into English text.": "Turn speech in any language into English text.",+ "Upload a file for assistants, batch jobs, vision or fine-tuning.": "Upload a file for assistants, batch jobs, vision or fine-tuning.",+ "List the files in your OpenAI account.": "List the files in your OpenAI account.",+ "Look up files in your OpenAI account by exact name.": "Look up files in your OpenAI account by exact name.",+ "Delete a file you uploaded to OpenAI.": "Delete a file you uploaded to OpenAI.",+ "List the models your OpenAI account can use.": "List the models your OpenAI account can use.","Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint","Model": "Model","Question": "Question",- "Temperature": "Temperature","Maximum Tokens": "Maximum Tokens",+ "Conversation Memory ID": "Conversation Memory ID",+ "Temperature": "Temperature","Top P": "Top P",- "Frequency penalty": "Frequency penalty",- "Presence penalty": "Presence penalty",- "Memory Key": "Memory Key",+ "Frequency Penalty": "Frequency Penalty",+ "Presence Penalty": "Presence Penalty","Roles": "Roles","Assistant": "Assistant","Image": "Image","Detail": "Detail",- "Unstructured Text": "Unstructured Text",- "Data Definition": "Data Definition",- "Input": "Input","Text": "Text",- "Dimensions": "Dimensions",+ "Fields": "Fields",+ "Vector Dimensions": "Vector Dimensions","User ID": "User ID","Query": "Query","Documents": "Documents",- "Top K": "Top K",+ "Max Results": "Max Results","Prompt": "Prompt",- "Resolution": "Resolution",+ "Size": "Size","Quality": "Quality","Mask": "Mask",- "Size": "Size",- "Speed": "Speed","Voice": "Voice",- "Output Format": "Output Format",+ "Audio Format": "Audio Format",+ "Speed": "Speed","File Name": "File Name","Audio": "Audio",- "Language of the Audio": "Language of the Audio",+ "Language": "Language","File": "File","Purpose": "Purpose",- "Override Filename": "Override Filename",- "Purpose Filter": "Purpose Filter",- "Limit": "Limit","File ID": "File ID",- "Filter Substring": "Filter Substring",+ "Name Contains": "Name Contains","Method": "Method","Headers": "Headers","Query Parameters": "Query Parameters","Body Type": "Body Type","Body": "Body",- "Response is Binary ?": "Response is Binary ?",- "No Error on Failure": "No Error on Failure",- "Timeout (in seconds)": "Timeout (in seconds)",+ "Response is Binary": "Response is Binary",+ "Return Error as Output": "Return Error as Output",+ "Timeout": "Timeout","Follow redirects": "Follow redirects",- "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.": "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.",- "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.": "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.",- "The maximum number of tokens to generate. Requests can use up to 2,048 or 4,096 tokens shared between prompt and completion depending on the model. Don't set the value to maximum and leave some tokens for the input. (One token is roughly 4 characters for normal English text)": "The maximum number of tokens to generate. Requests can use up to 2,048 or 4,096 tokens shared between prompt and completion depending on the model. Don't set the value to maximum and leave some tokens for the input. (One token is roughly 4 characters for normal English text)",- "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.",- "Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.": "Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.",- "Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the mode's likelihood to talk about new topics.": "Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the mode's likelihood to talk about new topics.",- "A memory key that will keep the chat history shared across runs and flows. Keep it empty to leave ChatGPT without memory of previous messages.": "A memory key that will keep the chat history shared across runs and flows. Keep it empty to leave ChatGPT without memory of previous messages.",- "Array of roles to specify more accurate response": "Array of roles to specify more accurate response",- "The assistant which will generate the completion.": "The assistant which will generate the completion.",- "A memory key that will keep the chat history shared across runs and flows. Keep it empty to leave your assistant without memory of previous messages.": "A memory key that will keep the chat history shared across runs and flows. Keep it empty to leave your assistant without memory of previous messages.",- "The image URL or file you want GPT's vision to read.": "The image URL or file you want GPT's vision to read.",- "What do you want ChatGPT to tell you about the image?": "What do you want ChatGPT to tell you about the image?",- "Control how the model processes the image and generates textual understanding.": "Control how the model processes the image and generates textual understanding.",- "The maximum number of tokens to generate. Requests can use up to 2,048 or 4,096 tokens shared between prompt and completion, don't set the value to maximum and leave some tokens for the input. The exact limit varies by model. (One token is roughly 4 characters for normal English text)": "The maximum number of tokens to generate. Requests can use up to 2,048 or 4,096 tokens shared between prompt and completion, don't set the value to maximum and leave some tokens for the input. The exact limit varies by model. (One token is roughly 4 characters for normal English text)",- "Moderation model to use. omni-moderation-latest also supports images.": "Moderation model to use. omni-moderation-latest also supports images.",- "The text to classify.": "The text to classify.",- "The chat model used to judge sentiment.": "The chat model used to judge sentiment.",- "The text to analyze.": "The text to analyze.",- "The embedding model to use.": "The embedding model to use.",- "The text to embed. To embed multiple strings in one call, provide a newline-separated list or use the Custom API Call action.": "The text to embed. To embed multiple strings in one call, provide a newline-separated list or use the Custom API Call action.",- "Number of dimensions for the embedding (only supported by text-embedding-3-* models).": "Number of dimensions for the embedding (only supported by text-embedding-3-* models).",- "A stable identifier for the end user — helps OpenAI detect abuse.": "A stable identifier for the end user — helps OpenAI detect abuse.",- "The embedding model to use for both query and documents.": "The embedding model to use for both query and documents.",- "The text to match against the documents.": "The text to match against the documents.",- "The list of document strings to search.": "The list of document strings to search.",- "Return only the top K best matches. Leave empty to return all documents ranked by score.": "Return only the top K best matches. Leave empty to return all documents ranked by score.",- "The model which will generate the image.": "The model which will generate the image.",- "The resolution to generate the image in.": "The resolution to generate the image in.",- "Image quality level.": "Image quality level.",- "The image to edit (PNG, JPEG, or WebP).": "The image to edit (PNG, JPEG, or WebP).",- "A description of the desired edits or the new image.": "A description of the desired edits or the new image.",- "Optional mask image. Transparent areas indicate where to apply edits. Must match the input image dimensions.": "Optional mask image. Transparent areas indicate where to apply edits. Must match the input image dimensions.",- "The size of the generated image.": "The size of the generated image.",- "The text you want to hear.": "The text you want to hear.",- "The model which will generate the audio.": "The model which will generate the audio.",- "The speed of the audio. Minimum is 0.25 and maximum is 4.00.": "The speed of the audio. Minimum is 0.25 and maximum is 4.00.",- "The voice to generate the audio in.": "The voice to generate the audio in.",- "The format you want the audio file in.": "The format you want the audio file in.",- "The name of the output audio file (without extension).": "The name of the output audio file (without extension).",- "Audio file to transcribe": "Audio file to transcribe",- "Language of the audio file the default is en (English).": "Language of the audio file the default is en (English).",- "Audio file to translate": "Audio file to translate",- "The file to upload.": "The file to upload.",- "The intended use of the file. Each purpose has different allowed file types — see https://platform.openai.com/docs/api-reference/files/create.": "The intended use of the file. Each purpose has different allowed file types — see https://platform.openai.com/docs/api-reference/files/create.",- "Optional. By default the original filename is used. Provide a value to override (must include the extension).": "Optional. By default the original filename is used. Provide a value to override (must include the extension).",- "If supplied, only files with this purpose are returned.": "If supplied, only files with this purpose are returned.",- "Maximum number of files to return (1-10000). Defaults to 10000.": "Maximum number of files to return (1-10000). Defaults to 10000.",- "The exact filename to look for (case-insensitive).": "The exact filename to look for (case-insensitive).",- "If supplied, only files with this purpose are searched.": "If supplied, only files with this purpose are searched.",- "The OpenAI file ID returned by Upload File (starts with `file-`).": "The OpenAI file ID returned by Upload File (starts with `file-`).",- "Optional case-insensitive substring used to filter model IDs (e.g. `gpt-4`, `embedding`, `whisper`).": "Optional case-insensitive substring used to filter model IDs (e.g. `gpt-4`, `embedding`, `whisper`).",+ "The OpenAI model that writes the reply.": "The OpenAI model that writes the reply.",+ "What you want the model to answer or do.": "What you want the model to answer or do.",+ "Longest reply in tokens, about 4 characters each.": "Longest reply in tokens, about 4 characters each.",+ "Runs that share this ID continue one conversation. Empty: no memory.": "Runs that share this ID continue one conversation. Empty: no memory.",+ "From 0 to 2. Lower is more focused, higher is more varied.": "From 0 to 2. Lower is more focused, higher is more varied.",+ "From 0 to 1. Adjust this or Temperature, not both.": "From 0 to 1. Adjust this or Temperature, not both.",+ "From -2 to 2. Higher values make the model repeat itself less.": "From -2 to 2. Higher values make the model repeat itself less.",+ "From -2 to 2. Higher values push the model toward new topics.": "From -2 to 2. Higher values push the model toward new topics.",+ "Messages sent before the question, such as a system instruction.": "Messages sent before the question, such as a system instruction.",+ "An assistant from your OpenAI account.": "An assistant from your OpenAI account.",+ "What you want the assistant to answer or do.": "What you want the assistant to answer or do.",+ "The picture to ask about.": "The picture to ask about.",+ "What you want to know about the image.": "What you want to know about the image.",+ "Low is faster and cheaper. High reads small details better.": "Low is faster and cheaper. High reads small details better.",+ "The OpenAI model that reads the text.": "The OpenAI model that reads the text.",+ "The text to pull the fields from.": "The text to pull the fields from.",+ "One row per value you want back.": "One row per value you want back.",+ "Moderation model. The default suits most uses.": "Moderation model. The default suits most uses.",+ "The text to check.": "The text to check.",+ "The model that judges the sentiment.": "The model that judges the sentiment.",+ "A message, review or any other text.": "A message, review or any other text.",+ "Embedding model. The default suits most uses.": "Embedding model. The default suits most uses.",+ "The text to turn into a vector.": "The text to turn into a vector.",+ "Vector length. Works only with text-embedding-3 models.": "Vector length. Works only with text-embedding-3 models.",+ "Your own ID for the end user. Helps OpenAI spot abuse.": "Your own ID for the end user. Helps OpenAI spot abuse.",+ "Embedding model used for the query and the documents.": "Embedding model used for the query and the documents.",+ "The text to match the documents against.": "The text to match the documents against.",+ "The texts to rank.": "The texts to rank.",+ "Empty: every document, best match first.": "Empty: every document, best match first.",+ "The OpenAI model that draws the image.": "The OpenAI model that draws the image.",+ "Describe the image you want.": "Describe the image you want.",+ "Image shape. Auto lets the model choose.": "Image shape. Auto lets the model choose.",+ "Higher quality takes longer and costs more.": "Higher quality takes longer and costs more.",+ "PNG, JPEG or WebP image to edit.": "PNG, JPEG or WebP image to edit.",+ "Describe the change you want.": "Describe the change you want.",+ "Transparent areas mark where to edit. Same size as the image.": "Transparent areas mark where to edit. Same size as the image.",+ "What the voice should say.": "What the voice should say.",+ "The OpenAI model that speaks the text.": "The OpenAI model that speaks the text.",+ "The voice that reads the text.": "The voice that reads the text.",+ "The audio file type.": "The audio file type.",+ "From 0.25 to 4. 1 is normal speed.": "From 0.25 to 4. 1 is normal speed.",+ "Name for the audio file, without the extension.": "Name for the audio file, without the extension.",+ "The recording to transcribe.": "The recording to transcribe.",+ "The language spoken in the recording.": "The language spoken in the recording.",+ "The recording to translate.": "The recording to translate.",+ "The file to send to OpenAI.": "The file to send to OpenAI.",+ "What OpenAI will use the file for. Each allows different file types.": "What OpenAI will use the file for. Each allows different file types.",+ "Empty: keeps the original name. Include the extension.": "Empty: keeps the original name. Include the extension.",+ "Only include files with this purpose.": "Only include files with this purpose.",+ "Up to this many files, from 1 to 10,000.": "Up to this many files, from 1 to 10,000.",+ "Exact file name, including the extension. Case does not matter.": "Exact file name, including the extension. Case does not matter.",+ "Starts with file-. Upload, List and Find File return it.": "Starts with file-. Upload, List and Find File return it.",+ "Only return models whose name includes this text.": "Only return models whose name includes this text.","Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",+ "Appended to the URL as ?key=value.": "Appended to the URL as ?key=value.","Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",+ "On a failed request, output the error instead of failing the step.": "On a failed request, output the error instead of failing the step.",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "Seconds to wait for a response. Empty: up to the flow limit (10 min).",+ "Follow 3xx redirects instead of returning them as the response.": "Follow 3xx redirects instead of returning them as the response.","omni-moderation-latest": "omni-moderation-latest","text-moderation-latest": "text-moderation-latest","text-moderation-stable": "text-moderation-stable",@@ -152,91 +152,87 @@"text-embedding-3-large": "text-embedding-3-large","text-embedding-ada-002": "text-embedding-ada-002","Auto": "Auto",- "1024x1024": "1024x1024",- "1536x1024 (landscape)": "1536x1024 (landscape)",- "1024x1536 (portrait)": "1024x1536 (portrait)",+ "Square": "Square",+ "Landscape": "Landscape",+ "Portrait": "Portrait","Low": "Low","Medium": "Medium","High": "High",- "alloy": "alloy",- "echo": "echo",- "fable": "fable",- "onyx": "onyx",- "nova": "nova",- "shimmer": "shimmer",- "mp3": "mp3",- "opus": "opus",- "aac": "aac",- "flac": "flac",- "Spanish": "Spanish",- "Italian": "Italian",- "English": "English",- "Portuguese": "Portuguese",- "German": "German",- "Japanese": "Japanese",- "Polish": "Polish",- "Arabic": "Arabic",+ "Alloy": "Alloy",+ "Echo": "Echo",+ "Fable": "Fable",+ "Onyx": "Onyx",+ "Nova": "Nova",+ "Shimmer": "Shimmer",+ "MP3": "MP3",+ "Opus": "Opus",+ "AAC": "AAC",+ "FLAC": "FLAC","Afrikaans": "Afrikaans",+ "Arabic": "Arabic",+ "Armenian": "Armenian","Azerbaijani": "Azerbaijani",- "Bulgarian": "Bulgarian",+ "Belarusian": "Belarusian","Bosnian": "Bosnian",+ "Bulgarian": "Bulgarian","Catalan": "Catalan",+ "Chinese (Simplified)": "Chinese (Simplified)",+ "Croatian": "Croatian","Czech": "Czech","Danish": "Danish",- "Greek": "Greek",+ "Dutch": "Dutch",+ "English": "English","Estonian": "Estonian",- "Persian": "Persian","Finnish": "Finnish",- "Tagalog": "Tagalog","French": "French","Galician": "Galician",+ "German": "German",+ "Greek": "Greek","Hebrew": "Hebrew","Hindi": "Hindi",- "Croatian": "Croatian","Hungarian": "Hungarian",- "Armenian": "Armenian",- "Indonesian": "Indonesian","Icelandic": "Icelandic",- "Kazakh": "Kazakh",+ "Indonesian": "Indonesian",+ "Italian": "Italian",+ "Japanese": "Japanese","Kannada": "Kannada",+ "Kazakh": "Kazakh","Korean": "Korean",- "Lithuanian": "Lithuanian","Latvian": "Latvian",- "Maori": "Maori",+ "Lithuanian": "Lithuanian","Macedonian": "Macedonian",- "Marathi": "Marathi","Malay": "Malay",+ "Maori": "Maori",+ "Marathi": "Marathi","Nepali": "Nepali",- "Dutch": "Dutch","Norwegian": "Norwegian",+ "Persian": "Persian",+ "Polish": "Polish",+ "Portuguese": "Portuguese","Romanian": "Romanian","Russian": "Russian",+ "Serbian": "Serbian","Slovak": "Slovak","Slovenian": "Slovenian",- "Serbian": "Serbian",- "Swedish": "Swedish",+ "Spanish": "Spanish","Swahili": "Swahili",+ "Swedish": "Swedish",+ "Tagalog": "Tagalog","Tamil": "Tamil","Thai": "Thai","Turkish": "Turkish","Ukrainian": "Ukrainian","Urdu": "Urdu","Vietnamese": "Vietnamese",- "Chinese (Simplified)": "Chinese (Simplified)","Welsh": "Welsh",- "Belarusian": "Belarusian","Assistants": "Assistants","Vision": "Vision","Batch": "Batch",- "Fine-tune": "Fine-tune",+ "Fine-Tuning": "Fine-Tuning","GET": "GET","POST": "POST","PATCH": "PATCH","PUT": "PUT","DELETE": "DELETE",- "HEAD": "HEAD",- "None": "None",- "JSON": "JSON",- "Form Data": "Form Data",- "Raw": "Raw"+ "HEAD": "HEAD"}\ No newline at end of filediff --git a/packages/pieces/community/openai/src/i18n/zh.json b/packages/pieces/community/openai/src/i18n/zh.jsonindex ef53e6a6372..be3040b967a 100644--- a/packages/pieces/community/openai/src/i18n/zh.json+++ b/packages/pieces/community/openai/src/i18n/zh.json@@ -216,5 +216,110 @@"None": "无","JSON": "JSON","Form Data": "表单数据",- "Raw": "原始文件"+ "Raw": "原始文件",+ "Chat, images, audio and embeddings from OpenAI models.": "使用 OpenAI 模型进行聊天、图像、音频和嵌入处理。",+ "To get your API key:\n\n1. Go to https://platform.openai.com/api-keys\n2. Click **Create new secret key** and copy it.\n\nAdd credit to your OpenAI account first, or every request fails with a 429 quota error.\n": "获取 API 密钥:\n\n1. 访问 https://platform.openai.com/api-keys\n2. 点击 **Create new secret key** 并复制密钥。\n\n请先为 OpenAI 账户充值,否则每个请求都会因 429 配额错误而失败。\n",+ "Extract Structured Data": "提取结构化数据",+ "Moderate Text": "审核文本",+ "Send a question or instruction to an OpenAI model and get a reply.": "向 OpenAI 模型发送问题或指令并获取回复。",+ "Send a question to an assistant you set up in OpenAI.": "向你在 OpenAI 中设置的助手发送问题。",+ "Ask a question about an image and get a text reply.": "就一张图片提问并获取文本回复。",+ "Pull the fields you define out of a block of text.": "从一段文本中提取你定义的字段。",+ "Check text against OpenAI's rules on hate, violence and similar harm.": "根据 OpenAI 关于仇恨、暴力及类似危害的规则检查文本。",+ "Label text as positive, negative or neutral.": "将文本标记为正面、负面或中性。",+ "Turn text into a vector for semantic search or clustering.": "将文本转换为向量,用于语义搜索或聚类。",+ "Rank a list of texts by how closely they match a query.": "按与查询的匹配程度对一组文本排序。",+ "Create an image from a text description.": "根据文本描述生成图像。",+ "Change an image by describing the edit.": "通过描述修改内容来编辑图像。",+ "Turn text into a spoken audio file.": "将文本转换为语音音频文件。",+ "Turn speech in an audio file into text.": "将音频文件中的语音转换为文本。",+ "Turn speech in any language into English text.": "将任意语言的语音转换为英文文本。",+ "Upload a file for assistants, batch jobs, vision or fine-tuning.": "上传用于助手、批处理任务、视觉或微调的文件。",+ "List the files in your OpenAI account.": "列出你 OpenAI 账户中的文件。",+ "Look up files in your OpenAI account by exact name.": "按确切名称查找 OpenAI 账户中的文件。",+ "Delete a file you uploaded to OpenAI.": "删除你上传到 OpenAI 的文件。",+ "List the models your OpenAI account can use.": "列出你的 OpenAI 账户可以使用的模型。",+ "Conversation Memory ID": "对话记忆 ID",+ "Frequency Penalty": "频率惩罚",+ "Presence Penalty": "存在惩罚",+ "Fields": "字段",+ "Vector Dimensions": "向量维度",+ "Max Results": "最大结果数",+ "Audio Format": "音频格式",+ "Language": "语言",+ "Name Contains": "名称包含",+ "Response is Binary": "响应为二进制",+ "Return Error as Output": "将错误作为输出返回",+ "Timeout": "超时",+ "The OpenAI model that writes the reply.": "撰写回复的 OpenAI 模型。",+ "What you want the model to answer or do.": "希望模型回答或完成的内容。",+ "Longest reply in tokens, about 4 characters each.": "回复的最大长度(以 token 计),每个约 4 个字符。",+ "Runs that share this ID continue one conversation. Empty: no memory.": "使用相同 ID 的运行会延续同一段对话。留空:不保留记忆。",+ "From 0 to 2. Lower is more focused, higher is more varied.": "范围 0 到 2。越低越集中,越高越多样。",+ "From 0 to 1. Adjust this or Temperature, not both.": "范围 0 到 1。请调整此项或 Temperature,不要同时调整。",+ "From -2 to 2. Higher values make the model repeat itself less.": "范围 -2 到 2。值越高,模型越少重复自己。",+ "From -2 to 2. Higher values push the model toward new topics.": "范围 -2 到 2。值越高,模型越倾向于转向新话题。",+ "Messages sent before the question, such as a system instruction.": "在问题之前发送的消息,例如系统指令。",+ "An assistant from your OpenAI account.": "你 OpenAI 账户中的一个助手。",+ "What you want the assistant to answer or do.": "希望助手回答或完成的内容。",+ "The picture to ask about.": "要提问的图片。",+ "What you want to know about the image.": "你想了解的图片相关内容。",+ "Low is faster and cheaper. High reads small details better.": "Low 更快、更便宜。High 能更好地识别细节。",+ "The OpenAI model that reads the text.": "读取文本的 OpenAI 模型。",+ "The text to pull the fields from.": "要从中提取字段的文本。",+ "One row per value you want back.": "每个要返回的值占一行。",+ "Moderation model. The default suits most uses.": "审核模型。默认值适用于大多数场景。",+ "The text to check.": "要检查的文本。",+ "The model that judges the sentiment.": "判断情感倾向的模型。",+ "A message, review or any other text.": "一条消息、一则评论或任何其他文本。",+ "Embedding model. The default suits most uses.": "嵌入模型。默认值适用于大多数场景。",+ "The text to turn into a vector.": "要转换为向量的文本。",+ "Vector length. Works only with text-embedding-3 models.": "向量长度。仅适用于 text-embedding-3 模型。",+ "Your own ID for the end user. Helps OpenAI spot abuse.": "你为终端用户设定的 ID。帮助 OpenAI 发现滥用行为。",+ "Embedding model used for the query and the documents.": "用于查询和文档的嵌入模型。",+ "The text to match the documents against.": "用于与文档匹配的文本。",+ "The texts to rank.": "要排序的文本。",+ "Empty: every document, best match first.": "留空:返回所有文档,最匹配的排在最前。",+ "The OpenAI model that draws the image.": "生成图像的 OpenAI 模型。",+ "Describe the image you want.": "描述你想要的图像。",+ "Image shape. Auto lets the model choose.": "图像形状。选择 Auto 时由模型决定。",+ "Higher quality takes longer and costs more.": "质量越高,耗时越长,费用越高。",+ "PNG, JPEG or WebP image to edit.": "要编辑的 PNG、JPEG 或 WebP 图像。",+ "Describe the change you want.": "描述你想要的修改。",+ "Transparent areas mark where to edit. Same size as the image.": "透明区域表示要编辑的位置。尺寸须与图像相同。",+ "What the voice should say.": "语音要说的内容。",+ "The OpenAI model that speaks the text.": "朗读文本的 OpenAI 模型。",+ "The voice that reads the text.": "朗读文本所用的声音。",+ "The audio file type.": "音频文件类型。",+ "From 0.25 to 4. 1 is normal speed.": "范围 0.25 到 4。1 为正常语速。",+ "Name for the audio file, without the extension.": "音频文件名,不含扩展名。",+ "The recording to transcribe.": "要转写的录音。",+ "The language spoken in the recording.": "录音中使用的语言。",+ "The recording to translate.": "要翻译的录音。",+ "The file to send to OpenAI.": "要发送给 OpenAI 的文件。",+ "What OpenAI will use the file for. Each allows different file types.": "OpenAI 使用该文件的用途。不同用途支持的文件类型不同。",+ "Empty: keeps the original name. Include the extension.": "留空:保留原文件名。请包含扩展名。",+ "Only include files with this purpose.": "仅包含此用途的文件。",+ "Up to this many files, from 1 to 10,000.": "最多返回这么多文件,范围 1 到 10,000。",+ "Exact file name, including the extension. Case does not matter.": "确切的文件名,包含扩展名。不区分大小写。",+ "Starts with file-. Upload, List and Find File return it.": "以 file- 开头。上传、列出和查找文件操作会返回它。",+ "Only return models whose name includes this text.": "仅返回名称包含此文本的模型。",+ "Appended to the URL as ?key=value.": "以 ?key=value 的形式附加到 URL。",+ "On a failed request, output the error instead of failing the step.": "请求失败时,输出错误而不是让步骤失败。",+ "Seconds to wait for a response. Empty: up to the flow limit (10 min).": "等待响应的秒数。留空:最多到流程上限(10 分钟)。",+ "Follow 3xx redirects instead of returning them as the response.": "跟随 3xx 重定向,而不是将其作为响应返回。",+ "Square": "正方形",+ "Landscape": "横向",+ "Portrait": "纵向",+ "Alloy": "Alloy",+ "Echo": "Echo",+ "Fable": "Fable",+ "Onyx": "Onyx",+ "Nova": "Nova",+ "Shimmer": "Shimmer",+ "MP3": "MP3",+ "Opus": "Opus",+ "AAC": "AAC",+ "FLAC": "FLAC",+ "Fine-Tuning": "微调"}\ No newline at end of filediff --git a/packages/pieces/community/openai/src/index.ts b/packages/pieces/community/openai/src/index.tsindex 60e288a7b8d..ff00ff56e2b 100644--- a/packages/pieces/community/openai/src/index.ts+++ b/packages/pieces/community/openai/src/index.ts@@ -26,8 +26,8 @@ import { baseUrl } from './lib/common/common';export const openai = createPiece({displayName: 'OpenAI',- description: 'Use the many tools ChatGPT has to offer.',- minimumSupportedRelease: '0.63.0',+ description: 'Chat, images, audio and embeddings from OpenAI models.',+ minimumSupportedRelease: '0.88.2',logoUrl: 'https://cdn.activepieces.com/pieces/openai.png',categories: [PieceCategory.ARTIFICIAL_INTELLIGENCE],auth: openaiAuth,diff --git a/packages/pieces/community/openai/src/lib/actions/analyze-sentiment.ts b/packages/pieces/community/openai/src/lib/actions/analyze-sentiment.tsindex e8c8bb4ae1e..45cd15229d1 100644--- a/packages/pieces/community/openai/src/lib/actions/analyze-sentiment.ts+++ b/packages/pieces/community/openai/src/lib/actions/analyze-sentiment.ts@@ -12,13 +12,13 @@ export const analyzeSentiment = createAction({classification: 'READ',displayName: 'Analyze Text Sentiment',description:- 'Analyzes text for sentiment (positive, negative, or neutral).',+ 'Label text as positive, negative or neutral.',aiMetadata: { description: 'Judges the emotional tone of a block of text with a chat model at temperature 0, returning a positive, negative, or neutral label plus a confidence score and a short explanation. Pick it for tone or satisfaction scoring; classify_text is the one that checks text against OpenAI safety policies, and extract-structured-data is the one that pulls arbitrary named fields or custom labels out of prose. Requires the text and a chat model; not idempotent: each call is a fresh model completion and the label can shift between runs.', idempotent: false },props: {model: Property.StaticDropdown({displayName: 'Model',required: true,- description: 'The chat model used to judge sentiment.',+ description: 'The model that judges the sentiment.',defaultValue: 'gpt-4o-mini',options: {options: [@@ -32,7 +32,7 @@ export const analyzeSentiment = createAction({}),text: Property.LongText({displayName: 'Text',- description: 'The text to analyze.',+ description: 'A message, review or any other text.',required: true,}),},diff --git a/packages/pieces/community/openai/src/lib/actions/ask-assistant.ts b/packages/pieces/community/openai/src/lib/actions/ask-assistant.tsindex 1d92d7ec857..aff356596f8 100644--- a/packages/pieces/community/openai/src/lib/actions/ask-assistant.ts+++ b/packages/pieces/community/openai/src/lib/actions/ask-assistant.ts@@ -16,14 +16,14 @@ export const askAssistant = createAction({name: 'ask_assistant',classification: 'WRITE',displayName: 'Ask Assistant',- description: 'Ask a GPT assistant anything you want!',+ description: 'Send a question to an assistant you set up in OpenAI.',aiMetadata: { description: 'Sends a question to a GPT Assistant that already exists in the connected OpenAI account, selected from the assistant dropdown, and waits for the Assistants run to finish before returning the assistant messages produced after that question. Two modes: with a memory key it reuses one stored thread across runs and flows so the assistant remembers earlier turns, without one it opens a throwaway thread each time. Prefer ask_chatgpt when there is no saved Assistant or when the model and sampling parameters must be chosen per call. Requires an assistant already configured on the OpenAI side; not idempotent: each call creates a thread message and a new run.', idempotent: false },props: {assistant: Property.Dropdown({auth: openaiAuth,displayName: 'Assistant',required: true,- description: 'The assistant which will generate the completion.',+ description: 'An assistant from your OpenAI account.',refreshers: [],options: async ({ auth }) => {if (!auth) {@@ -41,9 +41,9 @@ export const askAssistant = createAction({return {disabled: false,- options: assistants.data.map((assistant: any) => {+ options: assistants.data.map((assistant) => {return {- label: assistant.name,+ label: assistant.name ?? assistant.id,value: assistant.id,};}),@@ -52,19 +52,22 @@ export const askAssistant = createAction({return {disabled: true,options: [],- placeholder: "Couldn't load assistants, API key is invalid",+ placeholder: "Couldn't load assistants. Check your API key or try again.",};}},}),prompt: Property.LongText({displayName: 'Question',+ description: 'What you want the assistant to answer or do.',+ placeholder: 'e.g. Draft a reply to this customer',required: true,}),memoryKey: Property.ShortText({- displayName: 'Memory Key',+ displayName: 'Conversation Memory ID',description:- 'A memory key that will keep the chat history shared across runs and flows. Keep it empty to leave your assistant without memory of previous messages.',+ 'Runs that share this ID continue one conversation. Empty: no memory.',+ placeholder: 'e.g. support-chat-42',required: false,}),},@@ -79,6 +82,13 @@ export const askAssistant = createAction({});const { assistant, prompt, memoryKey } = propsValue;const runCheckDelay = 1000;+ const failedRunStatuses: string[] = [+ 'failed',+ 'cancelled',+ 'expired',+ 'incomplete',+ 'requires_action',+ ];let response: any;let thread: any;@@ -88,7 +98,7 @@ export const askAssistant = createAction({if (!thread) {thread = await openai.beta.threads.create();- store.put(memoryKey, thread, StoreScope.PROJECT);+ await store.put(memoryKey, thread, StoreScope.PROJECT);}} else {thread = await openai.beta.threads.create();@@ -119,6 +129,14 @@ export const askAssistant = createAction({);break;}+ if (failedRunStatuses.includes(runCheck.status)) {+ const reason = runCheck.last_error?.message;+ throw new Error(+ reason+ ? `The assistant run ended with status ${runCheck.status}: ${reason}`+ : `The assistant run ended with status ${runCheck.status}.`+ );+ }await sleep(runCheckDelay);}diff --git a/packages/pieces/community/openai/src/lib/actions/classify-text.ts b/packages/pieces/community/openai/src/lib/actions/classify-text.tsindex 37457a7600f..3e5496df8ee 100644--- a/packages/pieces/community/openai/src/lib/actions/classify-text.ts+++ b/packages/pieces/community/openai/src/lib/actions/classify-text.ts@@ -8,15 +8,15 @@ export const classifyText = createAction({auth: openaiAuth,name: 'classify_text',classification: 'READ',- displayName: 'Classify Text (Moderation)',+ displayName: 'Moderate Text',description:- 'Classify whether the supplied text violates OpenAI safety policies (harassment, hate, self-harm, sexual, violence, etc.).',+ "Check text against OpenAI's rules on hate, violence and similar harm.",aiMetadata: { description: 'Runs the OpenAI moderation endpoint over a block of text and reports whether it breaches OpenAI safety policy, returning one flagged boolean plus per-category verdicts and scores for harassment, hate, self-harm, sexual, and violence. Use it to gate or filter user-generated content; it only scores that fixed safety taxonomy, so use analyze_sentiment for tone and extract-structured-data or ask_chatgpt to sort text into custom labels. Requires the input text and a moderation model. Read-only scoring call with no stored side effect, so repeating the same input is idempotent.', idempotent: true },props: {model: Property.StaticDropdown({displayName: 'Model',required: true,- description: 'Moderation model to use. omni-moderation-latest also supports images.',+ description: 'Moderation model. The default suits most uses.',defaultValue: 'omni-moderation-latest',options: {options: [@@ -27,8 +27,8 @@ export const classifyText = createAction({},}),input: Property.LongText({- displayName: 'Input',- description: 'The text to classify.',+ displayName: 'Text',+ description: 'The text to check.',required: true,}),},diff --git a/packages/pieces/community/openai/src/lib/actions/create-embedding.ts b/packages/pieces/community/openai/src/lib/actions/create-embedding.tsindex 9672e2c8ce5..5b4cb035fb5 100644--- a/packages/pieces/community/openai/src/lib/actions/create-embedding.ts+++ b/packages/pieces/community/openai/src/lib/actions/create-embedding.ts@@ -10,13 +10,13 @@ export const createEmbedding = createAction({classification: 'READ',displayName: 'Create Embedding',description:- 'Generate a vector embedding for the supplied text. Useful for semantic search, clustering and RAG pipelines.',+ 'Turn text into a vector for semantic search or clustering.',aiMetadata: { description: 'Converts one block of text into a numeric embedding vector for storage in a vector database or for semantic search, clustering, and RAG pipelines. It handles a single input per call, so batch by looping or by using the custom API call action, and the dimensions option only takes effect on the text-embedding-3 models. Pick search_embeddings instead when the goal is simply ranking a list of candidate strings against a query in one step with no vector persisted. Deterministic stateless inference, so repeat calls with the same model and text return the same vector and are idempotent.', idempotent: true },props: {model: Property.StaticDropdown({displayName: 'Model',required: true,- description: 'The embedding model to use.',+ description: 'Embedding model. The default suits most uses.',defaultValue: 'text-embedding-3-small',options: {options: [@@ -27,21 +27,21 @@ export const createEmbedding = createAction({},}),input: Property.LongText({- displayName: 'Input',- description:- 'The text to embed. To embed multiple strings in one call, provide a newline-separated list or use the Custom API Call action.',+ displayName: 'Text',+ description: 'The text to turn into a vector.',required: true,}),dimensions: Property.Number({- displayName: 'Dimensions',- description:- 'Number of dimensions for the embedding (only supported by text-embedding-3-* models).',+ displayName: 'Vector Dimensions',+ description: 'Vector length. Works only with text-embedding-3 models.',required: false,+ advanced: true,}),user: Property.ShortText({displayName: 'User ID',- description: 'A stable identifier for the end user — helps OpenAI detect abuse.',+ description: 'Your own ID for the end user. Helps OpenAI spot abuse.',required: false,+ advanced: true,}),},outputSchema: createEmbeddingActionOutputSchema,diff --git a/packages/pieces/community/openai/src/lib/actions/delete-file.ts b/packages/pieces/community/openai/src/lib/actions/delete-file.tsindex 72cae269cd8..1ab8e60e85d 100644--- a/packages/pieces/community/openai/src/lib/actions/delete-file.ts+++ b/packages/pieces/community/openai/src/lib/actions/delete-file.ts@@ -9,12 +9,13 @@ export const deleteFile = createAction({name: 'delete_file',classification: 'DESTRUCTIVE',displayName: 'Delete File',- description: 'Delete a file previously uploaded to the connected OpenAI account.',+ description: 'Delete a file you uploaded to OpenAI.',aiMetadata: { description: 'Permanently removes one file from the connected OpenAI account, identified by the OpenAI file id returned by upload_file (it starts with file-). Use it to clean up assistant, vision, batch, or fine-tune uploads that are no longer needed; find_file resolves a filename to that id first. Deleting converges on the same end state so it counts as idempotent, but a repeat call for an id that is already gone fails with a not-found error.', idempotent: true },props: {fileId: Property.ShortText({displayName: 'File ID',- description: 'The OpenAI file ID returned by Upload File (starts with `file-`).',+ description: 'Starts with file-. Upload, List and Find File return it.',+ placeholder: 'e.g. file-abc123',required: true,}),},diff --git a/packages/pieces/community/openai/src/lib/actions/edit-image.ts b/packages/pieces/community/openai/src/lib/actions/edit-image.tsindex e741bb7d4d2..2269b317645 100644--- a/packages/pieces/community/openai/src/lib/actions/edit-image.ts+++ b/packages/pieces/community/openai/src/lib/actions/edit-image.ts@@ -12,42 +12,38 @@ export const editImage = createAction({name: 'edit_image',classification: 'READ',displayName: 'Edit Image',- description: 'Edit an existing image using a text prompt with gpt-image-2',+ description: 'Change an image by describing the edit.',aiMetadata: { description: 'Modifies an existing image supplied as a file, applying the changes described in a text prompt with the gpt-image-2 model, and writes the result out as a new PNG file. An optional mask image confines the edit to its transparent areas and must match the dimensions of the input image; size and quality can be left on auto. Pick generate_image instead when there is no source image to start from, and vision_prompt when the image only needs to be read rather than changed. Not idempotent: each call renders a fresh image.', idempotent: false },props: {image: Property.File({displayName: 'Image',- description: 'The image to edit (PNG, JPEG, or WebP).',+ description: 'PNG, JPEG or WebP image to edit.',required: true,}),prompt: Property.LongText({displayName: 'Prompt',- description: 'A description of the desired edits or the new image.',+ description: 'Describe the change you want.',+ placeholder: 'e.g. Replace the sky with a sunset',required: true,}),- mask: Property.File({- displayName: 'Mask',- description:- 'Optional mask image. Transparent areas indicate where to apply edits. Must match the input image dimensions.',- required: false,- }),size: Property.StaticDropdown({displayName: 'Size',- description: 'The size of the generated image.',+ description: 'Image shape. Auto lets the model choose.',required: false,defaultValue: 'auto',+ display: 'cards',options: {options: [{ label: 'Auto', value: 'auto' },- { label: '1024x1024', value: '1024x1024' },- { label: '1536x1024 (landscape)', value: '1536x1024' },- { label: '1024x1536 (portrait)', value: '1024x1536' },+ { label: 'Square', value: '1024x1024', description: '1024 × 1024' },+ { label: 'Landscape', value: '1536x1024', description: '1536 × 1024' },+ { label: 'Portrait', value: '1024x1536', description: '1024 × 1536' },],},}),quality: Property.StaticDropdown({displayName: 'Quality',- description: 'Image quality level.',+ description: 'Higher quality takes longer and costs more.',required: false,defaultValue: 'auto',options: {@@ -59,6 +55,12 @@ export const editImage = createAction({],},}),+ mask: Property.File({+ displayName: 'Mask',+ description: 'Transparent areas mark where to edit. Same size as the image.',+ required: false,+ advanced: true,+ }),},outputSchema: editImageActionOutputSchema,async run(context) {diff --git a/packages/pieces/community/openai/src/lib/actions/extract-structure-data.action.ts b/packages/pieces/community/openai/src/lib/actions/extract-structure-data.action.tsindex 0c740b71069..00d001811e7 100644--- a/packages/pieces/community/openai/src/lib/actions/extract-structure-data.action.ts+++ b/packages/pieces/community/openai/src/lib/actions/extract-structure-data.action.ts@@ -8,13 +8,14 @@ export const extractStructuredDataAction = createAction({auth: openaiAuth,name: 'extract-structured-data',classification: 'READ',- displayName: 'Extract Structured Data from Text',- description: 'Returns structured data from provided unstructured text.',+ displayName: 'Extract Structured Data',+ description: 'Pull the fields you define out of a block of text.',aiMetadata: { description: 'Pulls a caller-defined set of named fields out of one block of unstructured text and returns them as a flat object, with each field declared as text, number, or boolean and optionally marked to fail the step when it is absent. Use it to turn prose, emails, or documents into machine-readable values; prefer analyze_sentiment or classify_text for a judgement about the text and ask_chatgpt for free-form output. Requires the text plus at least one field definition, and the step errors when the model returns no extraction at all. Not idempotent: each call is a fresh model completion and the extracted values can vary between runs.', idempotent: false },props: {model: Property.Dropdown({auth: openaiAuth,displayName: 'Model',+ description: 'The OpenAI model that reads the text.',required: true,refreshers: [],defaultValue: 'gpt-3.5-turbo',@@ -45,34 +46,36 @@ export const extractStructuredDataAction = createAction({return {disabled: true,options: [],- placeholder: "Couldn't load models, API key is invalid",+ placeholder: "Couldn't load models. Check your API key or try again.",};}},}),text: Property.LongText({- displayName: 'Unstructured Text',+ displayName: 'Text',+ description: 'The text to pull the fields from.',required: true,}),params: Property.Array({- displayName: 'Data Definition',+ displayName: 'Fields',+ description: 'One row per value you want back.',required: true,properties: {propName: Property.ShortText({displayName: 'Name',- description:- 'Provide the name of the value you want to extract from the unstructured text. The name should be unique and short. ',+ description: 'Short, unique name for this value in the output.',+ placeholder: 'e.g. invoice_total',required: true,}),propDescription: Property.LongText({displayName: 'Description',- description:- 'Brief description of the data, this hints for the AI on what to look for',+ description: 'Tells the AI what to look for.',+ placeholder: 'e.g. Total due, including tax',required: false,}),propDataType: Property.StaticDropdown({displayName: 'Data Type',- description: 'Type of parameter.',+ description: 'Data type of the extracted value.',required: true,defaultValue: 'string',options: {@@ -85,7 +88,9 @@ export const extractStructuredDataAction = createAction({},}),propIsRequired: Property.Checkbox({- displayName: 'Fail if Not present?',+ displayName: 'Required',+ description:+ 'Asks the AI to always fill this field. The step does not check it.',required: true,defaultValue: false,}),diff --git a/packages/pieces/community/openai/src/lib/actions/find-file.ts b/packages/pieces/community/openai/src/lib/actions/find-file.tsindex b7b75047ce0..bc7fa25df96 100644--- a/packages/pieces/community/openai/src/lib/actions/find-file.ts+++ b/packages/pieces/community/openai/src/lib/actions/find-file.ts@@ -9,25 +9,25 @@ export const findFile = createAction({name: 'find_file',classification: 'SEARCH',displayName: 'Find File',- description:- 'Check whether a file with the given name already exists in the connected OpenAI account.',+ description: 'Look up files in your OpenAI account by exact name.',aiMetadata: { description: 'Checks whether a file with an exact filename, matched case-insensitively, already exists in the connected OpenAI account and returns a found flag, a match count, and the matching file records including their ids. Use it before upload_file to avoid duplicates, or to resolve a filename into the file id that delete_file needs; list_files is the one for browsing everything on the account. An optional purpose filter narrows the search to assistants, vision, batch, or fine-tune files. Read-only and idempotent.', idempotent: true },props: {fileName: Property.ShortText({displayName: 'File Name',- description: 'The exact filename to look for (case-insensitive).',+ description: 'Exact file name, including the extension. Case does not matter.',+ placeholder: 'e.g. report.pdf',required: true,}),purpose: Property.StaticDropdown({- displayName: 'Purpose Filter',- description: 'If supplied, only files with this purpose are searched.',+ displayName: 'Purpose',+ description: 'Only include files with this purpose.',required: false,options: {options: [{ label: 'Assistants', value: 'assistants' },{ label: 'Vision', value: 'vision' },{ label: 'Batch', value: 'batch' },- { label: 'Fine-tune', value: 'fine-tune' },+ { label: 'Fine-Tuning', value: 'fine-tune' },],},}),diff --git a/packages/pieces/community/openai/src/lib/actions/generate-image.ts b/packages/pieces/community/openai/src/lib/actions/generate-image.tsindex edfd2153e6a..d1a38dfce2f 100644--- a/packages/pieces/community/openai/src/lib/actions/generate-image.ts+++ b/packages/pieces/community/openai/src/lib/actions/generate-image.ts@@ -12,14 +12,14 @@ export const generateImage = createAction({name: 'generate_image',classification: 'READ',displayName: 'Generate Image',- description: 'Generate an image using text-to-image models',+ description: 'Create an image from a text description.',aiMetadata: { description: 'Creates a brand new image from a text prompt using an image model available to the account (gpt-image or dall-e), saving each returned image as a file and reporting its URL. Resolution and quality both default to auto. Pick edit_image instead when an existing image is the starting point, and vision_prompt when the task is reading an image rather than producing one. Requires the prompt and a model id; not idempotent: each call renders a fresh image.', idempotent: false },props: {model: Property.Dropdown({auth: openaiAuth,displayName: 'Model',required: true,- description: 'The model which will generate the image.',+ description: 'The OpenAI model that draws the image.',defaultValue: 'gpt-image-2',refreshers: [],options: async ({ auth }) => {@@ -54,26 +54,29 @@ export const generateImage = createAction({}),prompt: Property.LongText({displayName: 'Prompt',+ description: 'Describe the image you want.',+ placeholder: 'e.g. A watercolor fox in a snowy forest',required: true,}),resolution: Property.StaticDropdown({- displayName: 'Resolution',- description: 'The resolution to generate the image in.',+ displayName: 'Size',+ description: 'Image shape. Auto lets the model choose.',required: false,defaultValue: 'auto',+ display: 'cards',options: {options: [{ label: 'Auto', value: 'auto' },- { label: '1024x1024', value: '1024x1024' },- { label: '1536x1024 (landscape)', value: '1536x1024' },- { label: '1024x1536 (portrait)', value: '1024x1536' },+ { label: 'Square', value: '1024x1024', description: '1024 × 1024' },+ { label: 'Landscape', value: '1536x1024', description: '1536 × 1024' },+ { label: 'Portrait', value: '1024x1536', description: '1024 × 1536' },],},}),quality: Property.StaticDropdown({displayName: 'Quality',required: false,- description: 'Image quality level.',+ description: 'Higher quality takes longer and costs more.',defaultValue: 'auto',options: {options: [diff --git a/packages/pieces/community/openai/src/lib/actions/list-files.ts b/packages/pieces/community/openai/src/lib/actions/list-files.tsindex b3287ec3dec..031c80c57f8 100644--- a/packages/pieces/community/openai/src/lib/actions/list-files.ts+++ b/packages/pieces/community/openai/src/lib/actions/list-files.ts@@ -9,26 +9,25 @@ export const listFiles = createAction({name: 'list_files',classification: 'SEARCH',displayName: 'List Files',- description:- 'Return the list of files uploaded to the connected OpenAI account, optionally filtered by purpose.',+ description: 'List the files in your OpenAI account.',aiMetadata: { description: 'Returns the files stored in the connected OpenAI account together with their ids, names, sizes, and purposes, either the whole account or, when a purpose filter is supplied, only assistants, vision, batch, or fine-tune files, capped by an optional limit. Use it to browse or audit what has been uploaded and to collect file ids; find_file is the better choice when checking for one exact filename. Read-only and idempotent.', idempotent: true },props: {purpose: Property.StaticDropdown({- displayName: 'Purpose Filter',- description: 'If supplied, only files with this purpose are returned.',+ displayName: 'Purpose',+ description: 'Only include files with this purpose.',required: false,options: {options: [{ label: 'Assistants', value: 'assistants' },{ label: 'Vision', value: 'vision' },{ label: 'Batch', value: 'batch' },- { label: 'Fine-tune', value: 'fine-tune' },+ { label: 'Fine-Tuning', value: 'fine-tune' },],},}),limit: Property.Number({- displayName: 'Limit',- description: 'Maximum number of files to return (1-10000). Defaults to 10000.',+ displayName: 'Max Results',+ description: 'Up to this many files, from 1 to 10,000.',required: false,defaultValue: 100,}),diff --git a/packages/pieces/community/openai/src/lib/actions/list-models.ts b/packages/pieces/community/openai/src/lib/actions/list-models.tsindex a6046f18630..ca24fc2df8b 100644--- a/packages/pieces/community/openai/src/lib/actions/list-models.ts+++ b/packages/pieces/community/openai/src/lib/actions/list-models.ts@@ -10,13 +10,13 @@ export const listModels = createAction({classification: 'SEARCH',displayName: 'List Models',description:- 'Return the list of models available to the connected OpenAI account, optionally filtered by an ID substring.',+ 'List the models your OpenAI account can use.',aiMetadata: { description: 'Returns the model ids the connected API key can use, each with its creation timestamp and owner: the full catalog when no filter is given, or only the ids containing a case-insensitive substring such as gpt-4, embedding, or whisper when one is. Use it to confirm a model id exists on this account before passing it to ask_chatgpt, create_embedding, generate_image, or text_to_speech. Read-only and idempotent.', idempotent: true },props: {contains: Property.ShortText({- displayName: 'Filter Substring',- description:- 'Optional case-insensitive substring used to filter model IDs (e.g. `gpt-4`, `embedding`, `whisper`).',+ displayName: 'Name Contains',+ description: 'Only return models whose name includes this text.',+ placeholder: 'e.g. gpt-4o',required: false,}),},diff --git a/packages/pieces/community/openai/src/lib/actions/search-embeddings.ts b/packages/pieces/community/openai/src/lib/actions/search-embeddings.tsindex 0fc9b56101c..c45e151ed2b 100644--- a/packages/pieces/community/openai/src/lib/actions/search-embeddings.ts+++ b/packages/pieces/community/openai/src/lib/actions/search-embeddings.ts@@ -10,13 +10,13 @@ export const searchEmbeddings = createAction({classification: 'READ',displayName: 'Search Embeddings',description:- 'Matches a query string to a list of document strings for best results.',+ 'Rank a list of texts by how closely they match a query.',aiMetadata: { description: 'Embeds a query and a list of document strings passed inline in the same call, then ranks those documents against the query by cosine similarity and returns the best match plus the scored ranking; setting Top K keeps only the leading matches, leaving it empty returns every document ranked. It is self-contained with no vector store, so the documents must be supplied on every run - use create_embedding with an external vector database when the corpus is large or must persist. Requires the query, the document list, and one embedding model used for both sides. Read-only and idempotent: the same inputs produce the same ranking.', idempotent: true },props: {model: Property.StaticDropdown({displayName: 'Model',required: true,- description: 'The embedding model to use for both query and documents.',+ description: 'Embedding model used for the query and the documents.',defaultValue: 'text-embedding-3-small',options: {options: [@@ -28,18 +28,17 @@ export const searchEmbeddings = createAction({}),query: Property.LongText({displayName: 'Query',- description: 'The text to match against the documents.',+ description: 'The text to match the documents against.',required: true,}),documents: Property.Array({displayName: 'Documents',- description: 'The list of document strings to search.',+ description: 'The texts to rank.',required: true,}),topK: Property.Number({- displayName: 'Top K',- description:- 'Return only the top K best matches. Leave empty to return all documents ranked by score.',+ displayName: 'Max Results',+ description: 'Empty: every document, best match first.',required: false,}),},diff --git a/packages/pieces/community/openai/src/lib/actions/send-prompt.ts b/packages/pieces/community/openai/src/lib/actions/send-prompt.tsindex 4282458e751..ea06fc027a9 100644--- a/packages/pieces/community/openai/src/lib/actions/send-prompt.ts+++ b/packages/pieces/community/openai/src/lib/actions/send-prompt.ts@@ -20,15 +20,14 @@ export const askOpenAI = createAction({name: 'ask_chatgpt',classification: 'READ',displayName: 'Ask ChatGPT',- description: 'Ask ChatGPT anything you want!',+ description: 'Send a question or instruction to an OpenAI model and get a reply.',aiMetadata: { description: 'Sends a prompt to an OpenAI chat model and returns the reply text, with sampling controls (temperature, top P, frequency and presence penalties) and an optional roles array that supplies the system message. Two modes: stateless by default, or, when a memory key is set, loading and re-saving the conversation history in project storage so later runs continue the same thread, trimming it as it approaches the token limit. This is the general-purpose text call of this piece; prefer ask_assistant to route through a pre-built OpenAI Assistant, vision_prompt when an image is part of the question, and extract-structured-data when the answer must come back as named fields. A model, a question, and a maximum token count are required; not idempotent: each call produces a fresh completion and, with a memory key, rewrites the stored history.', idempotent: false },props: {model: Property.Dropdown({auth: openaiAuth,displayName: 'Model',required: true,- description:- 'The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.',+ description: 'The OpenAI model that writes the reply.',refreshers: [],defaultValue: 'gpt-3.5-turbo',options: async ({ auth }) => {@@ -58,59 +57,65 @@ export const askOpenAI = createAction({return {disabled: true,options: [],- placeholder: "Couldn't load models, API key is invalid",+ placeholder: "Couldn't load models. Check your API key or try again.",};}},}),prompt: Property.LongText({displayName: 'Question',+ description: 'What you want the model to answer or do.',+ placeholder: 'e.g. Summarize this email in three bullet points',required: true,}),- temperature: Property.Number({- displayName: 'Temperature',- required: false,- description:- 'Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.',- defaultValue: 1,- }),maxTokens: Property.Number({displayName: 'Maximum Tokens',required: true,- description:- "The maximum number of tokens to generate. Requests can use up to 2,048 or 4,096 tokens shared between prompt and completion depending on the model. Don't set the value to maximum and leave some tokens for the input. (One token is roughly 4 characters for normal English text)",+ description: 'Longest reply in tokens, about 4 characters each.',defaultValue: 2048,}),+ memoryKey: Property.ShortText({+ displayName: 'Conversation Memory ID',+ description:+ 'Runs that share this ID continue one conversation. Empty: no memory.',+ placeholder: 'e.g. support-chat-42',+ required: false,+ }),+ temperature: Property.Number({+ displayName: 'Temperature',+ required: false,+ description: 'From 0 to 2. Lower is more focused, higher is more varied.',+ defaultValue: 1,+ advanced: true,+ }),topP: Property.Number({displayName: 'Top P',required: false,- description:- 'An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.',+ description: 'From 0 to 1. Adjust this or Temperature, not both.',defaultValue: 1,+ advanced: true,}),frequencyPenalty: Property.Number({- displayName: 'Frequency penalty',+ displayName: 'Frequency Penalty',required: false,description:- "Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.",+ 'From -2 to 2. Higher values make the model repeat itself less.',defaultValue: 0,+ advanced: true,}),presencePenalty: Property.Number({- displayName: 'Presence penalty',+ displayName: 'Presence Penalty',required: false,description:- "Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the mode's likelihood to talk about new topics.",- }),- memoryKey: Property.ShortText({- displayName: 'Memory Key',- description:- 'A memory key that will keep the chat history shared across runs and flows. Keep it empty to leave ChatGPT without memory of previous messages.',- required: false,+ 'From -2 to 2. Higher values push the model toward new topics.',+ advanced: true,}),roles: Property.Json({displayName: 'Roles',required: false,- description: 'Array of roles to specify more accurate response',+ description:+ 'Messages sent before the question, such as a system instruction.',+ advanced: true,defaultValue: [{ role: 'system', content: 'You are a helpful assistant.' },],diff --git a/packages/pieces/community/openai/src/lib/actions/text-to-speech.ts b/packages/pieces/community/openai/src/lib/actions/text-to-speech.tsindex 4f2754972fc..7df5fe5caf2 100644--- a/packages/pieces/community/openai/src/lib/actions/text-to-speech.ts+++ b/packages/pieces/community/openai/src/lib/actions/text-to-speech.ts@@ -12,19 +12,19 @@ export const textToSpeech = createAction({name: 'text_to_speech',classification: 'READ',displayName: 'Text-to-Speech',- description: 'Generate an audio recording from text',+ description: 'Turn text into a spoken audio file.',aiMetadata: { description: 'Synthesizes spoken audio from text using an OpenAI TTS model and one of six prebuilt voices (alloy, echo, fable, onyx, nova, shimmer), writing the result as an mp3, opus, aac, or flac file at a playback speed between 0.25 and 4. This is the text-to-audio direction of this piece; transcribe and translate go the other way, turning audio into text. Requires the text, a TTS-capable model, a voice, and an output format. Not idempotent: each call renders a new audio file.', idempotent: false },props: {text: Property.LongText({displayName: 'Text',- description: 'The text you want to hear.',+ description: 'What the voice should say.',required: true,}),model: Property.Dropdown({auth: openaiAuth,displayName: 'Model',required: true,- description: 'The model which will generate the audio.',+ description: 'The OpenAI model that speaks the text.',defaultValue: 'tts-1',refreshers: [],options: async ({ auth }) => {@@ -61,49 +61,52 @@ export const textToSpeech = createAction({}},}),- speed: Property.Number({- displayName: 'Speed',- description: 'The speed of the audio. Minimum is 0.25 and maximum is 4.00.',- defaultValue: 1.0,- required: false,- }),voice: Property.StaticDropdown({displayName: 'Voice',- description: 'The voice to generate the audio in.',+ description: 'The voice that reads the text.',required: true,defaultValue: 'alloy',options: {disabled: false,options: [- { label: 'alloy', value: 'alloy' },- { label: 'echo', value: 'echo' },- { label: 'fable', value: 'fable' },- { label: 'onyx', value: 'onyx' },- { label: 'nova', value: 'nova' },- { label: 'shimmer', value: 'shimmer' },+ { label: 'Alloy', value: 'alloy' },+ { label: 'Echo', value: 'echo' },+ { label: 'Fable', value: 'fable' },+ { label: 'Onyx', value: 'onyx' },+ { label: 'Nova', value: 'nova' },+ { label: 'Shimmer', value: 'shimmer' },],},}),format: Property.StaticDropdown({- displayName: 'Output Format',+ displayName: 'Audio Format',required: true,- description: 'The format you want the audio file in.',+ description: 'The audio file type.',defaultValue: 'mp3',options: {disabled: false,options: [- { label: 'mp3', value: 'mp3' },- { label: 'opus', value: 'opus' },- { label: 'aac', value: 'aac' },- { label: 'flac', value: 'flac' },+ { label: 'MP3', value: 'mp3' },+ { label: 'Opus', value: 'opus' },+ { label: 'AAC', value: 'aac' },+ { label: 'FLAC', value: 'flac' },],},}),+ speed: Property.Number({+ displayName: 'Speed',+ description: 'From 0.25 to 4. 1 is normal speed.',+ defaultValue: 1.0,+ required: false,+ advanced: true,+ }),fileName: Property.ShortText({displayName: 'File Name',- description: 'The name of the output audio file (without extension).',+ description: 'Name for the audio file, without the extension.',+ placeholder: 'e.g. welcome-message',required: false,defaultValue: 'audio',+ advanced: true,}),},async run({ auth, propsValue, files }) {diff --git a/packages/pieces/community/openai/src/lib/actions/transcriptions.ts b/packages/pieces/community/openai/src/lib/actions/transcriptions.tsindex 52f9894ed31..3545b12ac57 100644--- a/packages/pieces/community/openai/src/lib/actions/transcriptions.ts+++ b/packages/pieces/community/openai/src/lib/actions/transcriptions.ts@@ -15,18 +15,18 @@ export const transcribeAction = createAction({name: 'transcribe',classification: 'READ',displayName: 'Transcribe Audio',- description: 'Transcribe audio to text using whisper-1 model',+ description: 'Turn speech in an audio file into text.',aiMetadata: { description: 'Transcribes an uploaded audio file to text with the whisper-1 model, keeping the words in the language that was spoken, with an optional language hint (defaulting to English, and silently falling back to English when an unsupported code is given) that improves accuracy. Choose the sibling translate action instead whenever the output must be English no matter what language was spoken, and text_to_speech for the opposite direction. Requires an audio file; not idempotent: each call re-runs the model and the wording can vary slightly.', idempotent: false },auth: openaiAuth,props: {audio: Property.File({displayName: 'Audio',required: true,- description: 'Audio file to transcribe',+ description: 'The recording to transcribe.',}),language: Property.StaticDropdown({- displayName: 'Language of the Audio',- description: 'Language of the audio file the default is en (English).',+ displayName: 'Language',+ description: 'The language spoken in the recording.',required: false,options: {options: Languages,@@ -38,7 +38,7 @@ export const transcribeAction = createAction({run: async (context) => {const fileData = context.propsValue.audio;const mimeType = mime.lookup(fileData.extension ? fileData.extension : '');- let language = context.propsValue.language;+ let language = context.propsValue.language === 'ma' ? 'mi' : context.propsValue.language;// if language is not in languages list, default to englishif (!Languages.some((l) => l.value === language)) {language = 'en';diff --git a/packages/pieces/community/openai/src/lib/actions/translation.ts b/packages/pieces/community/openai/src/lib/actions/translation.tsindex 058a41a05c2..519b475cb5b 100644--- a/packages/pieces/community/openai/src/lib/actions/translation.ts+++ b/packages/pieces/community/openai/src/lib/actions/translation.ts@@ -15,14 +15,14 @@ export const translateAction = createAction({name: 'translate',classification: 'READ',displayName: 'Translate Audio',- description: 'Translate audio to text using whisper-1 model',+ description: 'Turn speech in any language into English text.',aiMetadata: { description: 'Turns an uploaded audio file into English text with the whisper-1 model, translating from whatever language was spoken; there is no target-language option, the output is always English. Pick the sibling transcribe action when the transcript must stay in the original language, and note this handles audio input only - it cannot translate a text string. Requires an audio file; not idempotent: each call re-runs the model and the wording can vary slightly.', idempotent: false },auth: openaiAuth,props: {audio: Property.File({displayName: 'Audio',required: true,- description: 'Audio file to translate',+ description: 'The recording to translate.',}),},outputSchema: translateActionOutputSchema,diff --git a/packages/pieces/community/openai/src/lib/actions/upload-file.ts b/packages/pieces/community/openai/src/lib/actions/upload-file.tsindex 7837bb63ab7..ee3e8a14f58 100644--- a/packages/pieces/community/openai/src/lib/actions/upload-file.ts+++ b/packages/pieces/community/openai/src/lib/actions/upload-file.ts@@ -22,18 +22,18 @@ export const uploadFile = createAction({classification: 'WRITE',displayName: 'Upload File',description:- 'Upload a file to OpenAI for use with Assistants, Vector Stores, Batch jobs, Fine-tuning, or Vision.',+ 'Upload a file for assistants, batch jobs, vision or fine-tuning.',aiMetadata: { description: 'Uploads a file to the connected OpenAI account and returns its file id for later use with Assistants, vector stores, batch jobs, fine-tuning, or vision. The purpose is required and decides which file types are accepted; the original filename is kept unless an override including the extension is supplied. Run find_file first to avoid duplicates, and delete_file to remove one afterwards. Not idempotent: every call stores another copy under a new file id, even for identical content.', idempotent: false },props: {file: Property.File({displayName: 'File',- description: 'The file to upload.',+ description: 'The file to send to OpenAI.',required: true,}),purpose: Property.StaticDropdown({displayName: 'Purpose',description:- 'The intended use of the file. Each purpose has different allowed file types — see https://platform.openai.com/docs/api-reference/files/create.',+ 'What OpenAI will use the file for. Each allows different file types.',required: true,defaultValue: 'assistants',options: {@@ -41,15 +41,16 @@ export const uploadFile = createAction({{ label: 'Assistants', value: 'assistants' },{ label: 'Vision', value: 'vision' },{ label: 'Batch', value: 'batch' },- { label: 'Fine-tune', value: 'fine-tune' },+ { label: 'Fine-Tuning', value: 'fine-tune' },],},}),fileName: Property.ShortText({- displayName: 'Override Filename',- description:- 'Optional. By default the original filename is used. Provide a value to override (must include the extension).',+ displayName: 'File Name',+ description: 'Empty: keeps the original name. Include the extension.',+ placeholder: 'e.g. report.pdf',required: false,+ advanced: true,}),},outputSchema: uploadFileActionOutputSchema,@@ -57,7 +58,7 @@ export const uploadFile = createAction({const openai = new OpenAI({ apiKey: context.auth.secret_text });const { file, purpose, fileName } = context.propsValue;- const effectiveName = fileName ?? file.filename ?? 'file';+ const effectiveName = fileName || file.filename || 'file';const contentType = mime.lookup(file.extension ?? effectiveName) || 'application/octet-stream';const uploadable = await toFile(file.data, effectiveName, { type: contentType });diff --git a/packages/pieces/community/openai/src/lib/actions/vision-prompt.ts b/packages/pieces/community/openai/src/lib/actions/vision-prompt.tsindex 90acfb09816..1042c9e91e7 100644--- a/packages/pieces/community/openai/src/lib/actions/vision-prompt.ts+++ b/packages/pieces/community/openai/src/lib/actions/vision-prompt.ts@@ -3,6 +3,7 @@ import {Property,} from '@activepieces/pieces-framework';import OpenAI from 'openai';+import mime from 'mime-types';import { openaiAuth } from '../auth';import * as z from 'zod/mini'import { propsValidation } from '@activepieces/pieces-common';@@ -13,41 +14,48 @@ export const visionPrompt = createAction({name: 'vision_prompt',classification: 'READ',displayName: 'Vision Prompt',- description: 'Ask GPT a question about an image',+ description: 'Ask a question about an image and get a text reply.',aiMetadata: { description: 'Answers a question about an image by sending the uploaded picture inline with the prompt to gpt-4o, covering captioning, reading text off an image, and visual question answering. It is the only action here that accepts image input, so pick it over ask_chatgpt whenever a picture is part of the question, and generate_image or edit_image when the goal is producing an image instead. The model is fixed at gpt-4o and the image is embedded as base64 in the request, so keep it small; a detail setting trades cost against fidelity. Not idempotent: each call produces a fresh completion.', idempotent: false },props: {image: Property.File({displayName: 'Image',- description: "The image URL or file you want GPT's vision to read.",+ description: 'The picture to ask about.',required: true,}),prompt: Property.LongText({displayName: 'Question',- description: 'What do you want ChatGPT to tell you about the image?',+ description: 'What you want to know about the image.',+ placeholder: 'e.g. What is the total on this receipt?',required: true,}),+ maxTokens: Property.Number({+ displayName: 'Maximum Tokens',+ required: false,+ description: 'Longest reply in tokens, about 4 characters each.',+ defaultValue: 2048,+ }),detail: Property.Dropdown({auth: openaiAuth,displayName: 'Detail',required: false,- description:- 'Control how the model processes the image and generates textual understanding.',+ description: 'Low is faster and cheaper. High reads small details better.',defaultValue: 'auto',+ advanced: true,refreshers: [],options: async () => {return {options: [{- label: 'low',- value: 'low',+ label: 'Auto',+ value: 'auto',},{- label: 'high',- value: 'high',+ label: 'Low',+ value: 'low',},{- label: 'auto',- value: 'auto',+ label: 'High',+ value: 'high',},],};@@ -56,42 +64,39 @@ export const visionPrompt = createAction({temperature: Property.Number({displayName: 'Temperature',required: false,- description:- 'Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.',+ description: 'From 0 to 2. Lower is more focused, higher is more varied.',defaultValue: 0.9,- }),- maxTokens: Property.Number({- displayName: 'Maximum Tokens',- required: false,- description:- "The maximum number of tokens to generate. Requests can use up to 2,048 or 4,096 tokens shared between prompt and completion, don't set the value to maximum and leave some tokens for the input. The exact limit varies by model. (One token is roughly 4 characters for normal English text)",- defaultValue: 2048,+ advanced: true,}),topP: Property.Number({displayName: 'Top P',required: false,- description:- 'An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.',+ description: 'From 0 to 1. Adjust this or Temperature, not both.',defaultValue: 1,+ advanced: true,}),frequencyPenalty: Property.Number({- displayName: 'Frequency penalty',+ displayName: 'Frequency Penalty',required: false,description:- "Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.",+ 'From -2 to 2. Higher values make the model repeat itself less.',defaultValue: 0,+ advanced: true,}),presencePenalty: Property.Number({- displayName: 'Presence penalty',+ displayName: 'Presence Penalty',required: false,description:- "Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the mode's likelihood to talk about new topics.",+ 'From -2 to 2. Higher values push the model toward new topics.',defaultValue: 0.6,+ advanced: true,}),roles: Property.Json({displayName: 'Roles',required: false,- description: 'Array of roles to specify more accurate response',+ description:+ 'Messages sent before the question, such as a system instruction.',+ advanced: true,defaultValue: [{ role: 'system', content: 'You are a helpful assistant.' },],@@ -123,6 +128,10 @@ export const visionPrompt = createAction({};});+ const imageExtension = propsValue.image.extension;+ const imageMimeType =+ mime.lookup(imageExtension ?? '') || `image/${imageExtension}`;+const completion = await openai.chat.completions.create({model: 'gpt-4o',messages: [@@ -137,7 +146,8 @@ export const visionPrompt = createAction({{type: 'image_url',image_url: {- url: `data:image/${propsValue.image.extension};base64,${propsValue.image.base64}`,+ url: `data:${imageMimeType};base64,${propsValue.image.base64}`,+ detail: toImageDetail(propsValue.detail),},},],@@ -153,3 +163,12 @@ export const visionPrompt = createAction({return completion.choices[0].message.content;},});++function toImageDetail(value: unknown): ImageDetail {+ if (value === 'auto' || value === 'low' || value === 'high') {+ return value;+ }+ return 'auto';+}++type ImageDetail = 'auto' | 'low' | 'high';diff --git a/packages/pieces/community/openai/src/lib/auth.ts b/packages/pieces/community/openai/src/lib/auth.tsindex 20028f4911c..b32227cae5a 100644--- a/packages/pieces/community/openai/src/lib/auth.ts+++ b/packages/pieces/community/openai/src/lib/auth.ts@@ -3,12 +3,12 @@ import { httpClient, HttpMethod, AuthenticationType } from '@activepieces/piecesimport { baseUrl } from './common/common';export const openaiAuth = PieceAuth.SecretText({- description: `Follow these instructions to get your OpenAI API Key:+ description: `To get your API key:-1. Visit the following website: https://platform.openai.com/account/api-keys.-2. Once on the website, locate and click on the option to obtain your OpenAI API Key.+1. Go to https://platform.openai.com/api-keys+2. Click **Create new secret key** and copy it.-It is strongly recommended that you add your credit card information to your OpenAI account and upgrade to the paid plan **before** generating the API Key. This will help you prevent 429 errors.+Add credit to your OpenAI account first, or every request fails with a 429 quota error.`,displayName: 'API Key',required: true,diff --git a/packages/pieces/community/openai/src/lib/common/common.ts b/packages/pieces/community/openai/src/lib/common/common.tsindex 5635d11ed42..5f3617a4760 100644--- a/packages/pieces/community/openai/src/lib/common/common.ts+++ b/packages/pieces/community/openai/src/lib/common/common.ts@@ -4,63 +4,63 @@ import { encoding_for_model } from 'tiktoken';export const baseUrl = 'https://api.openai.com/v1';export const Languages = [- { value: 'es', label: 'Spanish' },- { value: 'it', label: 'Italian' },- { value: 'en', label: 'English' },- { value: 'pt', label: 'Portuguese' },- { value: 'de', label: 'German' },- { value: 'ja', label: 'Japanese' },- { value: 'pl', label: 'Polish' },- { value: 'ar', label: 'Arabic' },{ value: 'af', label: 'Afrikaans' },+ { value: 'ar', label: 'Arabic' },+ { value: 'hy', label: 'Armenian' },{ value: 'az', label: 'Azerbaijani' },- { value: 'bg', label: 'Bulgarian' },+ { value: 'be', label: 'Belarusian' },{ value: 'bs', label: 'Bosnian' },+ { value: 'bg', label: 'Bulgarian' },{ value: 'ca', label: 'Catalan' },+ { value: 'zh', label: 'Chinese (Simplified)' },+ { value: 'hr', label: 'Croatian' },{ value: 'cs', label: 'Czech' },{ value: 'da', label: 'Danish' },- { value: 'el', label: 'Greek' },+ { value: 'nl', label: 'Dutch' },+ { value: 'en', label: 'English' },{ value: 'et', label: 'Estonian' },- { value: 'fa', label: 'Persian' },{ value: 'fi', label: 'Finnish' },- { value: 'tl', label: 'Tagalog' },{ value: 'fr', label: 'French' },{ value: 'gl', label: 'Galician' },+ { value: 'de', label: 'German' },+ { value: 'el', label: 'Greek' },{ value: 'he', label: 'Hebrew' },{ value: 'hi', label: 'Hindi' },- { value: 'hr', label: 'Croatian' },{ value: 'hu', label: 'Hungarian' },- { value: 'hy', label: 'Armenian' },- { value: 'id', label: 'Indonesian' },{ value: 'is', label: 'Icelandic' },- { value: 'kk', label: 'Kazakh' },+ { value: 'id', label: 'Indonesian' },+ { value: 'it', label: 'Italian' },+ { value: 'ja', label: 'Japanese' },{ value: 'kn', label: 'Kannada' },+ { value: 'kk', label: 'Kazakh' },{ value: 'ko', label: 'Korean' },- { value: 'lt', label: 'Lithuanian' },{ value: 'lv', label: 'Latvian' },- { value: 'ma', label: 'Maori' },+ { value: 'lt', label: 'Lithuanian' },{ value: 'mk', label: 'Macedonian' },- { value: 'mr', label: 'Marathi' },{ value: 'ms', label: 'Malay' },+ { value: 'mi', label: 'Maori' },+ { value: 'mr', label: 'Marathi' },{ value: 'ne', label: 'Nepali' },- { value: 'nl', label: 'Dutch' },{ value: 'no', label: 'Norwegian' },+ { value: 'fa', label: 'Persian' },+ { value: 'pl', label: 'Polish' },+ { value: 'pt', label: 'Portuguese' },{ value: 'ro', label: 'Romanian' },{ value: 'ru', label: 'Russian' },+ { value: 'sr', label: 'Serbian' },{ value: 'sk', label: 'Slovak' },{ value: 'sl', label: 'Slovenian' },- { value: 'sr', label: 'Serbian' },- { value: 'sv', label: 'Swedish' },+ { value: 'es', label: 'Spanish' },{ value: 'sw', label: 'Swahili' },+ { value: 'sv', label: 'Swedish' },+ { value: 'tl', label: 'Tagalog' },{ value: 'ta', label: 'Tamil' },{ value: 'th', label: 'Thai' },{ value: 'tr', label: 'Turkish' },{ value: 'uk', label: 'Ukrainian' },{ value: 'ur', label: 'Urdu' },{ value: 'vi', label: 'Vietnamese' },- { value: 'zh', label: 'Chinese (Simplified)' },{ value: 'cy', label: 'Welsh' },- { value: 'be', label: 'Belarusian' },];export const billingIssueMessage = `Error Occurred: 429 \n