@pipedream/openai 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/actions/analyze-image-content/analyze-image-content.mjs +2 -1
  2. package/actions/cancel-run/cancel-run.mjs +1 -1
  3. package/actions/chat/chat.mjs +1 -1
  4. package/actions/chat-using-file-search/chat-using-file-search.mjs +1 -1
  5. package/actions/chat-using-functions/chat-using-functions.mjs +1 -1
  6. package/actions/chat-using-web-search/chat-using-web-search.mjs +1 -1
  7. package/actions/chat-with-assistant/chat-with-assistant.mjs +1 -1
  8. package/actions/chat-with-responses-api/chat-with-responses-api.mjs +1 -1
  9. package/actions/classify-items-into-categories/classify-items-into-categories.mjs +1 -1
  10. package/actions/convert-text-to-speech/convert-text-to-speech.mjs +1 -1
  11. package/actions/create-assistant/create-assistant.mjs +1 -1
  12. package/actions/create-batch/create-batch.mjs +1 -1
  13. package/actions/create-embeddings/create-embeddings.mjs +1 -1
  14. package/actions/create-fine-tuning-job/create-fine-tuning-job.mjs +1 -1
  15. package/actions/create-image/create-image.mjs +1 -1
  16. package/actions/create-moderation/create-moderation.mjs +1 -1
  17. package/actions/create-thread/create-thread.mjs +1 -1
  18. package/actions/create-transcription/create-transcription.mjs +1 -1
  19. package/actions/create-vector-store/create-vector-store.mjs +1 -1
  20. package/actions/create-vector-store-file/create-vector-store-file.mjs +1 -1
  21. package/actions/delete-file/delete-file.mjs +1 -1
  22. package/actions/delete-vector-store/delete-vector-store.mjs +1 -1
  23. package/actions/delete-vector-store-file/delete-vector-store-file.mjs +1 -1
  24. package/actions/list-files/list-files.mjs +1 -1
  25. package/actions/list-messages/list-messages.mjs +1 -1
  26. package/actions/list-run-steps/list-run-steps.mjs +1 -1
  27. package/actions/list-runs/list-runs.mjs +1 -1
  28. package/actions/list-vector-store-files/list-vector-store-files.mjs +1 -1
  29. package/actions/list-vector-stores/list-vector-stores.mjs +1 -1
  30. package/actions/modify-assistant/modify-assistant.mjs +1 -1
  31. package/actions/retrieve-file/retrieve-file.mjs +1 -1
  32. package/actions/retrieve-file-content/retrieve-file-content.mjs +1 -1
  33. package/actions/retrieve-run/retrieve-run.mjs +1 -1
  34. package/actions/retrieve-run-step/retrieve-run-step.mjs +1 -1
  35. package/actions/retrieve-vector-store/retrieve-vector-store.mjs +1 -1
  36. package/actions/retrieve-vector-store-file/retrieve-vector-store-file.mjs +1 -1
  37. package/actions/send-prompt/send-prompt.mjs +1 -1
  38. package/actions/submit-tool-outputs-to-run/submit-tool-outputs-to-run.mjs +1 -1
  39. package/actions/summarize/summarize.mjs +1 -1
  40. package/actions/translate-text/translate-text.mjs +1 -1
  41. package/actions/upload-file/upload-file.mjs +1 -1
  42. package/openai.app.mjs +1 -0
  43. package/package.json +2 -2
  44. package/sources/new-batch-completed/new-batch-completed.mjs +1 -1
  45. package/sources/new-file-created/new-file-created.mjs +1 -1
  46. package/sources/new-fine-tuning-job-created/new-fine-tuning-job-created.mjs +1 -1
  47. package/sources/new-run-state-changed/new-run-state-changed.mjs +1 -1
