From 871cf12a10a37912f4b7e1fbefdb0bcf33f5376b Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Fri, 8 Aug 2025 13:34:14 -0300 Subject: [PATCH 1/6] Moving model constants to separate file --- .../chat-using-web-search.mjs | 10 ++- .../actions/create-image/create-image.mjs | 5 +- .../create-moderation/create-moderation.mjs | 6 +- .../actions/create-thread/create-thread.mjs | 4 +- .../create-transcription.mjs | 9 +-- components/openai/common/constants.mjs | 50 ------------- components/openai/common/models.mjs | 71 +++++++++++++++++++ components/openai/openai.app.mjs | 7 +- 8 files changed, 91 insertions(+), 71 deletions(-) create mode 100644 components/openai/common/models.mjs diff --git a/components/openai/actions/chat-using-web-search/chat-using-web-search.mjs b/components/openai/actions/chat-using-web-search/chat-using-web-search.mjs index b65d0d5d666ce..fb13d7d94186f 100644 --- a/components/openai/actions/chat-using-web-search/chat-using-web-search.mjs +++ b/components/openai/actions/chat-using-web-search/chat-using-web-search.mjs @@ -1,11 +1,12 @@ import openai from "../../openai.app.mjs"; import common from "../common/common.mjs"; import constants from "../../common/constants.mjs"; +import { WEB_SEARCH_CHAT_MODELS } from "../../common/models.mjs"; export default { ...common, name: "Chat using Web Search", - version: "0.0.6", + version: "0.0.7", key: "openai-chat-using-web-search", description: "Chat using the web search tool. [See the documentation](https://platform.openai.com/docs/guides/tools-web-search)", type: "action", @@ -15,11 +16,8 @@ export default { type: "string", label: "Model", description: "Model used to generate the response", - default: "gpt-4o", - options: [ - "gpt-4o", - "gpt-4o-mini", - ], + default: WEB_SEARCH_CHAT_MODELS[0], + options: WEB_SEARCH_CHAT_MODELS, }, input: { type: "string", diff --git a/components/openai/actions/create-image/create-image.mjs b/components/openai/actions/create-image/create-image.mjs index ac6f8d571d46a..7adf6f05dfbdb 100644 --- a/components/openai/actions/create-image/create-image.mjs +++ b/components/openai/actions/create-image/create-image.mjs @@ -1,10 +1,11 @@ import openai from "../../openai.app.mjs"; import constants from "../../common/constants.mjs"; import fs from "fs"; +import { IMAGE_MODELS } from "../../common/models.mjs"; export default { name: "Create Image (Dall-E)", - version: "0.1.23", + version: "0.1.24", key: "openai-create-image", description: "Creates an image given a prompt returning a URL to the image. [See the documentation](https://platform.openai.com/docs/api-reference/images)", type: "action", @@ -14,7 +15,7 @@ export default { label: "Model", description: "Choose the DALL·E models to generate image(s) with.", type: "string", - options: constants.IMAGE_MODELS, + options: IMAGE_MODELS, reloadProps: true, }, prompt: { diff --git a/components/openai/actions/create-moderation/create-moderation.mjs b/components/openai/actions/create-moderation/create-moderation.mjs index 555d7774230cb..d25d50505f718 100644 --- a/components/openai/actions/create-moderation/create-moderation.mjs +++ b/components/openai/actions/create-moderation/create-moderation.mjs @@ -1,11 +1,11 @@ import openai from "../../openai.app.mjs"; -import constants from "../../common/constants.mjs"; +import { MODERATION_MODELS } from "../../common/models.mjs"; export default { key: "openai-create-moderation", name: "Create Moderation", description: "Classifies if text is potentially harmful. [See the documentation](https://platform.openai.com/docs/api-reference/moderations/create)", - version: "0.0.9", + version: "0.0.10", type: "action", props: { openai, @@ -18,7 +18,7 @@ export default { type: "string", label: "Model", description: "The model to use", - options: constants.MODERATION_MODELS, + options: MODERATION_MODELS, }, }, async run({ $ }) { diff --git a/components/openai/actions/create-thread/create-thread.mjs b/components/openai/actions/create-thread/create-thread.mjs index d7e7d7e69cfa4..76c11cbda9b81 100644 --- a/components/openai/actions/create-thread/create-thread.mjs +++ b/components/openai/actions/create-thread/create-thread.mjs @@ -6,7 +6,7 @@ export default { key: "openai-create-thread", name: "Create Thread (Assistants)", description: "Creates a thread with optional messages and metadata, and optionally runs the thread using the specified assistant. [See the documentation](https://platform.openai.com/docs/api-reference/threads/createThread)", - version: "0.0.15", + version: "0.0.16", type: "action", props: { openai, @@ -88,7 +88,7 @@ export default { })); }, async getAssistantModelPropOptions() { - const models = (await this.openai.models({})).filter(({ id }) => (id.includes("gpt-3.5-turbo") || id.includes("gpt-4-turbo")) && (id !== "gpt-3.5-turbo-0301")); + const models = await this.openai.getAssistantsModels({}); return models.map(({ id }) => id); }, }, diff --git a/components/openai/actions/create-transcription/create-transcription.mjs b/components/openai/actions/create-transcription/create-transcription.mjs index faca0170d927d..e513eff403f0b 100644 --- a/components/openai/actions/create-transcription/create-transcription.mjs +++ b/components/openai/actions/create-transcription/create-transcription.mjs @@ -1,12 +1,13 @@ import { getFileStreamAndMetadata } from "@pipedream/platform"; import openai from "../../openai.app.mjs"; import FormData from "form-data"; +import { TRANSCRIPTION_MODELS } from "../../common/models.mjs"; export default { key: "openai-create-transcription", name: "Create Transcription", description: "Transcribes audio into the input language. [See the documentation](https://platform.openai.com/docs/api-reference/audio/createTranscription)", - version: "0.3.1", + version: "0.3.2", type: "action", props: { openai, @@ -20,11 +21,7 @@ export default { type: "string", label: "Model", description: "ID of the model to use", - options: [ - "gpt-4o-transcribe", - "gpt-4o-mini-transcribe", - "whisper-1", - ], + options: TRANSCRIPTION_MODELS, }, include: { type: "string[]", diff --git a/components/openai/common/constants.mjs b/components/openai/common/constants.mjs index c6b3fe86b313b..22bcd2e6a9df1 100644 --- a/components/openai/common/constants.mjs +++ b/components/openai/common/constants.mjs @@ -1,49 +1,3 @@ -const FINE_TUNING_MODEL_OPTIONS = [ - { - label: "gpt-3.5-turbo-1106 (recommended)", - value: "gpt-3.5-turbo-1106", - }, - { - label: "gpt-3.5-turbo-0613", - value: "gpt-3.5-turbo-0613", - }, - { - label: "babbage-002", - value: "babbage-002", - }, - { - label: "davinci-002", - value: "davinci-002", - }, - { - label: "gpt-4-0613 (experimental — eligible users will be presented with an option to request access in the fine-tuning UI)", - value: "gpt-4-0613", - }, - { - label: "gpt-4.1-mini-2025-04-14", - value: "gpt-4.1-mini-2025-04-14", - }, - { - label: "gpt-4.1-2025-04-14", - value: "gpt-4.1-2025-04-14", - }, -]; - -const TTS_MODELS = [ - "tts-1", - "tts-1-hd", -]; - -const IMAGE_MODELS = [ - "dall-e-2", - "dall-e-3", -]; - -const MODERATION_MODELS = [ - "text-moderation-stable", - "text-moderation-latest", -]; - const AUDIO_RESPONSE_FORMATS = [ "mp3", "opus", @@ -175,10 +129,6 @@ const BATCH_ENDPOINTS = [ ]; export default { - FINE_TUNING_MODEL_OPTIONS, - TTS_MODELS, - IMAGE_MODELS, - MODERATION_MODELS, AUDIO_RESPONSE_FORMATS, CHAT_RESPONSE_FORMAT, IMAGE_RESPONSE_FORMATS, diff --git a/components/openai/common/models.mjs b/components/openai/common/models.mjs new file mode 100644 index 0000000000000..ddc600a93ed3b --- /dev/null +++ b/components/openai/common/models.mjs @@ -0,0 +1,71 @@ +export const FINE_TUNING_MODEL_OPTIONS = [ + { + label: "gpt-3.5-turbo-1106 (recommended)", + value: "gpt-3.5-turbo-1106", + }, + { + label: "gpt-3.5-turbo-0613", + value: "gpt-3.5-turbo-0613", + }, + { + label: "babbage-002", + value: "babbage-002", + }, + { + label: "davinci-002", + value: "davinci-002", + }, + { + label: "gpt-4-0613 (experimental — eligible users will be presented with an option to request access in the fine-tuning UI)", + value: "gpt-4-0613", + }, + { + label: "gpt-4.1-mini-2025-04-14", + value: "gpt-4.1-mini-2025-04-14", + }, + { + label: "gpt-4.1-2025-04-14", + value: "gpt-4.1-2025-04-14", + }, +]; + +export const TTS_MODELS = [ + "tts-1", + "tts-1-hd", +]; + +export const IMAGE_MODELS = [ + "dall-e-2", + "dall-e-3", +]; + +export const MODERATION_MODELS = [ + "text-moderation-stable", + "text-moderation-latest", +]; + +// Models that are eligible for Assistants API usage when selecting an Assistant model +export const ASSISTANTS_MODEL_INCLUDE_SUBSTRINGS = [ + "gpt-3.5-turbo", + "gpt-4-turbo", + "gpt-4o", + "gpt-4.1", +]; + +// Exact model IDs to exclude from Assistants model options +export const ASSISTANTS_MODEL_EXCLUDED = [ + "gpt-3.5-turbo-0301", +]; + +// Supported models in the "Chat using Web Search" action +export const WEB_SEARCH_CHAT_MODELS = [ + "gpt-4o", + "gpt-4o-mini", +]; + +// Supported models in the "Create Transcription" action +export const TRANSCRIPTION_MODELS = [ + "gpt-4o-transcribe", + "gpt-4o-mini-transcribe", + "whisper-1", +]; diff --git a/components/openai/openai.app.mjs b/components/openai/openai.app.mjs index cc9fcb7df4c5f..5480c54a71260 100644 --- a/components/openai/openai.app.mjs +++ b/components/openai/openai.app.mjs @@ -1,5 +1,8 @@ import { axios } from "@pipedream/platform"; import constants from "./common/constants.mjs"; +import { + FINE_TUNING_MODEL_OPTIONS, TTS_MODELS, +} from "./common/models.mjs"; export default { type: "app", @@ -268,13 +271,13 @@ export default { type: "string", label: "Model", description: "One of the available [TTS models](https://platform.openai.com/docs/models/tts). `tts-1` is optimized for speed, while `tts-1-hd` is optimized for quality.", - options: constants.TTS_MODELS, + options: TTS_MODELS, }, fineTuningModel: { type: "string", label: "Fine Tuning Model", description: "The name of the model to fine-tune. [See the supported models](https://platform.openai.com/docs/guides/fine-tuning/what-models-can-be-fine-tuned).", - options: constants.FINE_TUNING_MODEL_OPTIONS, + options: FINE_TUNING_MODEL_OPTIONS, }, input: { type: "string", From e537a052f1ed8376f94c979c080144daf79b12f8 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Fri, 8 Aug 2025 14:37:48 -0300 Subject: [PATCH 2/6] Adding gpt-5 models to filters --- components/openai/common/models.mjs | 3 +++ components/openai/openai.app.mjs | 11 ++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/components/openai/common/models.mjs b/components/openai/common/models.mjs index ddc600a93ed3b..f0a92442237e2 100644 --- a/components/openai/common/models.mjs +++ b/components/openai/common/models.mjs @@ -50,6 +50,9 @@ export const ASSISTANTS_MODEL_INCLUDE_SUBSTRINGS = [ "gpt-4-turbo", "gpt-4o", "gpt-4.1", + "gpt-5", + "gpt-5-mini", + "gpt-5-nano", ]; // Exact model IDs to exclude from Assistants model options diff --git a/components/openai/openai.app.mjs b/components/openai/openai.app.mjs index 5480c54a71260..555845d73c60a 100644 --- a/components/openai/openai.app.mjs +++ b/components/openai/openai.app.mjs @@ -1,6 +1,8 @@ import { axios } from "@pipedream/platform"; import constants from "./common/constants.mjs"; import { + ASSISTANTS_MODEL_EXCLUDED, + ASSISTANTS_MODEL_INCLUDE_SUBSTRINGS, FINE_TUNING_MODEL_OPTIONS, TTS_MODELS, } from "./common/models.mjs"; @@ -24,7 +26,7 @@ export default { async options() { return (await this.getChatCompletionModels({})).map((model) => model.id); }, - default: "gpt-4o-mini", + default: "gpt-5-mini", }, embeddingsModelId: { label: "Model", @@ -355,7 +357,7 @@ export default { const models = await this.models({ $, }); - return models.filter((model) => model.id.match(/4o|o[1-9]|4\.1/gi)); + return models.filter((model) => model.id.match(/4o|o[1-9]|4\.1|gpt-5/gi)); }, async getCompletionModels({ $ }) { const models = await this.models({ @@ -383,7 +385,10 @@ export default { const models = await this.models({ $, }); - return models.filter(({ id }) => (id.includes("gpt-3.5-turbo") || id.includes("gpt-4-turbo") || id.includes("gpt-4o") || id.includes("gpt-4.1")) && (id !== "gpt-3.5-turbo-0301")); + return models.filter(({ id }) => ( + ASSISTANTS_MODEL_INCLUDE_SUBSTRINGS.some((substring) => id.includes(substring)) + && !ASSISTANTS_MODEL_EXCLUDED.includes(id) + )); }, async _makeCompletion({ path, ...args From 1ad32a5fa5118db08b698eb31cbdf1fac35413e7 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Fri, 8 Aug 2025 21:33:34 -0300 Subject: [PATCH 3/6] Changing model list to be ordered by descending creation date --- components/openai/openai.app.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/openai/openai.app.mjs b/components/openai/openai.app.mjs index 555845d73c60a..2d1949ce0f164 100644 --- a/components/openai/openai.app.mjs +++ b/components/openai/openai.app.mjs @@ -351,7 +351,7 @@ export default { $, path: "/models", }); - return models.sort((a, b) => a?.id.localeCompare(b?.id)); + return models.sort((a, b) => b?.created - a?.created); }, async getChatCompletionModels({ $ }) { const models = await this.models({ From 947cf23c4334276c8196eb446cac7947da9abc35 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Fri, 8 Aug 2025 21:36:21 -0300 Subject: [PATCH 4/6] Adding Claude Opus 4.1 to anthropic app --- components/anthropic/actions/chat/chat.mjs | 2 +- components/anthropic/actions/common/constants.mjs | 4 ++++ components/anthropic/package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/components/anthropic/actions/chat/chat.mjs b/components/anthropic/actions/chat/chat.mjs index 8f1cd3137579a..5a3d1dacf9e3a 100644 --- a/components/anthropic/actions/chat/chat.mjs +++ b/components/anthropic/actions/chat/chat.mjs @@ -3,7 +3,7 @@ import constants from "../common/constants.mjs"; export default { name: "Chat", - version: "0.1.0", + version: "0.2.0", key: "anthropic-chat", description: "The Chat API. [See the documentation](https://docs.anthropic.com/claude/reference/messages_post)", type: "action", diff --git a/components/anthropic/actions/common/constants.mjs b/components/anthropic/actions/common/constants.mjs index 4587351a8f03a..954b8824a4c53 100644 --- a/components/anthropic/actions/common/constants.mjs +++ b/components/anthropic/actions/common/constants.mjs @@ -1,5 +1,9 @@ export default { MESSAGE_MODELS: [ + { + label: "Claude Opus 4.1", + value: "claude-opus-4-1-20250805", + }, { label: "Claude Opus 4", value: "claude-opus-4-20250514", diff --git a/components/anthropic/package.json b/components/anthropic/package.json index bb18034795d63..9f139df2a1452 100644 --- a/components/anthropic/package.json +++ b/components/anthropic/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/anthropic", - "version": "0.1.0", + "version": "0.2.0", "description": "Pipedream Anthropic (Claude) Components", "main": "anthropic.app.mjs", "keywords": [ From f35b215c30387dfd8e55dda71cf40c01491c7cef Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Fri, 8 Aug 2025 21:46:15 -0300 Subject: [PATCH 5/6] Version bumps --- .../actions/analyze-image-content/analyze-image-content.mjs | 2 +- components/openai/actions/cancel-run/cancel-run.mjs | 2 +- .../actions/chat-using-file-search/chat-using-file-search.mjs | 2 +- .../actions/chat-using-functions/chat-using-functions.mjs | 2 +- .../openai/actions/chat-with-assistant/chat-with-assistant.mjs | 2 +- .../actions/chat-with-responses-api/chat-with-responses-api.mjs | 2 +- components/openai/actions/chat/chat.mjs | 2 +- .../classify-items-into-categories.mjs | 2 +- .../actions/convert-text-to-speech/convert-text-to-speech.mjs | 2 +- components/openai/actions/create-assistant/create-assistant.mjs | 2 +- components/openai/actions/create-batch/create-batch.mjs | 2 +- .../openai/actions/create-embeddings/create-embeddings.mjs | 2 +- .../actions/create-fine-tuning-job/create-fine-tuning-job.mjs | 2 +- .../create-vector-store-file/create-vector-store-file.mjs | 2 +- .../openai/actions/create-vector-store/create-vector-store.mjs | 2 +- components/openai/actions/delete-file/delete-file.mjs | 2 +- .../delete-vector-store-file/delete-vector-store-file.mjs | 2 +- .../openai/actions/delete-vector-store/delete-vector-store.mjs | 2 +- components/openai/actions/list-files/list-files.mjs | 2 +- components/openai/actions/list-messages/list-messages.mjs | 2 +- components/openai/actions/list-run-steps/list-run-steps.mjs | 2 +- components/openai/actions/list-runs/list-runs.mjs | 2 +- .../actions/list-vector-store-files/list-vector-store-files.mjs | 2 +- .../openai/actions/list-vector-stores/list-vector-stores.mjs | 2 +- components/openai/actions/modify-assistant/modify-assistant.mjs | 2 +- .../actions/retrieve-file-content/retrieve-file-content.mjs | 2 +- components/openai/actions/retrieve-file/retrieve-file.mjs | 2 +- .../openai/actions/retrieve-run-step/retrieve-run-step.mjs | 2 +- components/openai/actions/retrieve-run/retrieve-run.mjs | 2 +- .../retrieve-vector-store-file/retrieve-vector-store-file.mjs | 2 +- .../actions/retrieve-vector-store/retrieve-vector-store.mjs | 2 +- components/openai/actions/send-prompt/send-prompt.mjs | 2 +- .../submit-tool-outputs-to-run/submit-tool-outputs-to-run.mjs | 2 +- components/openai/actions/summarize/summarize.mjs | 2 +- components/openai/actions/translate-text/translate-text.mjs | 2 +- components/openai/actions/upload-file/upload-file.mjs | 2 +- .../openai/sources/new-batch-completed/new-batch-completed.mjs | 2 +- components/openai/sources/new-file-created/new-file-created.mjs | 2 +- .../new-fine-tuning-job-created/new-fine-tuning-job-created.mjs | 2 +- .../sources/new-run-state-changed/new-run-state-changed.mjs | 2 +- 40 files changed, 40 insertions(+), 40 deletions(-) diff --git a/components/openai/actions/analyze-image-content/analyze-image-content.mjs b/components/openai/actions/analyze-image-content/analyze-image-content.mjs index f8f831efcf796..a78b265fee19b 100644 --- a/components/openai/actions/analyze-image-content/analyze-image-content.mjs +++ b/components/openai/actions/analyze-image-content/analyze-image-content.mjs @@ -8,7 +8,7 @@ export default { key: "openai-analyze-image-content", name: "Analyze Image Content", description: "Send a message or question about an image and receive a response. [See the documentation](https://platform.openai.com/docs/api-reference/runs/createThreadAndRun)", - version: "1.0.1", + version: "1.0.2", type: "action", props: { openai, diff --git a/components/openai/actions/cancel-run/cancel-run.mjs b/components/openai/actions/cancel-run/cancel-run.mjs index 3a7d47c2b2886..bab67710ca3ec 100644 --- a/components/openai/actions/cancel-run/cancel-run.mjs +++ b/components/openai/actions/cancel-run/cancel-run.mjs @@ -4,7 +4,7 @@ export default { key: "openai-cancel-run", name: "Cancel Run (Assistants)", description: "Cancels a run that is in progress. [See the documentation](https://platform.openai.com/docs/api-reference/runs/cancelRun)", - version: "0.0.15", + version: "0.0.16", type: "action", props: { openai, diff --git a/components/openai/actions/chat-using-file-search/chat-using-file-search.mjs b/components/openai/actions/chat-using-file-search/chat-using-file-search.mjs index 1c5fa0a7b6add..a5a427ca007c3 100644 --- a/components/openai/actions/chat-using-file-search/chat-using-file-search.mjs +++ b/components/openai/actions/chat-using-file-search/chat-using-file-search.mjs @@ -5,7 +5,7 @@ import constants from "../../common/constants.mjs"; export default { ...common, name: "Chat using File Search", - version: "0.0.6", + version: "0.0.7", key: "openai-chat-using-file-search", description: "Chat with your files knowledge base (vector stores). [See the documentation](https://platform.openai.com/docs/guides/tools-file-search)", type: "action", diff --git a/components/openai/actions/chat-using-functions/chat-using-functions.mjs b/components/openai/actions/chat-using-functions/chat-using-functions.mjs index 668cd73527b8e..b7230f83537f1 100644 --- a/components/openai/actions/chat-using-functions/chat-using-functions.mjs +++ b/components/openai/actions/chat-using-functions/chat-using-functions.mjs @@ -5,7 +5,7 @@ import constants from "../../common/constants.mjs"; export default { ...common, name: "Chat using Functions", - version: "0.0.7", + version: "0.0.8", key: "openai-chat-using-functions", description: "Chat with your models and allow them to invoke functions. Optionally, you can build and invoke workflows as functions. [See the documentation](https://platform.openai.com/docs/guides/function-calling)", type: "action", diff --git a/components/openai/actions/chat-with-assistant/chat-with-assistant.mjs b/components/openai/actions/chat-with-assistant/chat-with-assistant.mjs index 2e9df6fbc8314..75c0640d984fa 100644 --- a/components/openai/actions/chat-with-assistant/chat-with-assistant.mjs +++ b/components/openai/actions/chat-with-assistant/chat-with-assistant.mjs @@ -6,7 +6,7 @@ export default { key: "openai-chat-with-assistant", name: "Chat with Assistant", description: "Sends a message and generates a response, storing the message history for a continuous conversation. [See the documentation](https://platform.openai.com/docs/api-reference/runs/createThreadAndRun)", - version: "0.0.11", + version: "0.0.12", type: "action", props: { openai, diff --git a/components/openai/actions/chat-with-responses-api/chat-with-responses-api.mjs b/components/openai/actions/chat-with-responses-api/chat-with-responses-api.mjs index 265c0a4b3c8bd..5dfc4231eff4f 100644 --- a/components/openai/actions/chat-with-responses-api/chat-with-responses-api.mjs +++ b/components/openai/actions/chat-with-responses-api/chat-with-responses-api.mjs @@ -10,7 +10,7 @@ export default { ...common, key: "openai-chat-with-responses-api", name: "Chat With Responses API", - version: "0.0.1", + version: "0.0.2", description: "Send a chat via the Responses API, mixing built-in tools and MCP server tools. [See the documentation](https://platform.openai.com/docs/guides/tools?api-mode=responses).", type: "action", props: { diff --git a/components/openai/actions/chat/chat.mjs b/components/openai/actions/chat/chat.mjs index a74cf78cbc933..a6e82e8d5d524 100644 --- a/components/openai/actions/chat/chat.mjs +++ b/components/openai/actions/chat/chat.mjs @@ -5,7 +5,7 @@ import constants from "../../common/constants.mjs"; export default { ...common, name: "Chat", - version: "0.3.2", + version: "0.3.3", key: "openai-chat", description: "The Chat API, using the `gpt-3.5-turbo` or `gpt-4` model. [See the documentation](https://platform.openai.com/docs/api-reference/chat)", type: "action", diff --git a/components/openai/actions/classify-items-into-categories/classify-items-into-categories.mjs b/components/openai/actions/classify-items-into-categories/classify-items-into-categories.mjs index ec8bb2e91bc3b..a2fc3da14ee1e 100644 --- a/components/openai/actions/classify-items-into-categories/classify-items-into-categories.mjs +++ b/components/openai/actions/classify-items-into-categories/classify-items-into-categories.mjs @@ -3,7 +3,7 @@ import common from "../common/common-helper.mjs"; export default { ...common, name: "Classify Items into Categories", - version: "0.1.8", + version: "0.1.9", key: "openai-classify-items-into-categories", description: "Classify items into specific categories using the Chat API. [See the documentation](https://platform.openai.com/docs/api-reference/chat)", type: "action", diff --git a/components/openai/actions/convert-text-to-speech/convert-text-to-speech.mjs b/components/openai/actions/convert-text-to-speech/convert-text-to-speech.mjs index 8ea5b0aafa0d0..28ba3f27987da 100644 --- a/components/openai/actions/convert-text-to-speech/convert-text-to-speech.mjs +++ b/components/openai/actions/convert-text-to-speech/convert-text-to-speech.mjs @@ -5,7 +5,7 @@ export default { key: "openai-convert-text-to-speech", name: "Convert Text to Speech (TTS)", description: "Generates audio from the input text. [See the documentation](https://platform.openai.com/docs/api-reference/audio/createSpeech)", - version: "0.0.15", + version: "0.0.16", type: "action", props: { openai, diff --git a/components/openai/actions/create-assistant/create-assistant.mjs b/components/openai/actions/create-assistant/create-assistant.mjs index f118a5a86909d..d57fa1472628c 100644 --- a/components/openai/actions/create-assistant/create-assistant.mjs +++ b/components/openai/actions/create-assistant/create-assistant.mjs @@ -6,7 +6,7 @@ export default { key: "openai-create-assistant", name: "Create Assistant", description: "Creates an assistant with a model and instructions. [See the documentation](https://platform.openai.com/docs/api-reference/assistants/createAssistant)", - version: "0.1.13", + version: "0.1.14", type: "action", props: { openai, diff --git a/components/openai/actions/create-batch/create-batch.mjs b/components/openai/actions/create-batch/create-batch.mjs index 490c8318dc575..1396eb9f99ced 100644 --- a/components/openai/actions/create-batch/create-batch.mjs +++ b/components/openai/actions/create-batch/create-batch.mjs @@ -9,7 +9,7 @@ export default { key: "openai-create-batch", name: "Create Batch", description: "Creates and executes a batch from an uploaded file of requests. [See the documentation](https://platform.openai.com/docs/api-reference/batch/create)", - version: "0.1.1", + version: "0.1.2", type: "action", props: { openai, diff --git a/components/openai/actions/create-embeddings/create-embeddings.mjs b/components/openai/actions/create-embeddings/create-embeddings.mjs index 4c317981d8f1c..7bf6ec270b938 100644 --- a/components/openai/actions/create-embeddings/create-embeddings.mjs +++ b/components/openai/actions/create-embeddings/create-embeddings.mjs @@ -4,7 +4,7 @@ import common from "../common/common.mjs"; export default { name: "Create Embeddings", - version: "0.0.20", + version: "0.0.21", key: "openai-create-embeddings", description: "Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. [See the documentation](https://platform.openai.com/docs/api-reference/embeddings)", type: "action", diff --git a/components/openai/actions/create-fine-tuning-job/create-fine-tuning-job.mjs b/components/openai/actions/create-fine-tuning-job/create-fine-tuning-job.mjs index 15bc048d7a9ab..4d067b3580c7a 100644 --- a/components/openai/actions/create-fine-tuning-job/create-fine-tuning-job.mjs +++ b/components/openai/actions/create-fine-tuning-job/create-fine-tuning-job.mjs @@ -4,7 +4,7 @@ export default { key: "openai-create-fine-tuning-job", name: "Create Fine Tuning Job", description: "Creates a job that fine-tunes a specified model from a given dataset. [See the documentation](https://platform.openai.com/docs/api-reference/fine-tuning/create)", - version: "0.0.14", + version: "0.0.15", type: "action", props: { openai, diff --git a/components/openai/actions/create-vector-store-file/create-vector-store-file.mjs b/components/openai/actions/create-vector-store-file/create-vector-store-file.mjs index 32c3875c0b3cb..2830dbe4e3322 100644 --- a/components/openai/actions/create-vector-store-file/create-vector-store-file.mjs +++ b/components/openai/actions/create-vector-store-file/create-vector-store-file.mjs @@ -4,7 +4,7 @@ export default { key: "openai-create-vector-store-file", name: "Create Vector Store File", description: "Create a vector store file. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores-files/createFile)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { openai, diff --git a/components/openai/actions/create-vector-store/create-vector-store.mjs b/components/openai/actions/create-vector-store/create-vector-store.mjs index 8eefa39f39ec1..c4584accbede6 100644 --- a/components/openai/actions/create-vector-store/create-vector-store.mjs +++ b/components/openai/actions/create-vector-store/create-vector-store.mjs @@ -4,7 +4,7 @@ export default { key: "openai-create-vector-store", name: "Create Vector Store", description: "Create a vector store. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores/create)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { openai, diff --git a/components/openai/actions/delete-file/delete-file.mjs b/components/openai/actions/delete-file/delete-file.mjs index 4b5c8a1f5c72b..60ba597988d3c 100644 --- a/components/openai/actions/delete-file/delete-file.mjs +++ b/components/openai/actions/delete-file/delete-file.mjs @@ -4,7 +4,7 @@ export default { key: "openai-delete-file", name: "Delete File", description: "Deletes a specified file from OpenAI. [See the documentation](https://platform.openai.com/docs/api-reference/files/delete)", - version: "0.0.15", + version: "0.0.16", type: "action", props: { openai, diff --git a/components/openai/actions/delete-vector-store-file/delete-vector-store-file.mjs b/components/openai/actions/delete-vector-store-file/delete-vector-store-file.mjs index f69ac32a122af..929d348cbc5ee 100644 --- a/components/openai/actions/delete-vector-store-file/delete-vector-store-file.mjs +++ b/components/openai/actions/delete-vector-store-file/delete-vector-store-file.mjs @@ -4,7 +4,7 @@ export default { key: "openai-delete-vector-store-file", name: "Delete Vector Store File", description: "Deletes a vector store file. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores-files/deleteFile)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { openai, diff --git a/components/openai/actions/delete-vector-store/delete-vector-store.mjs b/components/openai/actions/delete-vector-store/delete-vector-store.mjs index 40139e145ff4c..b0f7ce3cd9707 100644 --- a/components/openai/actions/delete-vector-store/delete-vector-store.mjs +++ b/components/openai/actions/delete-vector-store/delete-vector-store.mjs @@ -4,7 +4,7 @@ export default { key: "openai-delete-vector-store", name: "Delete Vector Store", description: "Delete a vector store. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores/delete)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { openai, diff --git a/components/openai/actions/list-files/list-files.mjs b/components/openai/actions/list-files/list-files.mjs index 5c83589485f81..4477054351437 100644 --- a/components/openai/actions/list-files/list-files.mjs +++ b/components/openai/actions/list-files/list-files.mjs @@ -4,7 +4,7 @@ export default { key: "openai-list-files", name: "List Files", description: "Returns a list of files that belong to the user's organization. [See the documentation](https://platform.openai.com/docs/api-reference/files/list)", - version: "0.0.15", + version: "0.0.16", type: "action", props: { openai, diff --git a/components/openai/actions/list-messages/list-messages.mjs b/components/openai/actions/list-messages/list-messages.mjs index 915a6617171d6..674982fe7d188 100644 --- a/components/openai/actions/list-messages/list-messages.mjs +++ b/components/openai/actions/list-messages/list-messages.mjs @@ -4,7 +4,7 @@ export default { key: "openai-list-messages", name: "List Messages (Assistants)", description: "Lists the messages for a given thread. [See the documentation](https://platform.openai.com/docs/api-reference/messages/listMessages)", - version: "0.0.16", + version: "0.0.17", type: "action", props: { openai, diff --git a/components/openai/actions/list-run-steps/list-run-steps.mjs b/components/openai/actions/list-run-steps/list-run-steps.mjs index 9f5996a0e95c6..8a16f4c8d8428 100644 --- a/components/openai/actions/list-run-steps/list-run-steps.mjs +++ b/components/openai/actions/list-run-steps/list-run-steps.mjs @@ -4,7 +4,7 @@ export default { key: "openai-list-run-steps", name: "List Run Steps (Assistants)", description: "Returns a list of run steps belonging to a run. [See the documentation](https://platform.openai.com/docs/api-reference/runs/list-run-steps)", - version: "0.0.15", + version: "0.0.16", type: "action", props: { openai, diff --git a/components/openai/actions/list-runs/list-runs.mjs b/components/openai/actions/list-runs/list-runs.mjs index b3c197f81a027..421664861c27b 100644 --- a/components/openai/actions/list-runs/list-runs.mjs +++ b/components/openai/actions/list-runs/list-runs.mjs @@ -4,7 +4,7 @@ export default { key: "openai-list-runs", name: "List Runs (Assistants)", description: "Returns a list of runs belonging to a thread. [See the documentation](https://platform.openai.com/docs/api-reference/runs/list)", - version: "0.0.16", + version: "0.0.17", type: "action", props: { openai, diff --git a/components/openai/actions/list-vector-store-files/list-vector-store-files.mjs b/components/openai/actions/list-vector-store-files/list-vector-store-files.mjs index 0b7f62f834e57..2d7de55c5ea43 100644 --- a/components/openai/actions/list-vector-store-files/list-vector-store-files.mjs +++ b/components/openai/actions/list-vector-store-files/list-vector-store-files.mjs @@ -4,7 +4,7 @@ export default { key: "openai-list-vector-store-files", name: "List Vector Store Files", description: "Returns a list of vector store file. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores-files/listFiles)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { openai, diff --git a/components/openai/actions/list-vector-stores/list-vector-stores.mjs b/components/openai/actions/list-vector-stores/list-vector-stores.mjs index 48ab545b32ca3..635c7db27bcf5 100644 --- a/components/openai/actions/list-vector-stores/list-vector-stores.mjs +++ b/components/openai/actions/list-vector-stores/list-vector-stores.mjs @@ -4,7 +4,7 @@ export default { key: "openai-list-vector-stores", name: "List Vector Stores", description: "Returns a list of vector stores. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores/list)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { openai, diff --git a/components/openai/actions/modify-assistant/modify-assistant.mjs b/components/openai/actions/modify-assistant/modify-assistant.mjs index 2d0a193e16420..5e5705dbc2e7b 100644 --- a/components/openai/actions/modify-assistant/modify-assistant.mjs +++ b/components/openai/actions/modify-assistant/modify-assistant.mjs @@ -6,7 +6,7 @@ export default { key: "openai-modify-assistant", name: "Modify an Assistant", description: "Modifies an existing OpenAI assistant. [See the documentation](https://platform.openai.com/docs/api-reference/assistants/modifyAssistant)", - version: "0.1.13", + version: "0.1.14", type: "action", props: { openai, diff --git a/components/openai/actions/retrieve-file-content/retrieve-file-content.mjs b/components/openai/actions/retrieve-file-content/retrieve-file-content.mjs index bfcbd7b28e69c..80188d771b5f2 100644 --- a/components/openai/actions/retrieve-file-content/retrieve-file-content.mjs +++ b/components/openai/actions/retrieve-file-content/retrieve-file-content.mjs @@ -5,7 +5,7 @@ export default { key: "openai-retrieve-file-content", name: "Retrieve File Content", description: "Retrieves the contents of the specified file. [See the documentation](https://platform.openai.com/docs/api-reference/files/retrieve-content)", - version: "0.0.16", + version: "0.0.17", type: "action", props: { openai, diff --git a/components/openai/actions/retrieve-file/retrieve-file.mjs b/components/openai/actions/retrieve-file/retrieve-file.mjs index d8bf03f09adc8..1c4a92e6a18d0 100644 --- a/components/openai/actions/retrieve-file/retrieve-file.mjs +++ b/components/openai/actions/retrieve-file/retrieve-file.mjs @@ -4,7 +4,7 @@ export default { key: "openai-retrieve-file", name: "Retrieve File", description: "Retrieves a specific file from OpenAI. [See the documentation](https://platform.openai.com/docs/api-reference/files/retrieve)", - version: "0.0.15", + version: "0.0.16", type: "action", props: { openai, diff --git a/components/openai/actions/retrieve-run-step/retrieve-run-step.mjs b/components/openai/actions/retrieve-run-step/retrieve-run-step.mjs index c4cc4f1fb0a64..44150af438f88 100644 --- a/components/openai/actions/retrieve-run-step/retrieve-run-step.mjs +++ b/components/openai/actions/retrieve-run-step/retrieve-run-step.mjs @@ -4,7 +4,7 @@ export default { key: "openai-retrieve-run-step", name: "Retrieve Run Step (Assistants)", description: "Retrieve a specific run step in a thread. [See the documentation](https://platform.openai.com/docs/api-reference/runs/getRunStep)", - version: "0.0.15", + version: "0.0.16", type: "action", props: { openai, diff --git a/components/openai/actions/retrieve-run/retrieve-run.mjs b/components/openai/actions/retrieve-run/retrieve-run.mjs index a6945ec0e9d2b..c77952cf7ea12 100644 --- a/components/openai/actions/retrieve-run/retrieve-run.mjs +++ b/components/openai/actions/retrieve-run/retrieve-run.mjs @@ -4,7 +4,7 @@ export default { key: "openai-retrieve-run", name: "Retrieve Run (Assistants)", description: "Retrieves a specific run within a thread. [See the documentation](https://platform.openai.com/docs/api-reference/runs/getRun)", - version: "0.0.15", + version: "0.0.16", type: "action", props: { openai, diff --git a/components/openai/actions/retrieve-vector-store-file/retrieve-vector-store-file.mjs b/components/openai/actions/retrieve-vector-store-file/retrieve-vector-store-file.mjs index 4825767defe31..762844671f50c 100644 --- a/components/openai/actions/retrieve-vector-store-file/retrieve-vector-store-file.mjs +++ b/components/openai/actions/retrieve-vector-store-file/retrieve-vector-store-file.mjs @@ -4,7 +4,7 @@ export default { key: "openai-retrieve-vector-store-file", name: "Retrieve Vector Store File", description: "Retrieve a vector store file. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores-files/getFile)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { openai, diff --git a/components/openai/actions/retrieve-vector-store/retrieve-vector-store.mjs b/components/openai/actions/retrieve-vector-store/retrieve-vector-store.mjs index 18c09362c9348..45c2997edc737 100644 --- a/components/openai/actions/retrieve-vector-store/retrieve-vector-store.mjs +++ b/components/openai/actions/retrieve-vector-store/retrieve-vector-store.mjs @@ -4,7 +4,7 @@ export default { key: "openai-retrieve-vector-store", name: "Retrieve Vector Store", description: "Retrieve a vector store. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores/retrieve)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { openai, diff --git a/components/openai/actions/send-prompt/send-prompt.mjs b/components/openai/actions/send-prompt/send-prompt.mjs index 506c02110bbdb..07a373cc8b631 100644 --- a/components/openai/actions/send-prompt/send-prompt.mjs +++ b/components/openai/actions/send-prompt/send-prompt.mjs @@ -4,7 +4,7 @@ import common from "../common/common.mjs"; export default { ...common, name: "Create Completion (Send Prompt)", - version: "0.1.19", + version: "0.1.20", key: "openai-send-prompt", description: "OpenAI recommends using the **Chat** action for the latest `gpt-3.5-turbo` API, since it's faster and 10x cheaper. This action creates a completion for the provided prompt and parameters using the older `/completions` API. [See the documentation](https://beta.openai.com/docs/api-reference/completions/create)", type: "action", diff --git a/components/openai/actions/submit-tool-outputs-to-run/submit-tool-outputs-to-run.mjs b/components/openai/actions/submit-tool-outputs-to-run/submit-tool-outputs-to-run.mjs index 3779f6edb5378..823ecdef9563c 100644 --- a/components/openai/actions/submit-tool-outputs-to-run/submit-tool-outputs-to-run.mjs +++ b/components/openai/actions/submit-tool-outputs-to-run/submit-tool-outputs-to-run.mjs @@ -5,7 +5,7 @@ export default { key: "openai-submit-tool-outputs-to-run", name: "Submit Tool Outputs to Run (Assistants)", description: "Submits tool outputs to a run that requires action. [See the documentation](https://platform.openai.com/docs/api-reference/runs/submitToolOutputs)", - version: "0.0.15", + version: "0.0.16", type: "action", props: { openai, diff --git a/components/openai/actions/summarize/summarize.mjs b/components/openai/actions/summarize/summarize.mjs index b420f446c7898..0c1c105c02883 100644 --- a/components/openai/actions/summarize/summarize.mjs +++ b/components/openai/actions/summarize/summarize.mjs @@ -4,7 +4,7 @@ import constants from "../../common/constants.mjs"; export default { ...common, name: "Summarize Text", - version: "0.1.8", + version: "0.1.9", key: "openai-summarize", description: "Summarizes text using the Chat API. [See the documentation](https://platform.openai.com/docs/api-reference/chat)", type: "action", diff --git a/components/openai/actions/translate-text/translate-text.mjs b/components/openai/actions/translate-text/translate-text.mjs index aedeb22df631a..672147ec647be 100644 --- a/components/openai/actions/translate-text/translate-text.mjs +++ b/components/openai/actions/translate-text/translate-text.mjs @@ -9,7 +9,7 @@ const langOptions = lang.LANGUAGES.map((l) => ({ export default { ...common, name: "Translate Text (Whisper)", - version: "0.1.8", + version: "0.1.9", key: "openai-translate-text", description: "Translate text from one language to another using the Chat API. [See the documentation](https://platform.openai.com/docs/api-reference/chat)", type: "action", diff --git a/components/openai/actions/upload-file/upload-file.mjs b/components/openai/actions/upload-file/upload-file.mjs index 420bcdcd0be07..d181415a1340d 100644 --- a/components/openai/actions/upload-file/upload-file.mjs +++ b/components/openai/actions/upload-file/upload-file.mjs @@ -6,7 +6,7 @@ export default { key: "openai-upload-file", name: "Upload File", description: "Upload a file that can be used across various endpoints/features. The size of individual files can be a maximum of 512mb. [See the documentation](https://platform.openai.com/docs/api-reference/files/create)", - version: "0.1.1", + version: "0.1.2", type: "action", props: { openai, diff --git a/components/openai/sources/new-batch-completed/new-batch-completed.mjs b/components/openai/sources/new-batch-completed/new-batch-completed.mjs index 6a4c83fe47602..223cf0f8d563f 100644 --- a/components/openai/sources/new-batch-completed/new-batch-completed.mjs +++ b/components/openai/sources/new-batch-completed/new-batch-completed.mjs @@ -6,7 +6,7 @@ export default { key: "openai-new-batch-completed", name: "New Batch Completed", description: "Emit new event when a new batch is completed in OpenAI. [See the documentation](https://platform.openai.com/docs/api-reference/batch/list)", - version: "0.0.9", + version: "0.0.10", type: "source", dedupe: "unique", methods: { diff --git a/components/openai/sources/new-file-created/new-file-created.mjs b/components/openai/sources/new-file-created/new-file-created.mjs index 5c5c94f7795f3..f503e531f3d6d 100644 --- a/components/openai/sources/new-file-created/new-file-created.mjs +++ b/components/openai/sources/new-file-created/new-file-created.mjs @@ -6,7 +6,7 @@ export default { key: "openai-new-file-created", name: "New File Created", description: "Emit new event when a new file is created in OpenAI. [See the documentation](https://platform.openai.com/docs/api-reference/files/list)", - version: "0.0.14", + version: "0.0.15", type: "source", dedupe: "unique", props: { diff --git a/components/openai/sources/new-fine-tuning-job-created/new-fine-tuning-job-created.mjs b/components/openai/sources/new-fine-tuning-job-created/new-fine-tuning-job-created.mjs index ceaf091685500..a164e8457742a 100644 --- a/components/openai/sources/new-fine-tuning-job-created/new-fine-tuning-job-created.mjs +++ b/components/openai/sources/new-fine-tuning-job-created/new-fine-tuning-job-created.mjs @@ -6,7 +6,7 @@ export default { key: "openai-new-fine-tuning-job-created", name: "New Fine Tuning Job Created", description: "Emit new event when a new fine-tuning job is created in OpenAI. [See the documentation](https://platform.openai.com/docs/api-reference/fine-tuning/list)", - version: "0.0.14", + version: "0.0.15", type: "source", dedupe: "unique", methods: { diff --git a/components/openai/sources/new-run-state-changed/new-run-state-changed.mjs b/components/openai/sources/new-run-state-changed/new-run-state-changed.mjs index 6f28511b6d333..83906b33c7a66 100644 --- a/components/openai/sources/new-run-state-changed/new-run-state-changed.mjs +++ b/components/openai/sources/new-run-state-changed/new-run-state-changed.mjs @@ -6,7 +6,7 @@ export default { key: "openai-new-run-state-changed", name: "New Run State Changed", description: "Emit new event every time a run changes its status. [See the documentation](https://platform.openai.com/docs/api-reference/runs/listRuns)", - version: "0.0.10", + version: "0.0.11", type: "source", dedupe: "unique", props: { From 0257bb6304b516a04366bac39ed97bb236b0e39e Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Sat, 9 Aug 2025 15:03:29 -0300 Subject: [PATCH 6/6] OpenAI package version bump --- components/openai/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/openai/package.json b/components/openai/package.json index 282a8a1cc03cd..85d29c0f16812 100644 --- a/components/openai/package.json +++ b/components/openai/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/openai", - "version": "1.1.1", + "version": "1.2.0", "description": "Pipedream OpenAI Components", "main": "openai.app.mjs", "keywords": [