@@ -8,7 +8,7 @@ export default {
8
8
  key: "openai-analyze-image-content",
9
9
  name: "Analyze Image Content",
10
10
  description: "Send a message or question about an image and receive a response. [See the documentation](https://developers.openai.com/api/reference/resources/responses/methods/create)",
11
- version: "1.1.0",
11
+ version: "1.1.1",
12
12
  annotations: {
13
13
  destructiveHint: false,
14
14
  openWorldHint: true,
@@ -36,6 +36,7 @@ export default {
36
36
  type: "string",
37
37
  label: "File Path or URL",
38
38
  description: "The image to process. Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/myFile.jpg`). Supported image types: jpeg, jpg, png, gif, webp",
39
+ format: "file-ref",
39
40
  optional: true,
40
41
  },
41
42
  syncDir: {
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-cancel-run",
5
5
  name: "Cancel Run (Assistants)",
6
6
  description: "Cancels a run that is in progress. [See the documentation](https://platform.openai.com/docs/api-reference/runs/cancelRun)",
7
- version: "0.0.17",
7
+ version: "0.0.18",
8
8
  annotations: {
9
9
  destructiveHint: true,
10
10
  openWorldHint: true,
@@ -5,7 +5,7 @@ import constants from "../../common/constants.mjs";
5
5
  export default {
6
6
  ...common,
7
7
  name: "Chat",
8
- version: "0.3.4",
8
+ version: "0.3.5",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -5,7 +5,7 @@ import constants from "../../common/constants.mjs";
5
5
  export default {
6
6
  ...common,
7
7
  name: "Chat using File Search",
8
- version: "0.0.8",
8
+ version: "0.0.9",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -5,7 +5,7 @@ import constants from "../../common/constants.mjs";
5
5
  export default {
6
6
  ...common,
7
7
  name: "Chat using Functions",
8
- version: "0.0.9",
8
+ version: "0.0.10",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -6,7 +6,7 @@ import { WEB_SEARCH_CHAT_MODELS } from "../../common/models.mjs";
6
6
  export default {
7
7
  ...common,
8
8
  name: "Chat using Web Search",
9
- version: "0.0.8",
9
+ version: "0.0.9",
10
10
  annotations: {
11
11
  destructiveHint: false,
12
12
  openWorldHint: true,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "openai-chat-with-assistant",
7
7
  name: "Chat with Assistant",
8
8
  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)",
9
- version: "0.0.13",
9
+ version: "0.0.14",
10
10
  annotations: {
11
11
  destructiveHint: false,
12
12
  openWorldHint: true,
@@ -10,7 +10,7 @@ export default {
10
10
  ...common,
11
11
  key: "openai-chat-with-responses-api",
12
12
  name: "Chat With Responses API",
13
- version: "0.0.3",
13
+ version: "0.0.4",
14
14
  annotations: {
15
15
  destructiveHint: false,
16
16
  openWorldHint: true,
@@ -3,7 +3,7 @@ import common from "../common/common-helper.mjs";
3
3
  export default {
4
4
  ...common,
5
5
  name: "Classify Items into Categories",
6
- version: "0.1.10",
6
+ version: "0.1.11",
7
7
  annotations: {
8
8
  destructiveHint: false,
9
9
  openWorldHint: true,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "openai-convert-text-to-speech",
6
6
  name: "Convert Text to Speech (TTS)",
7
7
  description: "Generates audio from the input text. [See the documentation](https://platform.openai.com/docs/api-reference/audio/createSpeech)",
8
- version: "0.0.17",
8
+ version: "0.0.18",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "openai-create-assistant",
7
7
  name: "Create Assistant",
8
8
  description: "Creates an assistant with a model and instructions. [See the documentation](https://platform.openai.com/docs/api-reference/assistants/createAssistant)",
9
- version: "0.1.15",
9
+ version: "0.1.16",
10
10
  annotations: {
11
11
  destructiveHint: false,
12
12
  openWorldHint: true,
@@ -9,7 +9,7 @@ export default {
9
9
  key: "openai-create-batch",
10
10
  name: "Create Batch",
11
11
  description: "Creates and executes a batch from an uploaded file of requests. [See the documentation](https://platform.openai.com/docs/api-reference/batch/create)",
12
- version: "0.1.3",
12
+ version: "0.1.4",
13
13
  annotations: {
14
14
  destructiveHint: false,
15
15
  openWorldHint: true,
@@ -4,7 +4,7 @@ import common from "../common/common.mjs";
4
4
 
5
5
  export default {
6
6
  name: "Create Embeddings",
7
- version: "0.0.22",
7
+ version: "0.0.23",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-create-fine-tuning-job",
5
5
  name: "Create Fine Tuning Job",
6
6
  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)",
7
- version: "0.0.16",
7
+ version: "0.0.17",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -5,7 +5,7 @@ import { IMAGE_MODELS } from "../../common/models.mjs";
5
5
 
6
6
  export default {
7
7
  name: "Create Image (Dall-E)",
8
- version: "0.1.25",
8
+ version: "0.1.26",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "openai-create-moderation",
6
6
  name: "Create Moderation",
7
7
  description: "Classifies if text is potentially harmful. [See the documentation](https://platform.openai.com/docs/api-reference/moderations/create)",
8
- version: "0.0.11",
8
+ version: "0.0.12",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "openai-create-thread",
7
7
  name: "Create Thread (Assistants)",
8
8
  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)",
9
- version: "0.0.17",
9
+ version: "0.0.18",
10
10
  annotations: {
11
11
  destructiveHint: false,
12
12
  openWorldHint: true,
@@ -7,7 +7,7 @@ export default {
7
7
  key: "openai-create-transcription",
8
8
  name: "Create Transcription",
9
9
  description: "Transcribes audio into the input language. [See the documentation](https://platform.openai.com/docs/api-reference/audio/createTranscription)",
10
- version: "0.3.3",
10
+ version: "0.3.4",
11
11
  annotations: {
12
12
  destructiveHint: false,
13
13
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-create-vector-store",
5
5
  name: "Create Vector Store",
6
6
  description: "Create a vector store. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores/create)",
7
- version: "0.0.7",
7
+ version: "0.0.8",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-create-vector-store-file",
5
5
  name: "Create Vector Store File",
6
6
  description: "Create a vector store file. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores-files/createFile)",
7
- version: "0.0.7",
7
+ version: "0.0.8",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-delete-file",
5
5
  name: "Delete File",
6
6
  description: "Deletes a specified file from OpenAI. [See the documentation](https://platform.openai.com/docs/api-reference/files/delete)",
7
- version: "0.0.17",
7
+ version: "0.0.18",
8
8
  annotations: {
9
9
  destructiveHint: true,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-delete-vector-store",
5
5
  name: "Delete Vector Store",
6
6
  description: "Delete a vector store. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores/delete)",
7
- version: "0.0.7",
7
+ version: "0.0.8",
8
8
  annotations: {
9
9
  destructiveHint: true,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-delete-vector-store-file",
5
5
  name: "Delete Vector Store File",
6
6
  description: "Deletes a vector store file. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores-files/deleteFile)",
7
- version: "0.0.7",
7
+ version: "0.0.8",
8
8
  annotations: {
9
9
  destructiveHint: true,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-list-files",
5
5
  name: "List Files",
6
6
  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)",
7
- version: "0.0.17",
7
+ version: "0.0.18",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-list-messages",
5
5
  name: "List Messages (Assistants)",
6
6
  description: "Lists the messages for a given thread. [See the documentation](https://platform.openai.com/docs/api-reference/messages/listMessages)",
7
- version: "0.0.18",
7
+ version: "0.0.19",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-list-run-steps",
5
5
  name: "List Run Steps (Assistants)",
6
6
  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)",
7
- version: "0.0.17",
7
+ version: "0.0.18",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-list-runs",
5
5
  name: "List Runs (Assistants)",
6
6
  description: "Returns a list of runs belonging to a thread. [See the documentation](https://platform.openai.com/docs/api-reference/runs/list)",
7
- version: "0.0.18",
7
+ version: "0.0.19",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-list-vector-store-files",
5
5
  name: "List Vector Store Files",
6
6
  description: "Returns a list of vector store file. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores-files/listFiles)",
7
- version: "0.0.7",
7
+ version: "0.0.8",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-list-vector-stores",
5
5
  name: "List Vector Stores",
6
6
  description: "Returns a list of vector stores. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores/list)",
7
- version: "0.0.7",
7
+ version: "0.0.8",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "openai-modify-assistant",
7
7
  name: "Modify an Assistant",
8
8
  description: "Modifies an existing OpenAI assistant. [See the documentation](https://platform.openai.com/docs/api-reference/assistants/modifyAssistant)",
9
- version: "0.1.15",
9
+ version: "0.1.16",
10
10
  annotations: {
11
11
  destructiveHint: true,
12
12
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-retrieve-file",
5
5
  name: "Retrieve File",
6
6
  description: "Retrieves a specific file from OpenAI. [See the documentation](https://platform.openai.com/docs/api-reference/files/retrieve)",
7
- version: "0.0.17",
7
+ version: "0.0.18",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "openai-retrieve-file-content",
6
6
  name: "Retrieve File Content",
7
7
  description: "Retrieves the contents of the specified file. [See the documentation](https://platform.openai.com/docs/api-reference/files/retrieve-content)",
8
- version: "0.0.18",
8
+ version: "0.0.19",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-retrieve-run",
5
5
  name: "Retrieve Run (Assistants)",
6
6
  description: "Retrieves a specific run within a thread. [See the documentation](https://platform.openai.com/docs/api-reference/runs/getRun)",
7
- version: "0.0.17",
7
+ version: "0.0.18",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-retrieve-run-step",
5
5
  name: "Retrieve Run Step (Assistants)",
6
6
  description: "Retrieve a specific run step in a thread. [See the documentation](https://platform.openai.com/docs/api-reference/runs/getRunStep)",
7
- version: "0.0.17",
7
+ version: "0.0.18",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-retrieve-vector-store",
5
5
  name: "Retrieve Vector Store",
6
6
  description: "Retrieve a vector store. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores/retrieve)",
7
- version: "0.0.7",
7
+ version: "0.0.8",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "openai-retrieve-vector-store-file",
5
5
  name: "Retrieve Vector Store File",
6
6
  description: "Retrieve a vector store file. [See the documentation](https://platform.openai.com/docs/api-reference/vector-stores-files/getFile)",
7
- version: "0.0.7",
7
+ version: "0.0.8",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ import common from "../common/common.mjs";
4
4
  export default {
5
5
  ...common,
6
6
  name: "Create Completion (Send Prompt)",
7
- version: "0.1.21",
7
+ version: "0.1.22",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "openai-submit-tool-outputs-to-run",
6
6
  name: "Submit Tool Outputs to Run (Assistants)",
7
7
  description: "Submits tool outputs to a run that requires action. [See the documentation](https://platform.openai.com/docs/api-reference/runs/submitToolOutputs)",
8
- version: "0.0.17",
8
+ version: "0.0.18",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -4,7 +4,7 @@ import constants from "../../common/constants.mjs";
4
4
  export default {
5
5
  ...common,
6
6
  name: "Summarize Text",
7
- version: "0.1.10",
7
+ version: "0.1.11",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -9,7 +9,7 @@ const langOptions = lang.LANGUAGES.map((l) => ({
9
9
  export default {
10
10
  ...common,
11
11
  name: "Translate Text (Whisper)",
12
- version: "0.1.10",
12
+ version: "0.1.11",
13
13
  annotations: {
14
14
  destructiveHint: false,
15
15
  openWorldHint: true,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "openai-upload-file",
7
7
  name: "Upload File",
8
8
  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)",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  annotations: {
11
11
  destructiveHint: false,
12
12
  openWorldHint: true,
package/openai.app.mjs CHANGED
@@ -262,6 +262,7 @@ export default {
262
262
  type: "string",
263
263
  label: "File Path or URL",
264
264
  description: "The file to process. Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/myFile.txt`). See the [Assistants Tools guide](https://platform.openai.com/docs/assistants/tools) to learn more about the types of files supported. The Fine-tuning API only supports `.jsonl` files.",
265
+ format: "file-ref",
265
266
  },
266
267
  purpose: {
267
268
  type: "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/openai",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Pipedream OpenAI Components",
5
5
  "main": "openai.app.mjs",
6
6
  "keywords": [
@@ -14,7 +14,7 @@
14
14
  "access": "public"
15
15
  },
16
16
  "dependencies": {
17
- "@pipedream/platform": "^3.1.1",
17
+ "@pipedream/platform": "^3.2.5",
18
18
  "bottleneck": "^2.19.5",
19
19
  "file-type": "^21.0.0",
20
20
  "form-data": "^4.0.4",
@@ -6,7 +6,7 @@ export default {
6
6
  key: "openai-new-batch-completed",
7
7
  name: "New Batch Completed",
8
8
  description: "Emit new event when a new batch is completed in OpenAI. [See the documentation](https://platform.openai.com/docs/api-reference/batch/list)",
9
- version: "0.0.10",
9
+ version: "0.0.11",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  methods: {
@@ -8,7 +8,7 @@ export default {
8
8
  key: "openai-new-file-created",
9
9
  name: "New File Created",
10
10
  description: "Emit new event when a new file is created in OpenAI. [See the documentation](https://platform.openai.com/docs/api-reference/files/list)",
11
- version: "0.1.0",
11
+ version: "0.1.1",
12
12
  type: "source",
13
13
  dedupe: "unique",
14
14
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "openai-new-fine-tuning-job-created",
7
7
  name: "New Fine Tuning Job Created",
8
8
  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)",
9
- version: "0.0.15",
9
+ version: "0.0.16",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  methods: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "openai-new-run-state-changed",
7
7
  name: "New Run State Changed",
8
8
  description: "Emit new event every time a run changes its status. [See the documentation](https://platform.openai.com/docs/api-reference/runs/listRuns)",
9
- version: "0.0.11",
9
+ version: "0.0.12",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {