@keystrokehq/openai 0.1.0 → 0.1.3
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.
- package/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-upload-part.cjs +5 -5
- package/dist/actions/add-upload-part.cjs.map +1 -1
- package/dist/actions/add-upload-part.d.cts +28 -3
- package/dist/actions/add-upload-part.d.cts.map +1 -1
- package/dist/actions/add-upload-part.d.mts +28 -3
- package/dist/actions/add-upload-part.d.mts.map +1 -1
- package/dist/actions/add-upload-part.mjs +5 -5
- package/dist/actions/add-upload-part.mjs.map +1 -1
- package/dist/actions/cancel-batch.cjs +19 -19
- package/dist/actions/cancel-batch.cjs.map +1 -1
- package/dist/actions/cancel-batch.d.cts +56 -3
- package/dist/actions/cancel-batch.d.cts.map +1 -1
- package/dist/actions/cancel-batch.d.mts +56 -3
- package/dist/actions/cancel-batch.d.mts.map +1 -1
- package/dist/actions/cancel-batch.mjs +19 -19
- package/dist/actions/cancel-batch.mjs.map +1 -1
- package/dist/actions/cancel-eval-run.cjs +31 -31
- package/dist/actions/cancel-eval-run.cjs.map +1 -1
- package/dist/actions/cancel-eval-run.d.cts +58 -3
- package/dist/actions/cancel-eval-run.d.cts.map +1 -1
- package/dist/actions/cancel-eval-run.d.mts +58 -3
- package/dist/actions/cancel-eval-run.d.mts.map +1 -1
- package/dist/actions/cancel-eval-run.mjs +31 -31
- package/dist/actions/cancel-eval-run.mjs.map +1 -1
- package/dist/actions/cancel-response.cjs +14 -14
- package/dist/actions/cancel-response.cjs.map +1 -1
- package/dist/actions/cancel-response.d.cts +73 -3
- package/dist/actions/cancel-response.d.cts.map +1 -1
- package/dist/actions/cancel-response.d.mts +73 -3
- package/dist/actions/cancel-response.d.mts.map +1 -1
- package/dist/actions/cancel-response.mjs +14 -14
- package/dist/actions/cancel-response.mjs.map +1 -1
- package/dist/actions/cancel-run.cjs +21 -21
- package/dist/actions/cancel-run.cjs.map +1 -1
- package/dist/actions/cancel-run.d.cts +69 -3
- package/dist/actions/cancel-run.d.cts.map +1 -1
- package/dist/actions/cancel-run.d.mts +69 -3
- package/dist/actions/cancel-run.d.mts.map +1 -1
- package/dist/actions/cancel-run.mjs +21 -21
- package/dist/actions/cancel-run.mjs.map +1 -1
- package/dist/actions/cancel-upload.cjs +17 -17
- package/dist/actions/cancel-upload.cjs.map +1 -1
- package/dist/actions/cancel-upload.d.cts +32 -3
- package/dist/actions/cancel-upload.d.cts.map +1 -1
- package/dist/actions/cancel-upload.d.mts +32 -3
- package/dist/actions/cancel-upload.d.mts.map +1 -1
- package/dist/actions/cancel-upload.mjs +17 -17
- package/dist/actions/cancel-upload.mjs.map +1 -1
- package/dist/actions/compact-response.cjs +21 -21
- package/dist/actions/compact-response.cjs.map +1 -1
- package/dist/actions/compact-response.d.cts +61 -3
- package/dist/actions/compact-response.d.cts.map +1 -1
- package/dist/actions/compact-response.d.mts +61 -3
- package/dist/actions/compact-response.d.mts.map +1 -1
- package/dist/actions/compact-response.mjs +21 -21
- package/dist/actions/compact-response.mjs.map +1 -1
- package/dist/actions/create-audio-transcription.cjs +3 -3
- package/dist/actions/create-audio-transcription.cjs.map +1 -1
- package/dist/actions/create-audio-transcription.d.cts +64 -3
- package/dist/actions/create-audio-transcription.d.cts.map +1 -1
- package/dist/actions/create-audio-transcription.d.mts +64 -3
- package/dist/actions/create-audio-transcription.d.mts.map +1 -1
- package/dist/actions/create-audio-transcription.mjs +3 -3
- package/dist/actions/create-audio-transcription.mjs.map +1 -1
- package/dist/actions/create-audio-translation.cjs +1 -1
- package/dist/actions/create-audio-translation.cjs.map +1 -1
- package/dist/actions/create-audio-translation.d.cts +40 -3
- package/dist/actions/create-audio-translation.d.cts.map +1 -1
- package/dist/actions/create-audio-translation.d.mts +40 -3
- package/dist/actions/create-audio-translation.d.mts.map +1 -1
- package/dist/actions/create-audio-translation.mjs +1 -1
- package/dist/actions/create-audio-translation.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +21 -21
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +84 -3
- package/dist/actions/create-batch.d.cts.map +1 -1
- package/dist/actions/create-batch.d.mts +84 -3
- package/dist/actions/create-batch.d.mts.map +1 -1
- package/dist/actions/create-batch.mjs +21 -21
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-chat-completion.cjs +22 -22
- package/dist/actions/create-chat-completion.cjs.map +1 -1
- package/dist/actions/create-chat-completion.d.cts +186 -3
- package/dist/actions/create-chat-completion.d.cts.map +1 -1
- package/dist/actions/create-chat-completion.d.mts +186 -3
- package/dist/actions/create-chat-completion.d.mts.map +1 -1
- package/dist/actions/create-chat-completion.mjs +22 -22
- package/dist/actions/create-chat-completion.mjs.map +1 -1
- package/dist/actions/create-completion.cjs +18 -18
- package/dist/actions/create-completion.cjs.map +1 -1
- package/dist/actions/create-completion.d.cts +73 -3
- package/dist/actions/create-completion.d.cts.map +1 -1
- package/dist/actions/create-completion.d.mts +73 -3
- package/dist/actions/create-completion.d.mts.map +1 -1
- package/dist/actions/create-completion.mjs +18 -18
- package/dist/actions/create-completion.mjs.map +1 -1
- package/dist/actions/create-container-file.cjs +8 -8
- package/dist/actions/create-container-file.cjs.map +1 -1
- package/dist/actions/create-container-file.d.cts +19 -3
- package/dist/actions/create-container-file.d.cts.map +1 -1
- package/dist/actions/create-container-file.d.mts +19 -3
- package/dist/actions/create-container-file.d.mts.map +1 -1
- package/dist/actions/create-container-file.mjs +8 -8
- package/dist/actions/create-container-file.mjs.map +1 -1
- package/dist/actions/create-container.cjs +14 -14
- package/dist/actions/create-container.cjs.map +1 -1
- package/dist/actions/create-container.d.cts +85 -3
- package/dist/actions/create-container.d.cts.map +1 -1
- package/dist/actions/create-container.d.mts +85 -3
- package/dist/actions/create-container.d.mts.map +1 -1
- package/dist/actions/create-container.mjs +14 -14
- package/dist/actions/create-container.mjs.map +1 -1
- package/dist/actions/create-conversation-items.cjs +10 -10
- package/dist/actions/create-conversation-items.cjs.map +1 -1
- package/dist/actions/create-conversation-items.d.cts +67 -3
- package/dist/actions/create-conversation-items.d.cts.map +1 -1
- package/dist/actions/create-conversation-items.d.mts +67 -3
- package/dist/actions/create-conversation-items.d.mts.map +1 -1
- package/dist/actions/create-conversation-items.mjs +10 -10
- package/dist/actions/create-conversation-items.mjs.map +1 -1
- package/dist/actions/create-conversation.cjs +6 -6
- package/dist/actions/create-conversation.cjs.map +1 -1
- package/dist/actions/create-conversation.d.cts +28 -3
- package/dist/actions/create-conversation.d.cts.map +1 -1
- package/dist/actions/create-conversation.d.mts +28 -3
- package/dist/actions/create-conversation.d.mts.map +1 -1
- package/dist/actions/create-conversation.mjs +6 -6
- package/dist/actions/create-conversation.mjs.map +1 -1
- package/dist/actions/create-embeddings.cjs +9 -9
- package/dist/actions/create-embeddings.cjs.map +1 -1
- package/dist/actions/create-embeddings.d.cts +30 -3
- package/dist/actions/create-embeddings.d.cts.map +1 -1
- package/dist/actions/create-embeddings.d.mts +30 -3
- package/dist/actions/create-embeddings.d.mts.map +1 -1
- package/dist/actions/create-embeddings.mjs +9 -9
- package/dist/actions/create-embeddings.mjs.map +1 -1
- package/dist/actions/create-eval-run.cjs +45 -45
- package/dist/actions/create-eval-run.cjs.map +1 -1
- package/dist/actions/create-eval-run.d.cts +155 -3
- package/dist/actions/create-eval-run.d.cts.map +1 -1
- package/dist/actions/create-eval-run.d.mts +155 -3
- package/dist/actions/create-eval-run.d.mts.map +1 -1
- package/dist/actions/create-eval-run.mjs +45 -45
- package/dist/actions/create-eval-run.mjs.map +1 -1
- package/dist/actions/create-eval.cjs +14 -14
- package/dist/actions/create-eval.cjs.map +1 -1
- package/dist/actions/create-eval.d.cts +94 -3
- package/dist/actions/create-eval.d.cts.map +1 -1
- package/dist/actions/create-eval.d.mts +94 -3
- package/dist/actions/create-eval.d.mts.map +1 -1
- package/dist/actions/create-eval.mjs +14 -14
- package/dist/actions/create-eval.mjs.map +1 -1
- package/dist/actions/create-fine-tuning-job.cjs +13 -13
- package/dist/actions/create-fine-tuning-job.cjs.map +1 -1
- package/dist/actions/create-fine-tuning-job.d.cts +67 -3
- package/dist/actions/create-fine-tuning-job.d.cts.map +1 -1
- package/dist/actions/create-fine-tuning-job.d.mts +67 -3
- package/dist/actions/create-fine-tuning-job.d.mts.map +1 -1
- package/dist/actions/create-fine-tuning-job.mjs +13 -13
- package/dist/actions/create-fine-tuning-job.mjs.map +1 -1
- package/dist/actions/create-image-edit.cjs +6 -6
- package/dist/actions/create-image-edit.cjs.map +1 -1
- package/dist/actions/create-image-edit.d.cts +82 -3
- package/dist/actions/create-image-edit.d.cts.map +1 -1
- package/dist/actions/create-image-edit.d.mts +82 -3
- package/dist/actions/create-image-edit.d.mts.map +1 -1
- package/dist/actions/create-image-edit.mjs +6 -6
- package/dist/actions/create-image-edit.mjs.map +1 -1
- package/dist/actions/create-image-variation.cjs +3 -3
- package/dist/actions/create-image-variation.cjs.map +1 -1
- package/dist/actions/create-image-variation.d.cts +39 -3
- package/dist/actions/create-image-variation.d.cts.map +1 -1
- package/dist/actions/create-image-variation.d.mts +39 -3
- package/dist/actions/create-image-variation.d.mts.map +1 -1
- package/dist/actions/create-image-variation.mjs +3 -3
- package/dist/actions/create-image-variation.mjs.map +1 -1
- package/dist/actions/create-image.cjs +10 -10
- package/dist/actions/create-image.cjs.map +1 -1
- package/dist/actions/create-image.d.cts +70 -3
- package/dist/actions/create-image.d.cts.map +1 -1
- package/dist/actions/create-image.d.mts +70 -3
- package/dist/actions/create-image.d.mts.map +1 -1
- package/dist/actions/create-image.mjs +10 -10
- package/dist/actions/create-image.mjs.map +1 -1
- package/dist/actions/create-message.cjs +24 -24
- package/dist/actions/create-message.cjs.map +1 -1
- package/dist/actions/create-message.d.cts +101 -3
- package/dist/actions/create-message.d.cts.map +1 -1
- package/dist/actions/create-message.d.mts +101 -3
- package/dist/actions/create-message.d.mts.map +1 -1
- package/dist/actions/create-message.mjs +24 -24
- package/dist/actions/create-message.mjs.map +1 -1
- package/dist/actions/create-moderation.cjs +32 -32
- package/dist/actions/create-moderation.cjs.map +1 -1
- package/dist/actions/create-moderation.d.cts +69 -3
- package/dist/actions/create-moderation.d.cts.map +1 -1
- package/dist/actions/create-moderation.d.mts +69 -3
- package/dist/actions/create-moderation.d.mts.map +1 -1
- package/dist/actions/create-moderation.mjs +32 -32
- package/dist/actions/create-moderation.mjs.map +1 -1
- package/dist/actions/create-realtime-call.cjs +2 -2
- package/dist/actions/create-realtime-call.cjs.map +1 -1
- package/dist/actions/create-realtime-call.d.cts +12 -3
- package/dist/actions/create-realtime-call.d.cts.map +1 -1
- package/dist/actions/create-realtime-call.d.mts +12 -3
- package/dist/actions/create-realtime-call.d.mts.map +1 -1
- package/dist/actions/create-realtime-call.mjs +2 -2
- package/dist/actions/create-realtime-call.mjs.map +1 -1
- package/dist/actions/create-realtime-client-secret.cjs +5 -5
- package/dist/actions/create-realtime-client-secret.cjs.map +1 -1
- package/dist/actions/create-realtime-client-secret.d.cts +55 -3
- package/dist/actions/create-realtime-client-secret.d.cts.map +1 -1
- package/dist/actions/create-realtime-client-secret.d.mts +55 -3
- package/dist/actions/create-realtime-client-secret.d.mts.map +1 -1
- package/dist/actions/create-realtime-client-secret.mjs +5 -5
- package/dist/actions/create-realtime-client-secret.mjs.map +1 -1
- package/dist/actions/create-realtime-session.cjs +12 -12
- package/dist/actions/create-realtime-session.cjs.map +1 -1
- package/dist/actions/create-realtime-session.d.cts +130 -3
- package/dist/actions/create-realtime-session.d.cts.map +1 -1
- package/dist/actions/create-realtime-session.d.mts +130 -3
- package/dist/actions/create-realtime-session.d.mts.map +1 -1
- package/dist/actions/create-realtime-session.mjs +12 -12
- package/dist/actions/create-realtime-session.mjs.map +1 -1
- package/dist/actions/create-realtime-transcription-session.cjs +6 -6
- package/dist/actions/create-realtime-transcription-session.cjs.map +1 -1
- package/dist/actions/create-realtime-transcription-session.d.cts +70 -3
- package/dist/actions/create-realtime-transcription-session.d.cts.map +1 -1
- package/dist/actions/create-realtime-transcription-session.d.mts +70 -3
- package/dist/actions/create-realtime-transcription-session.d.mts.map +1 -1
- package/dist/actions/create-realtime-transcription-session.mjs +6 -6
- package/dist/actions/create-realtime-transcription-session.mjs.map +1 -1
- package/dist/actions/create-response.cjs +24 -24
- package/dist/actions/create-response.cjs.map +1 -1
- package/dist/actions/create-response.d.cts +161 -3
- package/dist/actions/create-response.d.cts.map +1 -1
- package/dist/actions/create-response.d.mts +161 -3
- package/dist/actions/create-response.d.mts.map +1 -1
- package/dist/actions/create-response.mjs +24 -24
- package/dist/actions/create-response.mjs.map +1 -1
- package/dist/actions/create-run.cjs +46 -46
- package/dist/actions/create-run.cjs.map +1 -1
- package/dist/actions/create-run.d.cts +206 -3
- package/dist/actions/create-run.d.cts.map +1 -1
- package/dist/actions/create-run.d.mts +206 -3
- package/dist/actions/create-run.d.mts.map +1 -1
- package/dist/actions/create-run.mjs +46 -46
- package/dist/actions/create-run.mjs.map +1 -1
- package/dist/actions/create-skill.cjs +10 -10
- package/dist/actions/create-skill.cjs.map +1 -1
- package/dist/actions/create-skill.d.cts +33 -3
- package/dist/actions/create-skill.d.cts.map +1 -1
- package/dist/actions/create-skill.d.mts +33 -3
- package/dist/actions/create-skill.d.mts.map +1 -1
- package/dist/actions/create-skill.mjs +10 -10
- package/dist/actions/create-skill.mjs.map +1 -1
- package/dist/actions/create-speech.cjs +5 -5
- package/dist/actions/create-speech.cjs.map +1 -1
- package/dist/actions/create-speech.d.cts +46 -3
- package/dist/actions/create-speech.d.cts.map +1 -1
- package/dist/actions/create-speech.d.mts +46 -3
- package/dist/actions/create-speech.d.mts.map +1 -1
- package/dist/actions/create-speech.mjs +5 -5
- package/dist/actions/create-speech.mjs.map +1 -1
- package/dist/actions/create-thread-and-run.cjs +53 -53
- package/dist/actions/create-thread-and-run.cjs.map +1 -1
- package/dist/actions/create-thread-and-run.d.cts +263 -3
- package/dist/actions/create-thread-and-run.d.cts.map +1 -1
- package/dist/actions/create-thread-and-run.d.mts +263 -3
- package/dist/actions/create-thread-and-run.d.mts.map +1 -1
- package/dist/actions/create-thread-and-run.mjs +53 -53
- package/dist/actions/create-thread-and-run.mjs.map +1 -1
- package/dist/actions/create-thread.cjs +10 -10
- package/dist/actions/create-thread.cjs.map +1 -1
- package/dist/actions/create-thread.d.cts +31 -3
- package/dist/actions/create-thread.d.cts.map +1 -1
- package/dist/actions/create-thread.d.mts +31 -3
- package/dist/actions/create-thread.d.mts.map +1 -1
- package/dist/actions/create-thread.mjs +10 -10
- package/dist/actions/create-thread.mjs.map +1 -1
- package/dist/actions/create-upload.cjs +16 -16
- package/dist/actions/create-upload.cjs.map +1 -1
- package/dist/actions/create-upload.d.cts +53 -3
- package/dist/actions/create-upload.d.cts.map +1 -1
- package/dist/actions/create-upload.d.mts +53 -3
- package/dist/actions/create-upload.d.mts.map +1 -1
- package/dist/actions/create-upload.mjs +16 -16
- package/dist/actions/create-upload.mjs.map +1 -1
- package/dist/actions/create-vector-store-file-batch.cjs +20 -20
- package/dist/actions/create-vector-store-file-batch.cjs.map +1 -1
- package/dist/actions/create-vector-store-file-batch.d.cts +92 -3
- package/dist/actions/create-vector-store-file-batch.d.cts.map +1 -1
- package/dist/actions/create-vector-store-file-batch.d.mts +92 -3
- package/dist/actions/create-vector-store-file-batch.d.mts.map +1 -1
- package/dist/actions/create-vector-store-file-batch.mjs +20 -20
- package/dist/actions/create-vector-store-file-batch.mjs.map +1 -1
- package/dist/actions/create-vector-store-file.cjs +15 -15
- package/dist/actions/create-vector-store-file.cjs.map +1 -1
- package/dist/actions/create-vector-store-file.d.cts +58 -3
- package/dist/actions/create-vector-store-file.d.cts.map +1 -1
- package/dist/actions/create-vector-store-file.d.mts +58 -3
- package/dist/actions/create-vector-store-file.d.mts.map +1 -1
- package/dist/actions/create-vector-store-file.mjs +15 -15
- package/dist/actions/create-vector-store-file.mjs.map +1 -1
- package/dist/actions/create-vector-store.cjs +19 -19
- package/dist/actions/create-vector-store.cjs.map +1 -1
- package/dist/actions/create-vector-store.d.cts +71 -3
- package/dist/actions/create-vector-store.d.cts.map +1 -1
- package/dist/actions/create-vector-store.d.mts +71 -3
- package/dist/actions/create-vector-store.d.mts.map +1 -1
- package/dist/actions/create-vector-store.mjs +19 -19
- package/dist/actions/create-vector-store.mjs.map +1 -1
- package/dist/actions/create-video-remix.cjs +8 -8
- package/dist/actions/create-video-remix.cjs.map +1 -1
- package/dist/actions/create-video-remix.d.cts +40 -3
- package/dist/actions/create-video-remix.d.cts.map +1 -1
- package/dist/actions/create-video-remix.d.mts +40 -3
- package/dist/actions/create-video-remix.d.mts.map +1 -1
- package/dist/actions/create-video-remix.mjs +8 -8
- package/dist/actions/create-video-remix.mjs.map +1 -1
- package/dist/actions/create-video.cjs +12 -12
- package/dist/actions/create-video.cjs.map +1 -1
- package/dist/actions/create-video.d.cts +39 -3
- package/dist/actions/create-video.d.cts.map +1 -1
- package/dist/actions/create-video.d.mts +39 -3
- package/dist/actions/create-video.d.mts.map +1 -1
- package/dist/actions/create-video.mjs +12 -12
- package/dist/actions/create-video.mjs.map +1 -1
- package/dist/actions/delete-assistant.cjs +1 -1
- package/dist/actions/delete-assistant.cjs.map +1 -1
- package/dist/actions/delete-assistant.d.cts +11 -3
- package/dist/actions/delete-assistant.d.cts.map +1 -1
- package/dist/actions/delete-assistant.d.mts +11 -3
- package/dist/actions/delete-assistant.d.mts.map +1 -1
- package/dist/actions/delete-assistant.mjs +1 -1
- package/dist/actions/delete-assistant.mjs.map +1 -1
- package/dist/actions/delete-chat-completion.cjs +4 -4
- package/dist/actions/delete-chat-completion.cjs.map +1 -1
- package/dist/actions/delete-chat-completion.d.cts +11 -3
- package/dist/actions/delete-chat-completion.d.cts.map +1 -1
- package/dist/actions/delete-chat-completion.d.mts +11 -3
- package/dist/actions/delete-chat-completion.d.mts.map +1 -1
- package/dist/actions/delete-chat-completion.mjs +4 -4
- package/dist/actions/delete-chat-completion.mjs.map +1 -1
- package/dist/actions/delete-container-file.cjs +1 -1
- package/dist/actions/delete-container-file.cjs.map +1 -1
- package/dist/actions/delete-container-file.d.cts +13 -3
- package/dist/actions/delete-container-file.d.cts.map +1 -1
- package/dist/actions/delete-container-file.d.mts +13 -3
- package/dist/actions/delete-container-file.d.mts.map +1 -1
- package/dist/actions/delete-container-file.mjs +1 -1
- package/dist/actions/delete-container-file.mjs.map +1 -1
- package/dist/actions/delete-container.cjs +4 -4
- package/dist/actions/delete-container.cjs.map +1 -1
- package/dist/actions/delete-container.d.cts +11 -3
- package/dist/actions/delete-container.d.cts.map +1 -1
- package/dist/actions/delete-container.d.mts +11 -3
- package/dist/actions/delete-container.d.mts.map +1 -1
- package/dist/actions/delete-container.mjs +4 -4
- package/dist/actions/delete-container.mjs.map +1 -1
- package/dist/actions/delete-conversation-item.cjs +1 -1
- package/dist/actions/delete-conversation-item.cjs.map +1 -1
- package/dist/actions/delete-conversation-item.d.cts +14 -3
- package/dist/actions/delete-conversation-item.d.cts.map +1 -1
- package/dist/actions/delete-conversation-item.d.mts +14 -3
- package/dist/actions/delete-conversation-item.d.mts.map +1 -1
- package/dist/actions/delete-conversation-item.mjs +1 -1
- package/dist/actions/delete-conversation-item.mjs.map +1 -1
- package/dist/actions/delete-conversation.cjs +4 -4
- package/dist/actions/delete-conversation.cjs.map +1 -1
- package/dist/actions/delete-conversation.d.cts +11 -3
- package/dist/actions/delete-conversation.d.cts.map +1 -1
- package/dist/actions/delete-conversation.d.mts +11 -3
- package/dist/actions/delete-conversation.d.mts.map +1 -1
- package/dist/actions/delete-conversation.mjs +4 -4
- package/dist/actions/delete-conversation.mjs.map +1 -1
- package/dist/actions/delete-eval-run.cjs +4 -4
- package/dist/actions/delete-eval-run.cjs.map +1 -1
- package/dist/actions/delete-eval-run.d.cts +13 -3
- package/dist/actions/delete-eval-run.d.cts.map +1 -1
- package/dist/actions/delete-eval-run.d.mts +13 -3
- package/dist/actions/delete-eval-run.d.mts.map +1 -1
- package/dist/actions/delete-eval-run.mjs +4 -4
- package/dist/actions/delete-eval-run.mjs.map +1 -1
- package/dist/actions/delete-eval.cjs +4 -4
- package/dist/actions/delete-eval.cjs.map +1 -1
- package/dist/actions/delete-eval.d.cts +11 -3
- package/dist/actions/delete-eval.d.cts.map +1 -1
- package/dist/actions/delete-eval.d.mts +11 -3
- package/dist/actions/delete-eval.d.mts.map +1 -1
- package/dist/actions/delete-eval.mjs +4 -4
- package/dist/actions/delete-eval.mjs.map +1 -1
- package/dist/actions/delete-file.cjs +4 -4
- package/dist/actions/delete-file.cjs.map +1 -1
- package/dist/actions/delete-file.d.cts +11 -3
- package/dist/actions/delete-file.d.cts.map +1 -1
- package/dist/actions/delete-file.d.mts +11 -3
- package/dist/actions/delete-file.d.mts.map +1 -1
- package/dist/actions/delete-file.mjs +4 -4
- package/dist/actions/delete-file.mjs.map +1 -1
- package/dist/actions/delete-message.cjs +4 -4
- package/dist/actions/delete-message.cjs.map +1 -1
- package/dist/actions/delete-message.d.cts +13 -3
- package/dist/actions/delete-message.d.cts.map +1 -1
- package/dist/actions/delete-message.d.mts +13 -3
- package/dist/actions/delete-message.d.mts.map +1 -1
- package/dist/actions/delete-message.mjs +4 -4
- package/dist/actions/delete-message.mjs.map +1 -1
- package/dist/actions/delete-response.cjs +4 -4
- package/dist/actions/delete-response.cjs.map +1 -1
- package/dist/actions/delete-response.d.cts +11 -3
- package/dist/actions/delete-response.d.cts.map +1 -1
- package/dist/actions/delete-response.d.mts +11 -3
- package/dist/actions/delete-response.d.mts.map +1 -1
- package/dist/actions/delete-response.mjs +4 -4
- package/dist/actions/delete-response.mjs.map +1 -1
- package/dist/actions/delete-skill.cjs +4 -4
- package/dist/actions/delete-skill.cjs.map +1 -1
- package/dist/actions/delete-skill.d.cts +11 -3
- package/dist/actions/delete-skill.d.cts.map +1 -1
- package/dist/actions/delete-skill.d.mts +11 -3
- package/dist/actions/delete-skill.d.mts.map +1 -1
- package/dist/actions/delete-skill.mjs +4 -4
- package/dist/actions/delete-skill.mjs.map +1 -1
- package/dist/actions/delete-thread.cjs +4 -4
- package/dist/actions/delete-thread.cjs.map +1 -1
- package/dist/actions/delete-thread.d.cts +11 -3
- package/dist/actions/delete-thread.d.cts.map +1 -1
- package/dist/actions/delete-thread.d.mts +11 -3
- package/dist/actions/delete-thread.d.mts.map +1 -1
- package/dist/actions/delete-thread.mjs +4 -4
- package/dist/actions/delete-thread.mjs.map +1 -1
- package/dist/actions/delete-vector-store-file.cjs +1 -1
- package/dist/actions/delete-vector-store-file.cjs.map +1 -1
- package/dist/actions/delete-vector-store-file.d.cts +13 -3
- package/dist/actions/delete-vector-store-file.d.cts.map +1 -1
- package/dist/actions/delete-vector-store-file.d.mts +13 -3
- package/dist/actions/delete-vector-store-file.d.mts.map +1 -1
- package/dist/actions/delete-vector-store-file.mjs +1 -1
- package/dist/actions/delete-vector-store-file.mjs.map +1 -1
- package/dist/actions/delete-vector-store.cjs +4 -4
- package/dist/actions/delete-vector-store.cjs.map +1 -1
- package/dist/actions/delete-vector-store.d.cts +11 -3
- package/dist/actions/delete-vector-store.d.cts.map +1 -1
- package/dist/actions/delete-vector-store.d.mts +11 -3
- package/dist/actions/delete-vector-store.d.mts.map +1 -1
- package/dist/actions/delete-vector-store.mjs +4 -4
- package/dist/actions/delete-vector-store.mjs.map +1 -1
- package/dist/actions/delete-video.cjs +4 -4
- package/dist/actions/delete-video.cjs.map +1 -1
- package/dist/actions/delete-video.d.cts +11 -3
- package/dist/actions/delete-video.d.cts.map +1 -1
- package/dist/actions/delete-video.d.mts +11 -3
- package/dist/actions/delete-video.d.mts.map +1 -1
- package/dist/actions/delete-video.mjs +4 -4
- package/dist/actions/delete-video.mjs.map +1 -1
- package/dist/actions/download-file.cjs +5 -5
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +13 -3
- package/dist/actions/download-file.d.cts.map +1 -1
- package/dist/actions/download-file.d.mts +13 -3
- package/dist/actions/download-file.d.mts.map +1 -1
- package/dist/actions/download-file.mjs +5 -5
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/download-video.cjs +7 -7
- package/dist/actions/download-video.cjs.map +1 -1
- package/dist/actions/download-video.d.cts +22 -3
- package/dist/actions/download-video.d.cts.map +1 -1
- package/dist/actions/download-video.d.mts +22 -3
- package/dist/actions/download-video.d.mts.map +1 -1
- package/dist/actions/download-video.mjs +7 -7
- package/dist/actions/download-video.mjs.map +1 -1
- package/dist/actions/get-chat-completion-messages.cjs +8 -8
- package/dist/actions/get-chat-completion-messages.cjs.map +1 -1
- package/dist/actions/get-chat-completion-messages.d.cts +32 -3
- package/dist/actions/get-chat-completion-messages.d.cts.map +1 -1
- package/dist/actions/get-chat-completion-messages.d.mts +32 -3
- package/dist/actions/get-chat-completion-messages.d.mts.map +1 -1
- package/dist/actions/get-chat-completion-messages.mjs +8 -8
- package/dist/actions/get-chat-completion-messages.mjs.map +1 -1
- package/dist/actions/get-chat-completion.cjs +17 -17
- package/dist/actions/get-chat-completion.cjs.map +1 -1
- package/dist/actions/get-chat-completion.d.cts +44 -3
- package/dist/actions/get-chat-completion.d.cts.map +1 -1
- package/dist/actions/get-chat-completion.d.mts +44 -3
- package/dist/actions/get-chat-completion.d.mts.map +1 -1
- package/dist/actions/get-chat-completion.mjs +17 -17
- package/dist/actions/get-chat-completion.mjs.map +1 -1
- package/dist/actions/get-chatkit-thread.cjs +10 -10
- package/dist/actions/get-chatkit-thread.cjs.map +1 -1
- package/dist/actions/get-chatkit-thread.d.cts +22 -3
- package/dist/actions/get-chatkit-thread.d.cts.map +1 -1
- package/dist/actions/get-chatkit-thread.d.mts +22 -3
- package/dist/actions/get-chatkit-thread.d.mts.map +1 -1
- package/dist/actions/get-chatkit-thread.mjs +10 -10
- package/dist/actions/get-chatkit-thread.mjs.map +1 -1
- package/dist/actions/get-conversation-item.cjs +3 -3
- package/dist/actions/get-conversation-item.cjs.map +1 -1
- package/dist/actions/get-conversation-item.d.cts +41 -3
- package/dist/actions/get-conversation-item.d.cts.map +1 -1
- package/dist/actions/get-conversation-item.d.mts +41 -3
- package/dist/actions/get-conversation-item.d.mts.map +1 -1
- package/dist/actions/get-conversation-item.mjs +3 -3
- package/dist/actions/get-conversation-item.mjs.map +1 -1
- package/dist/actions/get-eval-run-output-item.cjs +21 -21
- package/dist/actions/get-eval-run-output-item.cjs.map +1 -1
- package/dist/actions/get-eval-run-output-item.d.cts +47 -3
- package/dist/actions/get-eval-run-output-item.d.cts.map +1 -1
- package/dist/actions/get-eval-run-output-item.d.mts +47 -3
- package/dist/actions/get-eval-run-output-item.d.mts.map +1 -1
- package/dist/actions/get-eval-run-output-item.mjs +21 -21
- package/dist/actions/get-eval-run-output-item.mjs.map +1 -1
- package/dist/actions/get-eval-run-output-items.cjs +25 -25
- package/dist/actions/get-eval-run-output-items.cjs.map +1 -1
- package/dist/actions/get-eval-run-output-items.d.cts +68 -3
- package/dist/actions/get-eval-run-output-items.d.cts.map +1 -1
- package/dist/actions/get-eval-run-output-items.d.mts +68 -3
- package/dist/actions/get-eval-run-output-items.d.mts.map +1 -1
- package/dist/actions/get-eval-run-output-items.mjs +25 -25
- package/dist/actions/get-eval-run-output-items.mjs.map +1 -1
- package/dist/actions/get-eval-run.cjs +36 -36
- package/dist/actions/get-eval-run.cjs.map +1 -1
- package/dist/actions/get-eval-run.d.cts +76 -3
- package/dist/actions/get-eval-run.d.cts.map +1 -1
- package/dist/actions/get-eval-run.d.mts +76 -3
- package/dist/actions/get-eval-run.d.mts.map +1 -1
- package/dist/actions/get-eval-run.mjs +36 -36
- package/dist/actions/get-eval-run.mjs.map +1 -1
- package/dist/actions/get-eval-runs.cjs +29 -29
- package/dist/actions/get-eval-runs.cjs.map +1 -1
- package/dist/actions/get-eval-runs.d.cts +64 -3
- package/dist/actions/get-eval-runs.d.cts.map +1 -1
- package/dist/actions/get-eval-runs.d.mts +64 -3
- package/dist/actions/get-eval-runs.d.mts.map +1 -1
- package/dist/actions/get-eval-runs.mjs +29 -29
- package/dist/actions/get-eval-runs.mjs.map +1 -1
- package/dist/actions/get-eval.cjs +5 -5
- package/dist/actions/get-eval.cjs.map +1 -1
- package/dist/actions/get-eval.d.cts +15 -3
- package/dist/actions/get-eval.d.cts.map +1 -1
- package/dist/actions/get-eval.d.mts +15 -3
- package/dist/actions/get-eval.d.mts.map +1 -1
- package/dist/actions/get-eval.mjs +5 -5
- package/dist/actions/get-eval.mjs.map +1 -1
- package/dist/actions/get-input-token-counts.cjs +3 -3
- package/dist/actions/get-input-token-counts.cjs.map +1 -1
- package/dist/actions/get-input-token-counts.d.cts +47 -3
- package/dist/actions/get-input-token-counts.d.cts.map +1 -1
- package/dist/actions/get-input-token-counts.d.mts +47 -3
- package/dist/actions/get-input-token-counts.d.mts.map +1 -1
- package/dist/actions/get-input-token-counts.mjs +3 -3
- package/dist/actions/get-input-token-counts.mjs.map +1 -1
- package/dist/actions/get-message.cjs +19 -19
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +64 -3
- package/dist/actions/get-message.d.cts.map +1 -1
- package/dist/actions/get-message.d.mts +64 -3
- package/dist/actions/get-message.d.mts.map +1 -1
- package/dist/actions/get-message.mjs +19 -19
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/get-response.cjs +19 -19
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +77 -3
- package/dist/actions/get-response.d.cts.map +1 -1
- package/dist/actions/get-response.d.mts +77 -3
- package/dist/actions/get-response.d.mts.map +1 -1
- package/dist/actions/get-response.mjs +19 -19
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/get-run-step.cjs +43 -43
- package/dist/actions/get-run-step.cjs.map +1 -1
- package/dist/actions/get-run-step.d.cts +91 -3
- package/dist/actions/get-run-step.d.cts.map +1 -1
- package/dist/actions/get-run-step.d.mts +91 -3
- package/dist/actions/get-run-step.d.mts.map +1 -1
- package/dist/actions/get-run-step.mjs +43 -43
- package/dist/actions/get-run-step.mjs.map +1 -1
- package/dist/actions/get-vector-store-file-batch.cjs +11 -11
- package/dist/actions/get-vector-store-file-batch.cjs.map +1 -1
- package/dist/actions/get-vector-store-file-batch.d.cts +27 -3
- package/dist/actions/get-vector-store-file-batch.d.cts.map +1 -1
- package/dist/actions/get-vector-store-file-batch.d.mts +27 -3
- package/dist/actions/get-vector-store-file-batch.d.mts.map +1 -1
- package/dist/actions/get-vector-store-file-batch.mjs +11 -11
- package/dist/actions/get-vector-store-file-batch.mjs.map +1 -1
- package/dist/actions/get-vector-store-file.cjs +12 -12
- package/dist/actions/get-vector-store-file.cjs.map +1 -1
- package/dist/actions/get-vector-store-file.d.cts +32 -3
- package/dist/actions/get-vector-store-file.d.cts.map +1 -1
- package/dist/actions/get-vector-store-file.d.mts +32 -3
- package/dist/actions/get-vector-store-file.d.mts.map +1 -1
- package/dist/actions/get-vector-store-file.mjs +12 -12
- package/dist/actions/get-vector-store-file.mjs.map +1 -1
- package/dist/actions/get-vector-store.cjs +15 -15
- package/dist/actions/get-vector-store.cjs.map +1 -1
- package/dist/actions/get-vector-store.d.cts +34 -3
- package/dist/actions/get-vector-store.d.cts.map +1 -1
- package/dist/actions/get-vector-store.d.mts +34 -3
- package/dist/actions/get-vector-store.d.mts.map +1 -1
- package/dist/actions/get-vector-store.mjs +15 -15
- package/dist/actions/get-vector-store.mjs.map +1 -1
- package/dist/actions/get-video.cjs +9 -9
- package/dist/actions/get-video.cjs.map +1 -1
- package/dist/actions/get-video.d.cts +38 -3
- package/dist/actions/get-video.d.cts.map +1 -1
- package/dist/actions/get-video.d.mts +38 -3
- package/dist/actions/get-video.d.mts.map +1 -1
- package/dist/actions/get-video.mjs +9 -9
- package/dist/actions/get-video.mjs.map +1 -1
- package/dist/actions/list-assistants.cjs +28 -28
- package/dist/actions/list-assistants.cjs.map +1 -1
- package/dist/actions/list-assistants.d.cts +77 -3
- package/dist/actions/list-assistants.d.cts.map +1 -1
- package/dist/actions/list-assistants.d.mts +77 -3
- package/dist/actions/list-assistants.d.mts.map +1 -1
- package/dist/actions/list-assistants.mjs +28 -28
- package/dist/actions/list-assistants.mjs.map +1 -1
- package/dist/actions/list-batches.cjs +23 -23
- package/dist/actions/list-batches.cjs.map +1 -1
- package/dist/actions/list-batches.d.cts +64 -3
- package/dist/actions/list-batches.d.cts.map +1 -1
- package/dist/actions/list-batches.d.mts +64 -3
- package/dist/actions/list-batches.d.mts.map +1 -1
- package/dist/actions/list-batches.mjs +23 -23
- package/dist/actions/list-batches.mjs.map +1 -1
- package/dist/actions/list-chat-completions.cjs +14 -14
- package/dist/actions/list-chat-completions.cjs.map +1 -1
- package/dist/actions/list-chat-completions.d.cts +44 -3
- package/dist/actions/list-chat-completions.d.cts.map +1 -1
- package/dist/actions/list-chat-completions.d.mts +44 -3
- package/dist/actions/list-chat-completions.d.mts.map +1 -1
- package/dist/actions/list-chat-completions.mjs +14 -14
- package/dist/actions/list-chat-completions.mjs.map +1 -1
- package/dist/actions/list-chatkit-thread-items.cjs +9 -9
- package/dist/actions/list-chatkit-thread-items.cjs.map +1 -1
- package/dist/actions/list-chatkit-thread-items.d.cts +43 -3
- package/dist/actions/list-chatkit-thread-items.d.cts.map +1 -1
- package/dist/actions/list-chatkit-thread-items.d.mts +43 -3
- package/dist/actions/list-chatkit-thread-items.d.mts.map +1 -1
- package/dist/actions/list-chatkit-thread-items.mjs +9 -9
- package/dist/actions/list-chatkit-thread-items.mjs.map +1 -1
- package/dist/actions/list-container-files.cjs +11 -11
- package/dist/actions/list-container-files.cjs.map +1 -1
- package/dist/actions/list-container-files.d.cts +30 -3
- package/dist/actions/list-container-files.d.cts.map +1 -1
- package/dist/actions/list-container-files.d.mts +30 -3
- package/dist/actions/list-container-files.d.mts.map +1 -1
- package/dist/actions/list-container-files.mjs +11 -11
- package/dist/actions/list-container-files.mjs.map +1 -1
- package/dist/actions/list-containers.cjs +11 -11
- package/dist/actions/list-containers.cjs.map +1 -1
- package/dist/actions/list-containers.d.cts +38 -3
- package/dist/actions/list-containers.d.cts.map +1 -1
- package/dist/actions/list-containers.d.mts +38 -3
- package/dist/actions/list-containers.d.mts.map +1 -1
- package/dist/actions/list-containers.mjs +11 -11
- package/dist/actions/list-containers.mjs.map +1 -1
- package/dist/actions/list-conversation-items.cjs +6 -6
- package/dist/actions/list-conversation-items.cjs.map +1 -1
- package/dist/actions/list-conversation-items.d.cts +54 -3
- package/dist/actions/list-conversation-items.d.cts.map +1 -1
- package/dist/actions/list-conversation-items.d.mts +54 -3
- package/dist/actions/list-conversation-items.d.mts.map +1 -1
- package/dist/actions/list-conversation-items.mjs +6 -6
- package/dist/actions/list-conversation-items.mjs.map +1 -1
- package/dist/actions/list-engines.cjs +8 -8
- package/dist/actions/list-engines.cjs.map +1 -1
- package/dist/actions/list-engines.d.cts +12 -3
- package/dist/actions/list-engines.d.cts.map +1 -1
- package/dist/actions/list-engines.d.mts +12 -3
- package/dist/actions/list-engines.d.mts.map +1 -1
- package/dist/actions/list-engines.mjs +8 -8
- package/dist/actions/list-engines.mjs.map +1 -1
- package/dist/actions/list-evals.cjs +50 -50
- package/dist/actions/list-evals.cjs.map +1 -1
- package/dist/actions/list-evals.d.cts +138 -3
- package/dist/actions/list-evals.d.cts.map +1 -1
- package/dist/actions/list-evals.d.mts +138 -3
- package/dist/actions/list-evals.d.mts.map +1 -1
- package/dist/actions/list-evals.mjs +50 -50
- package/dist/actions/list-evals.mjs.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.cjs +15 -15
- package/dist/actions/list-files-in-vector-store-batch.cjs.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.d.cts +56 -3
- package/dist/actions/list-files-in-vector-store-batch.d.cts.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.d.mts +56 -3
- package/dist/actions/list-files-in-vector-store-batch.d.mts.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.mjs +15 -15
- package/dist/actions/list-files-in-vector-store-batch.mjs.map +1 -1
- package/dist/actions/list-files.cjs +10 -10
- package/dist/actions/list-files.cjs.map +1 -1
- package/dist/actions/list-files.d.cts +27 -3
- package/dist/actions/list-files.d.cts.map +1 -1
- package/dist/actions/list-files.d.mts +27 -3
- package/dist/actions/list-files.d.mts.map +1 -1
- package/dist/actions/list-files.mjs +10 -10
- package/dist/actions/list-files.mjs.map +1 -1
- package/dist/actions/list-fine-tunes.cjs +25 -25
- package/dist/actions/list-fine-tunes.cjs.map +1 -1
- package/dist/actions/list-fine-tunes.d.cts +61 -3
- package/dist/actions/list-fine-tunes.d.cts.map +1 -1
- package/dist/actions/list-fine-tunes.d.mts +61 -3
- package/dist/actions/list-fine-tunes.d.mts.map +1 -1
- package/dist/actions/list-fine-tunes.mjs +25 -25
- package/dist/actions/list-fine-tunes.mjs.map +1 -1
- package/dist/actions/list-fine-tuning-events.cjs +9 -9
- package/dist/actions/list-fine-tuning-events.cjs.map +1 -1
- package/dist/actions/list-fine-tuning-events.d.cts +23 -3
- package/dist/actions/list-fine-tuning-events.d.cts.map +1 -1
- package/dist/actions/list-fine-tuning-events.d.mts +23 -3
- package/dist/actions/list-fine-tuning-events.d.mts.map +1 -1
- package/dist/actions/list-fine-tuning-events.mjs +9 -9
- package/dist/actions/list-fine-tuning-events.mjs.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.cjs +11 -11
- package/dist/actions/list-fine-tuning-job-checkpoints.cjs.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.d.cts +33 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.d.cts.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.d.mts +33 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.d.mts.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.mjs +11 -11
- package/dist/actions/list-fine-tuning-job-checkpoints.mjs.map +1 -1
- package/dist/actions/list-input-items.cjs +8 -8
- package/dist/actions/list-input-items.cjs.map +1 -1
- package/dist/actions/list-input-items.d.cts +52 -3
- package/dist/actions/list-input-items.d.cts.map +1 -1
- package/dist/actions/list-input-items.d.mts +52 -3
- package/dist/actions/list-input-items.d.mts.map +1 -1
- package/dist/actions/list-input-items.mjs +8 -8
- package/dist/actions/list-input-items.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +22 -22
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +79 -3
- package/dist/actions/list-messages.d.cts.map +1 -1
- package/dist/actions/list-messages.d.mts +79 -3
- package/dist/actions/list-messages.d.mts.map +1 -1
- package/dist/actions/list-messages.mjs +22 -22
- package/dist/actions/list-messages.mjs.map +1 -1
- package/dist/actions/list-models.cjs +19 -19
- package/dist/actions/list-models.cjs.map +1 -1
- package/dist/actions/list-models.d.cts +27 -3
- package/dist/actions/list-models.d.cts.map +1 -1
- package/dist/actions/list-models.d.mts +27 -3
- package/dist/actions/list-models.d.mts.map +1 -1
- package/dist/actions/list-models.mjs +19 -19
- package/dist/actions/list-models.mjs.map +1 -1
- package/dist/actions/list-run-steps.cjs +46 -46
- package/dist/actions/list-run-steps.cjs.map +1 -1
- package/dist/actions/list-run-steps.d.cts +106 -3
- package/dist/actions/list-run-steps.d.cts.map +1 -1
- package/dist/actions/list-run-steps.d.mts +106 -3
- package/dist/actions/list-run-steps.d.mts.map +1 -1
- package/dist/actions/list-run-steps.mjs +46 -46
- package/dist/actions/list-run-steps.mjs.map +1 -1
- package/dist/actions/list-runs.cjs +24 -24
- package/dist/actions/list-runs.cjs.map +1 -1
- package/dist/actions/list-runs.d.cts +77 -3
- package/dist/actions/list-runs.d.cts.map +1 -1
- package/dist/actions/list-runs.d.mts +77 -3
- package/dist/actions/list-runs.d.mts.map +1 -1
- package/dist/actions/list-runs.mjs +24 -24
- package/dist/actions/list-runs.mjs.map +1 -1
- package/dist/actions/list-skills.cjs +11 -11
- package/dist/actions/list-skills.cjs.map +1 -1
- package/dist/actions/list-skills.d.cts +28 -3
- package/dist/actions/list-skills.d.cts.map +1 -1
- package/dist/actions/list-skills.d.mts +28 -3
- package/dist/actions/list-skills.d.mts.map +1 -1
- package/dist/actions/list-skills.mjs +11 -11
- package/dist/actions/list-skills.mjs.map +1 -1
- package/dist/actions/list-threads.cjs +10 -10
- package/dist/actions/list-threads.cjs.map +1 -1
- package/dist/actions/list-threads.d.cts +33 -3
- package/dist/actions/list-threads.d.cts.map +1 -1
- package/dist/actions/list-threads.d.mts +33 -3
- package/dist/actions/list-threads.d.mts.map +1 -1
- package/dist/actions/list-threads.mjs +10 -10
- package/dist/actions/list-threads.mjs.map +1 -1
- package/dist/actions/list-vector-store-files.cjs +12 -12
- package/dist/actions/list-vector-store-files.cjs.map +1 -1
- package/dist/actions/list-vector-store-files.d.cts +49 -3
- package/dist/actions/list-vector-store-files.d.cts.map +1 -1
- package/dist/actions/list-vector-store-files.d.mts +49 -3
- package/dist/actions/list-vector-store-files.d.mts.map +1 -1
- package/dist/actions/list-vector-store-files.mjs +12 -12
- package/dist/actions/list-vector-store-files.mjs.map +1 -1
- package/dist/actions/list-vector-stores.cjs +19 -19
- package/dist/actions/list-vector-stores.cjs.map +1 -1
- package/dist/actions/list-vector-stores.d.cts +49 -3
- package/dist/actions/list-vector-stores.d.cts.map +1 -1
- package/dist/actions/list-vector-stores.d.mts +49 -3
- package/dist/actions/list-vector-stores.d.mts.map +1 -1
- package/dist/actions/list-vector-stores.mjs +19 -19
- package/dist/actions/list-vector-stores.mjs.map +1 -1
- package/dist/actions/list-videos.cjs +12 -12
- package/dist/actions/list-videos.cjs.map +1 -1
- package/dist/actions/list-videos.d.cts +51 -3
- package/dist/actions/list-videos.d.cts.map +1 -1
- package/dist/actions/list-videos.d.mts +51 -3
- package/dist/actions/list-videos.d.mts.map +1 -1
- package/dist/actions/list-videos.mjs +12 -12
- package/dist/actions/list-videos.mjs.map +1 -1
- package/dist/actions/modify-assistant.cjs +7 -7
- package/dist/actions/modify-assistant.cjs.map +1 -1
- package/dist/actions/modify-assistant.d.cts +55 -3
- package/dist/actions/modify-assistant.d.cts.map +1 -1
- package/dist/actions/modify-assistant.d.mts +55 -3
- package/dist/actions/modify-assistant.d.mts.map +1 -1
- package/dist/actions/modify-assistant.mjs +7 -7
- package/dist/actions/modify-assistant.mjs.map +1 -1
- package/dist/actions/modify-message.cjs +18 -18
- package/dist/actions/modify-message.cjs.map +1 -1
- package/dist/actions/modify-message.d.cts +64 -3
- package/dist/actions/modify-message.d.cts.map +1 -1
- package/dist/actions/modify-message.d.mts +64 -3
- package/dist/actions/modify-message.d.mts.map +1 -1
- package/dist/actions/modify-message.mjs +18 -18
- package/dist/actions/modify-message.mjs.map +1 -1
- package/dist/actions/modify-run.cjs +23 -23
- package/dist/actions/modify-run.cjs.map +1 -1
- package/dist/actions/modify-run.d.cts +71 -3
- package/dist/actions/modify-run.d.cts.map +1 -1
- package/dist/actions/modify-run.d.mts +71 -3
- package/dist/actions/modify-run.d.mts.map +1 -1
- package/dist/actions/modify-run.mjs +23 -23
- package/dist/actions/modify-run.mjs.map +1 -1
- package/dist/actions/modify-thread.cjs +6 -6
- package/dist/actions/modify-thread.cjs.map +1 -1
- package/dist/actions/modify-thread.d.cts +14 -3
- package/dist/actions/modify-thread.d.cts.map +1 -1
- package/dist/actions/modify-thread.d.mts +14 -3
- package/dist/actions/modify-thread.d.mts.map +1 -1
- package/dist/actions/modify-thread.mjs +6 -6
- package/dist/actions/modify-thread.mjs.map +1 -1
- package/dist/actions/modify-vector-store.cjs +16 -16
- package/dist/actions/modify-vector-store.cjs.map +1 -1
- package/dist/actions/modify-vector-store.d.cts +48 -3
- package/dist/actions/modify-vector-store.d.cts.map +1 -1
- package/dist/actions/modify-vector-store.d.mts +48 -3
- package/dist/actions/modify-vector-store.d.mts.map +1 -1
- package/dist/actions/modify-vector-store.mjs +16 -16
- package/dist/actions/modify-vector-store.mjs.map +1 -1
- package/dist/actions/retrieve-assistant.cjs +9 -9
- package/dist/actions/retrieve-assistant.cjs.map +1 -1
- package/dist/actions/retrieve-assistant.d.cts +26 -3
- package/dist/actions/retrieve-assistant.d.cts.map +1 -1
- package/dist/actions/retrieve-assistant.d.mts +26 -3
- package/dist/actions/retrieve-assistant.d.mts.map +1 -1
- package/dist/actions/retrieve-assistant.mjs +9 -9
- package/dist/actions/retrieve-assistant.mjs.map +1 -1
- package/dist/actions/retrieve-batch.cjs +19 -19
- package/dist/actions/retrieve-batch.cjs.map +1 -1
- package/dist/actions/retrieve-batch.d.cts +56 -3
- package/dist/actions/retrieve-batch.d.cts.map +1 -1
- package/dist/actions/retrieve-batch.d.mts +56 -3
- package/dist/actions/retrieve-batch.d.mts.map +1 -1
- package/dist/actions/retrieve-batch.mjs +19 -19
- package/dist/actions/retrieve-batch.mjs.map +1 -1
- package/dist/actions/retrieve-container-file-content.cjs +5 -5
- package/dist/actions/retrieve-container-file-content.cjs.map +1 -1
- package/dist/actions/retrieve-container-file-content.d.cts +15 -3
- package/dist/actions/retrieve-container-file-content.d.cts.map +1 -1
- package/dist/actions/retrieve-container-file-content.d.mts +15 -3
- package/dist/actions/retrieve-container-file-content.d.mts.map +1 -1
- package/dist/actions/retrieve-container-file-content.mjs +5 -5
- package/dist/actions/retrieve-container-file-content.mjs.map +1 -1
- package/dist/actions/retrieve-container-file.cjs +8 -8
- package/dist/actions/retrieve-container-file.cjs.map +1 -1
- package/dist/actions/retrieve-container-file.d.cts +17 -3
- package/dist/actions/retrieve-container-file.d.cts.map +1 -1
- package/dist/actions/retrieve-container-file.d.mts +17 -3
- package/dist/actions/retrieve-container-file.d.mts.map +1 -1
- package/dist/actions/retrieve-container-file.mjs +8 -8
- package/dist/actions/retrieve-container-file.mjs.map +1 -1
- package/dist/actions/retrieve-container.cjs +9 -9
- package/dist/actions/retrieve-container.cjs.map +1 -1
- package/dist/actions/retrieve-container.d.cts +33 -3
- package/dist/actions/retrieve-container.d.cts.map +1 -1
- package/dist/actions/retrieve-container.d.mts +33 -3
- package/dist/actions/retrieve-container.d.mts.map +1 -1
- package/dist/actions/retrieve-container.mjs +9 -9
- package/dist/actions/retrieve-container.mjs.map +1 -1
- package/dist/actions/retrieve-engine.cjs +6 -6
- package/dist/actions/retrieve-engine.cjs.map +1 -1
- package/dist/actions/retrieve-engine.d.cts +13 -3
- package/dist/actions/retrieve-engine.d.cts.map +1 -1
- package/dist/actions/retrieve-engine.d.mts +13 -3
- package/dist/actions/retrieve-engine.d.mts.map +1 -1
- package/dist/actions/retrieve-engine.mjs +6 -6
- package/dist/actions/retrieve-engine.mjs.map +1 -1
- package/dist/actions/retrieve-file.cjs +6 -6
- package/dist/actions/retrieve-file.cjs.map +1 -1
- package/dist/actions/retrieve-file.d.cts +30 -3
- package/dist/actions/retrieve-file.d.cts.map +1 -1
- package/dist/actions/retrieve-file.d.mts +30 -3
- package/dist/actions/retrieve-file.d.mts.map +1 -1
- package/dist/actions/retrieve-file.mjs +6 -6
- package/dist/actions/retrieve-file.mjs.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.cjs +13 -13
- package/dist/actions/retrieve-fine-tuning-job.cjs.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.d.cts +51 -3
- package/dist/actions/retrieve-fine-tuning-job.d.cts.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.d.mts +51 -3
- package/dist/actions/retrieve-fine-tuning-job.d.mts.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.mjs +13 -13
- package/dist/actions/retrieve-fine-tuning-job.mjs.map +1 -1
- package/dist/actions/retrieve-model.cjs +17 -17
- package/dist/actions/retrieve-model.cjs.map +1 -1
- package/dist/actions/retrieve-model.d.cts +28 -3
- package/dist/actions/retrieve-model.d.cts.map +1 -1
- package/dist/actions/retrieve-model.d.mts +28 -3
- package/dist/actions/retrieve-model.d.mts.map +1 -1
- package/dist/actions/retrieve-model.mjs +17 -17
- package/dist/actions/retrieve-model.mjs.map +1 -1
- package/dist/actions/retrieve-run.cjs +21 -21
- package/dist/actions/retrieve-run.cjs.map +1 -1
- package/dist/actions/retrieve-run.d.cts +63 -3
- package/dist/actions/retrieve-run.d.cts.map +1 -1
- package/dist/actions/retrieve-run.d.mts +63 -3
- package/dist/actions/retrieve-run.d.mts.map +1 -1
- package/dist/actions/retrieve-run.mjs +21 -21
- package/dist/actions/retrieve-run.mjs.map +1 -1
- package/dist/actions/retrieve-thread.cjs +5 -5
- package/dist/actions/retrieve-thread.cjs.map +1 -1
- package/dist/actions/retrieve-thread.d.cts +12 -3
- package/dist/actions/retrieve-thread.d.cts.map +1 -1
- package/dist/actions/retrieve-thread.d.mts +12 -3
- package/dist/actions/retrieve-thread.d.mts.map +1 -1
- package/dist/actions/retrieve-thread.mjs +5 -5
- package/dist/actions/retrieve-thread.mjs.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.cjs +6 -6
- package/dist/actions/retrieve-vector-store-file-content.cjs.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.d.cts +17 -3
- package/dist/actions/retrieve-vector-store-file-content.d.cts.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.d.mts +17 -3
- package/dist/actions/retrieve-vector-store-file-content.d.mts.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.mjs +6 -6
- package/dist/actions/retrieve-vector-store-file-content.mjs.map +1 -1
- package/dist/actions/run-grader.cjs +27 -27
- package/dist/actions/run-grader.cjs.map +1 -1
- package/dist/actions/run-grader.d.cts +118 -3
- package/dist/actions/run-grader.d.cts.map +1 -1
- package/dist/actions/run-grader.d.mts +118 -3
- package/dist/actions/run-grader.d.mts.map +1 -1
- package/dist/actions/run-grader.mjs +27 -27
- package/dist/actions/run-grader.mjs.map +1 -1
- package/dist/actions/search-vector-store.cjs +9 -9
- package/dist/actions/search-vector-store.cjs.map +1 -1
- package/dist/actions/search-vector-store.d.cts +42 -3
- package/dist/actions/search-vector-store.d.cts.map +1 -1
- package/dist/actions/search-vector-store.d.mts +42 -3
- package/dist/actions/search-vector-store.d.mts.map +1 -1
- package/dist/actions/search-vector-store.mjs +9 -9
- package/dist/actions/search-vector-store.mjs.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.cjs +23 -23
- package/dist/actions/submit-tool-outputs-to-run.cjs.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.d.cts +80 -3
- package/dist/actions/submit-tool-outputs-to-run.d.cts.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.d.mts +80 -3
- package/dist/actions/submit-tool-outputs-to-run.d.mts.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.mjs +23 -23
- package/dist/actions/submit-tool-outputs-to-run.mjs.map +1 -1
- package/dist/actions/update-chat-completion.cjs +18 -18
- package/dist/actions/update-chat-completion.cjs.map +1 -1
- package/dist/actions/update-chat-completion.d.cts +46 -3
- package/dist/actions/update-chat-completion.d.cts.map +1 -1
- package/dist/actions/update-chat-completion.d.mts +46 -3
- package/dist/actions/update-chat-completion.d.mts.map +1 -1
- package/dist/actions/update-chat-completion.mjs +18 -18
- package/dist/actions/update-chat-completion.mjs.map +1 -1
- package/dist/actions/update-conversation.cjs +4 -4
- package/dist/actions/update-conversation.cjs.map +1 -1
- package/dist/actions/update-conversation.d.cts +14 -3
- package/dist/actions/update-conversation.d.cts.map +1 -1
- package/dist/actions/update-conversation.d.mts +14 -3
- package/dist/actions/update-conversation.d.mts.map +1 -1
- package/dist/actions/update-conversation.mjs +4 -4
- package/dist/actions/update-conversation.mjs.map +1 -1
- package/dist/actions/update-eval.cjs +5 -5
- package/dist/actions/update-eval.cjs.map +1 -1
- package/dist/actions/update-eval.d.cts +19 -3
- package/dist/actions/update-eval.d.cts.map +1 -1
- package/dist/actions/update-eval.d.mts +19 -3
- package/dist/actions/update-eval.d.mts.map +1 -1
- package/dist/actions/update-eval.mjs +5 -5
- package/dist/actions/update-eval.mjs.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.cjs +12 -12
- package/dist/actions/update-vector-store-file-attributes.cjs.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.d.cts +34 -3
- package/dist/actions/update-vector-store-file-attributes.d.cts.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.d.mts +34 -3
- package/dist/actions/update-vector-store-file-attributes.d.mts.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.mjs +12 -12
- package/dist/actions/update-vector-store-file-attributes.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +8 -8
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +18 -3
- package/dist/actions/upload-file.d.cts.map +1 -1
- package/dist/actions/upload-file.d.mts +18 -3
- package/dist/actions/upload-file.d.mts.map +1 -1
- package/dist/actions/upload-file.mjs +8 -8
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/actions/validate-grader.cjs +9 -9
- package/dist/actions/validate-grader.cjs.map +1 -1
- package/dist/actions/validate-grader.d.cts +91 -3
- package/dist/actions/validate-grader.d.cts.map +1 -1
- package/dist/actions/validate-grader.d.mts +91 -3
- package/dist/actions/validate-grader.d.mts.map +1 -1
- package/dist/actions/validate-grader.mjs +9 -9
- package/dist/actions/validate-grader.mjs.map +1 -1
- package/dist/catalog.cjs +14 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +13 -0
- package/dist/catalog.d.mts +13 -0
- package/dist/catalog.mjs +14 -1
- package/dist/catalog.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -4,13 +4,13 @@ import { z } from "zod";
|
|
|
4
4
|
const OpenaiCreateVectorStoreFileInput = z.object({
|
|
5
5
|
file_id: z.string().describe("A File ID that the vector store should use. Useful for tools like file_search that can access files."),
|
|
6
6
|
vector_store_id: z.string().describe("The ID of the vector store for which to create a File."),
|
|
7
|
-
chunking_strategy: z.union([z.object({ type: z.enum(["auto", "static"]).default("auto").describe("The type of chunking strategy. Set to 'auto' to use the default strategy.").optional() }).describe("Auto chunking strategy - uses OpenAI's default chunking."), z.object({
|
|
7
|
+
chunking_strategy: z.union([z.object({ type: z.enum(["auto", "static"]).default("auto").describe("The type of chunking strategy. Set to 'auto' to use the default strategy.").optional() }).passthrough().describe("Auto chunking strategy - uses OpenAI's default chunking."), z.object({
|
|
8
8
|
type: z.enum(["auto", "static"]).default("static").describe("The type of chunking strategy. Set to 'static' to use the static strategy.").optional(),
|
|
9
9
|
static: z.object({
|
|
10
10
|
chunk_overlap_tokens: z.number().int().describe("The number of tokens that overlap between chunks. The default value is 400."),
|
|
11
11
|
max_chunk_size_tokens: z.number().int().describe("The maximum number of tokens in each chunk. The default is 800. The minimum value is 100 and the maximum value is 4096.")
|
|
12
|
-
}).describe("The static chunking configuration.")
|
|
13
|
-
}).describe("Static chunking strategy with custom configuration.")]).optional()
|
|
12
|
+
}).passthrough().describe("The static chunking configuration.")
|
|
13
|
+
}).passthrough().describe("Static chunking strategy with custom configuration.")]).optional()
|
|
14
14
|
}).describe("Request model for creating a vector store file.");
|
|
15
15
|
const OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([
|
|
16
16
|
"in_progress",
|
|
@@ -19,29 +19,29 @@ const OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([
|
|
|
19
19
|
"failed"
|
|
20
20
|
]).describe("Status of a vector store file.");
|
|
21
21
|
const OpenaiCreateVectorStoreFile_LastErrorInfoSchema = z.object({
|
|
22
|
-
code: z.string().describe("Error code"),
|
|
23
|
-
message: z.string().describe("Error message")
|
|
24
|
-
}).describe("Information about the last error that occurred.");
|
|
22
|
+
code: z.string().describe("Error code").nullable(),
|
|
23
|
+
message: z.string().describe("Error message").nullable()
|
|
24
|
+
}).passthrough().describe("Information about the last error that occurred.");
|
|
25
25
|
const OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({
|
|
26
|
-
type: z.string().describe("The type of chunking strategy"),
|
|
26
|
+
type: z.string().describe("The type of chunking strategy").nullable(),
|
|
27
27
|
static: z.record(z.string(), z.unknown()).describe("The static chunking configuration")
|
|
28
|
-
}).describe("Static chunking strategy in response.");
|
|
29
|
-
const OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({ type: z.string().describe("The type of chunking strategy") }).describe("Other chunking strategy in response.");
|
|
28
|
+
}).passthrough().describe("Static chunking strategy in response.");
|
|
29
|
+
const OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({ type: z.string().describe("The type of chunking strategy").nullable() }).passthrough().describe("Other chunking strategy in response.");
|
|
30
30
|
const openaiCreateVectorStoreFile = action("OPENAI_CREATE_VECTOR_STORE_FILE", {
|
|
31
31
|
slug: "openai-create-vector-store-file",
|
|
32
32
|
name: "Create Vector Store File",
|
|
33
33
|
description: "Tool to create a vector store file by attaching a File to a vector store. Use when you need to add files to a vector store for file search capabilities.",
|
|
34
34
|
input: OpenaiCreateVectorStoreFileInput,
|
|
35
35
|
output: z.object({
|
|
36
|
-
id: z.string().describe("The identifier, which can be referenced in API endpoints."),
|
|
37
|
-
object: z.string().describe("The object type, which is always 'vector_store.file'."),
|
|
36
|
+
id: z.string().describe("The identifier, which can be referenced in API endpoints.").nullable(),
|
|
37
|
+
object: z.string().describe("The object type, which is always 'vector_store.file'.").nullable(),
|
|
38
38
|
status: OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema.nullable(),
|
|
39
|
-
created_at: z.number().int().describe("The Unix timestamp (in seconds) for when the vector store file was created."),
|
|
39
|
+
created_at: z.number().int().describe("The Unix timestamp (in seconds) for when the vector store file was created.").nullable(),
|
|
40
40
|
last_error: OpenaiCreateVectorStoreFile_LastErrorInfoSchema.nullable().optional(),
|
|
41
|
-
usage_bytes: z.number().int().describe("The total vector store usage in bytes. Note that this may be different from the original file size."),
|
|
42
|
-
vector_store_id: z.string().describe("The ID of the vector store that the File is attached to."),
|
|
41
|
+
usage_bytes: z.number().int().describe("The total vector store usage in bytes. Note that this may be different from the original file size.").nullable(),
|
|
42
|
+
vector_store_id: z.string().describe("The ID of the vector store that the File is attached to.").nullable(),
|
|
43
43
|
chunking_strategy: z.union([OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional()
|
|
44
|
-
}).describe("Response model for created vector store file.")
|
|
44
|
+
}).passthrough().describe("Response model for created vector store file.")
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
47
|
export { openaiCreateVectorStoreFile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store-file.mjs","names":[],"sources":["../../src/actions/create-vector-store-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreFileInput
|
|
1
|
+
{"version":3,"file":"create-vector-store-file.mjs","names":[],"sources":["../../src/actions/create-vector-store-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreFileInput = z.object({\n file_id: z.string().describe(\"A File ID that the vector store should use. Useful for tools like file_search that can access files.\"),\n vector_store_id: z.string().describe(\"The ID of the vector store for which to create a File.\"),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"The type of chunking strategy. Set to 'auto' to use the default strategy.\").optional(),\n}).passthrough().describe(\"Auto chunking strategy - uses OpenAI's default chunking.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"The type of chunking strategy. Set to 'static' to use the static strategy.\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. The default value is 400.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. The default is 800. The minimum value is 100 and the maximum value is 4096.\"),\n}).passthrough().describe(\"The static chunking configuration.\"),\n}).passthrough().describe(\"Static chunking strategy with custom configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store file.\");\nconst OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiCreateVectorStoreFile_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Information about the last error that occurred.\");\nconst OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n static: z.record(z.string(), z.unknown()).describe(\"The static chunking configuration\"),\n}).passthrough().describe(\"Static chunking strategy in response.\");\nconst OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).passthrough().describe(\"Other chunking strategy in response.\");\nexport const OpenaiCreateVectorStoreFileOutput = z.object({\n id: z.string().describe(\"The identifier, which can be referenced in API endpoints.\").nullable(),\n object: z.string().describe(\"The object type, which is always 'vector_store.file'.\").nullable(),\n status: OpenaiCreateVectorStoreFile_VectorStoreFileStatusSchema.nullable(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiCreateVectorStoreFile_LastErrorInfoSchema.nullable().optional(),\n usage_bytes: z.number().int().describe(\"The total vector store usage in bytes. Note that this may be different from the original file size.\").nullable(),\n vector_store_id: z.string().describe(\"The ID of the vector store that the File is attached to.\").nullable(),\n chunking_strategy: z.union([OpenaiCreateVectorStoreFile_StaticChunkingStrategyResponseSchema, OpenaiCreateVectorStoreFile_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).passthrough().describe(\"Response model for created vector store file.\");\n\nexport const openaiCreateVectorStoreFile = action(\"OPENAI_CREATE_VECTOR_STORE_FILE\", {\n slug: \"openai-create-vector-store-file\",\n name: \"Create Vector Store File\",\n description: \"Tool to create a vector store file by attaching a File to a vector store. Use when you need to add files to a vector store for file search capabilities.\",\n input: OpenaiCreateVectorStoreFileInput,\n output: OpenaiCreateVectorStoreFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO,CAAC,CA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OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,kEAAkE,EAAE,OAAO,EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAYhE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC9F,QAAQ,wDAAwD,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC9H,YAAY,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACvJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC1G,mBAAmB,EAAE,MAAM,CAAC,kEAAkE,+DAA+D,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -4,18 +4,18 @@ let zod = require("zod");
|
|
|
4
4
|
const OpenaiCreateVectorStoreInput = zod.z.object({
|
|
5
5
|
name: zod.z.string().describe("The name of the vector store. If not provided, the vector store will have no name.").optional(),
|
|
6
6
|
file_ids: zod.z.array(zod.z.string()).describe("A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. Maximum 500 file IDs allowed.").optional(),
|
|
7
|
-
metadata: zod.z.
|
|
7
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.").optional(),
|
|
8
8
|
expires_after: zod.z.object({
|
|
9
9
|
days: zod.z.number().int().describe("The number of days after the anchor time that the vector store will expire. Must be between 1 and 365."),
|
|
10
10
|
anchor: zod.z.string().describe("Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.")
|
|
11
11
|
}).describe("Expiration policy for a vector store.").optional(),
|
|
12
|
-
chunking_strategy: zod.z.union([zod.z.object({ type: zod.z.enum(["auto", "static"]).default("auto").describe("Must be 'auto' for auto chunking strategy").optional() }).describe("Auto chunking strategy configuration."), zod.z.object({
|
|
12
|
+
chunking_strategy: zod.z.union([zod.z.object({ type: zod.z.enum(["auto", "static"]).default("auto").describe("Must be 'auto' for auto chunking strategy").optional() }).passthrough().describe("Auto chunking strategy configuration."), zod.z.object({
|
|
13
13
|
type: zod.z.enum(["auto", "static"]).default("static").describe("Must be 'static' for static chunking strategy").optional(),
|
|
14
14
|
static: zod.z.object({
|
|
15
15
|
chunk_overlap_tokens: zod.z.number().int().describe("The number of tokens that overlap between chunks. Must be non-negative."),
|
|
16
16
|
max_chunk_size_tokens: zod.z.number().int().describe("The maximum number of tokens in each chunk. Must be between 100 and 4096.")
|
|
17
|
-
}).describe("Configuration for static chunking")
|
|
18
|
-
}).describe("Static chunking strategy configuration.")]).optional()
|
|
17
|
+
}).passthrough().describe("Configuration for static chunking")
|
|
18
|
+
}).passthrough().describe("Static chunking strategy configuration.")]).optional()
|
|
19
19
|
}).describe("Request model for creating a vector store.");
|
|
20
20
|
const OpenaiCreateVectorStore_VectorStoreStatusSchema = zod.z.enum([
|
|
21
21
|
"expired",
|
|
@@ -23,29 +23,29 @@ const OpenaiCreateVectorStore_VectorStoreStatusSchema = zod.z.enum([
|
|
|
23
23
|
"completed"
|
|
24
24
|
]).describe("Status of a vector store.");
|
|
25
25
|
const OpenaiCreateVectorStore_FileCountsSchema = zod.z.object({
|
|
26
|
-
total: zod.z.number().int().describe("The total number of files"),
|
|
27
|
-
failed: zod.z.number().int().describe("The number of files that have failed to process"),
|
|
28
|
-
cancelled: zod.z.number().int().describe("The number of files that were cancelled"),
|
|
29
|
-
completed: zod.z.number().int().describe("The number of files that have been successfully processed"),
|
|
30
|
-
in_progress: zod.z.number().int().describe("The number of files that are currently being processed")
|
|
31
|
-
}).describe("File processing counts for a vector store.");
|
|
26
|
+
total: zod.z.number().int().describe("The total number of files").nullable(),
|
|
27
|
+
failed: zod.z.number().int().describe("The number of files that have failed to process").nullable(),
|
|
28
|
+
cancelled: zod.z.number().int().describe("The number of files that were cancelled").nullable(),
|
|
29
|
+
completed: zod.z.number().int().describe("The number of files that have been successfully processed").nullable(),
|
|
30
|
+
in_progress: zod.z.number().int().describe("The number of files that are currently being processed").nullable()
|
|
31
|
+
}).passthrough().describe("File processing counts for a vector store.");
|
|
32
32
|
const OpenaiCreateVectorStore_ExpirationPolicySchema = zod.z.object({
|
|
33
|
-
days: zod.z.number().int().describe("The number of days after the anchor time that the vector store will expire. Must be between 1 and 365."),
|
|
34
|
-
anchor: zod.z.string().describe("Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.")
|
|
35
|
-
}).describe("Expiration policy for a vector store.");
|
|
33
|
+
days: zod.z.number().int().describe("The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.").nullable(),
|
|
34
|
+
anchor: zod.z.string().describe("Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.").nullable()
|
|
35
|
+
}).passthrough().describe("Expiration policy for a vector store.");
|
|
36
36
|
const OpenaiCreateVectorStoreOutput = zod.z.object({
|
|
37
|
-
id: zod.z.string().describe("The identifier of the vector store, which can be referenced in API endpoints"),
|
|
37
|
+
id: zod.z.string().describe("The identifier of the vector store, which can be referenced in API endpoints").nullable(),
|
|
38
38
|
name: zod.z.string().describe("The name of the vector store").nullable().optional(),
|
|
39
|
-
object: zod.z.string().describe("The object type, which is always 'vector_store'"),
|
|
39
|
+
object: zod.z.string().describe("The object type, which is always 'vector_store'").nullable(),
|
|
40
40
|
status: OpenaiCreateVectorStore_VectorStoreStatusSchema.nullable(),
|
|
41
|
-
metadata: zod.z.
|
|
42
|
-
created_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was created"),
|
|
41
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata key-value pairs attached to the vector store").nullable().optional(),
|
|
42
|
+
created_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was created").nullable(),
|
|
43
43
|
expires_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store will expire, if applicable").nullable().optional(),
|
|
44
44
|
file_counts: OpenaiCreateVectorStore_FileCountsSchema.nullable(),
|
|
45
|
-
usage_bytes: zod.z.number().int().describe("The total number of bytes used by the files in the vector store"),
|
|
45
|
+
usage_bytes: zod.z.number().int().describe("The total number of bytes used by the files in the vector store").nullable(),
|
|
46
46
|
expires_after: OpenaiCreateVectorStore_ExpirationPolicySchema.nullable().optional(),
|
|
47
47
|
last_active_at: zod.z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was last active").nullable().optional()
|
|
48
|
-
}).describe("Response schema for created vector store.");
|
|
48
|
+
}).passthrough().describe("Response schema for created vector store.");
|
|
49
49
|
const openaiCreateVectorStore = require_action.action("OPENAI_CREATE_VECTOR_STORE", {
|
|
50
50
|
slug: "openai-create-vector-store",
|
|
51
51
|
name: "Create Vector Store",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/create-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreInput
|
|
1
|
+
{"version":3,"file":"create-vector-store.cjs","names":["z","action"],"sources":["../../src/actions/create-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store. If not provided, the vector store will have no name.\").optional(),\n file_ids: z.array(z.string()).describe(\"A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. Maximum 500 file IDs allowed.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\").optional(),\n expires_after: z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.\"),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Must be 'auto' for auto chunking strategy\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Must be 'static' for static chunking strategy\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. Must be non-negative.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. Must be between 100 and 4096.\"),\n}).passthrough().describe(\"Configuration for static chunking\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store.\");\nconst OpenaiCreateVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiCreateVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).passthrough().describe(\"File processing counts for a vector store.\");\nconst OpenaiCreateVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.\").nullable(),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\").nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiCreateVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier of the vector store, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiCreateVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire, if applicable\").nullable().optional(),\n file_counts: OpenaiCreateVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiCreateVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).passthrough().describe(\"Response schema for created vector store.\");\n\nexport const openaiCreateVectorStore = action(\"OPENAI_CREATE_VECTOR_STORE\", {\n slug: \"openai-create-vector-store\",\n name: \"Create Vector Store\",\n description: \"Tool to create a new vector store. Use when you need to create a collection of processed files for file_search tools.\",\n input: OpenaiCreateVectorStoreInput,\n output: OpenaiCreateVectorStoreOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,UAAUA,IAAAA,EAAE,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,gDAAgD,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,aAAa,yCAAyC,SAAS;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACnH,eAAe,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAClF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,77 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-vector-store.d.ts
|
|
4
|
-
declare const OpenaiCreateVectorStoreInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenaiCreateVectorStoreInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
file_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
|
+
expires_after: z.ZodOptional<z.ZodObject<{
|
|
9
|
+
days: z.ZodNumber;
|
|
10
|
+
anchor: z.ZodString;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
chunking_strategy: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
13
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
14
|
+
auto: "auto";
|
|
15
|
+
static: "static";
|
|
16
|
+
}>>>;
|
|
17
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
18
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
19
|
+
auto: "auto";
|
|
20
|
+
static: "static";
|
|
21
|
+
}>>>;
|
|
22
|
+
static: z.ZodObject<{
|
|
23
|
+
chunk_overlap_tokens: z.ZodNumber;
|
|
24
|
+
max_chunk_size_tokens: z.ZodNumber;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
}, z.core.$loose>]>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const OpenaiCreateVectorStoreOutput: z.ZodObject<{
|
|
29
|
+
id: z.ZodNullable<z.ZodString>;
|
|
30
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
object: z.ZodNullable<z.ZodString>;
|
|
32
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
33
|
+
in_progress: "in_progress";
|
|
34
|
+
completed: "completed";
|
|
35
|
+
expired: "expired";
|
|
36
|
+
}>>;
|
|
37
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
38
|
+
created_at: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
file_counts: z.ZodNullable<z.ZodObject<{
|
|
41
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
42
|
+
failed: z.ZodNullable<z.ZodNumber>;
|
|
43
|
+
cancelled: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
completed: z.ZodNullable<z.ZodNumber>;
|
|
45
|
+
in_progress: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
}, z.core.$loose>>;
|
|
47
|
+
usage_bytes: z.ZodNullable<z.ZodNumber>;
|
|
48
|
+
expires_after: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
|
+
days: z.ZodNullable<z.ZodNumber>;
|
|
50
|
+
anchor: z.ZodNullable<z.ZodString>;
|
|
51
|
+
}, z.core.$loose>>>;
|
|
52
|
+
last_active_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
|
+
declare const openaiCreateVectorStore: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
|
+
name?: string | undefined;
|
|
56
|
+
file_ids?: string[] | undefined;
|
|
57
|
+
metadata?: Record<string, unknown> | undefined;
|
|
58
|
+
expires_after?: {
|
|
59
|
+
days: number;
|
|
60
|
+
anchor: string;
|
|
61
|
+
} | undefined;
|
|
62
|
+
chunking_strategy?: {
|
|
63
|
+
[x: string]: unknown;
|
|
64
|
+
type?: "auto" | "static" | undefined;
|
|
65
|
+
} | {
|
|
66
|
+
[x: string]: unknown;
|
|
67
|
+
static: {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
chunk_overlap_tokens: number;
|
|
70
|
+
max_chunk_size_tokens: number;
|
|
71
|
+
};
|
|
72
|
+
type?: "auto" | "static" | undefined;
|
|
73
|
+
} | undefined;
|
|
74
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
75
|
//#endregion
|
|
8
76
|
export { openaiCreateVectorStore };
|
|
9
77
|
//# sourceMappingURL=create-vector-store.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store.d.cts","names":[],"sources":["../../src/actions/create-vector-store.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"create-vector-store.d.cts","names":[],"sources":["../../src/actions/create-vector-store.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA8B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,gCAAuB,wBAAA;;;aAMlC,MAAA"}
|
|
@@ -1,9 +1,77 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-vector-store.d.ts
|
|
4
|
-
declare const OpenaiCreateVectorStoreInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const OpenaiCreateVectorStoreInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
file_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8
|
+
expires_after: z.ZodOptional<z.ZodObject<{
|
|
9
|
+
days: z.ZodNumber;
|
|
10
|
+
anchor: z.ZodString;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
chunking_strategy: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
13
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
14
|
+
auto: "auto";
|
|
15
|
+
static: "static";
|
|
16
|
+
}>>>;
|
|
17
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
18
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
19
|
+
auto: "auto";
|
|
20
|
+
static: "static";
|
|
21
|
+
}>>>;
|
|
22
|
+
static: z.ZodObject<{
|
|
23
|
+
chunk_overlap_tokens: z.ZodNumber;
|
|
24
|
+
max_chunk_size_tokens: z.ZodNumber;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
|
+
}, z.core.$loose>]>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const OpenaiCreateVectorStoreOutput: z.ZodObject<{
|
|
29
|
+
id: z.ZodNullable<z.ZodString>;
|
|
30
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
object: z.ZodNullable<z.ZodString>;
|
|
32
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
33
|
+
in_progress: "in_progress";
|
|
34
|
+
completed: "completed";
|
|
35
|
+
expired: "expired";
|
|
36
|
+
}>>;
|
|
37
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
38
|
+
created_at: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
file_counts: z.ZodNullable<z.ZodObject<{
|
|
41
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
42
|
+
failed: z.ZodNullable<z.ZodNumber>;
|
|
43
|
+
cancelled: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
completed: z.ZodNullable<z.ZodNumber>;
|
|
45
|
+
in_progress: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
}, z.core.$loose>>;
|
|
47
|
+
usage_bytes: z.ZodNullable<z.ZodNumber>;
|
|
48
|
+
expires_after: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
|
+
days: z.ZodNullable<z.ZodNumber>;
|
|
50
|
+
anchor: z.ZodNullable<z.ZodString>;
|
|
51
|
+
}, z.core.$loose>>>;
|
|
52
|
+
last_active_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
|
+
declare const openaiCreateVectorStore: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
|
+
name?: string | undefined;
|
|
56
|
+
file_ids?: string[] | undefined;
|
|
57
|
+
metadata?: Record<string, unknown> | undefined;
|
|
58
|
+
expires_after?: {
|
|
59
|
+
days: number;
|
|
60
|
+
anchor: string;
|
|
61
|
+
} | undefined;
|
|
62
|
+
chunking_strategy?: {
|
|
63
|
+
[x: string]: unknown;
|
|
64
|
+
type?: "auto" | "static" | undefined;
|
|
65
|
+
} | {
|
|
66
|
+
[x: string]: unknown;
|
|
67
|
+
static: {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
chunk_overlap_tokens: number;
|
|
70
|
+
max_chunk_size_tokens: number;
|
|
71
|
+
};
|
|
72
|
+
type?: "auto" | "static" | undefined;
|
|
73
|
+
} | undefined;
|
|
74
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
75
|
//#endregion
|
|
8
76
|
export { openaiCreateVectorStore };
|
|
9
77
|
//# sourceMappingURL=create-vector-store.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store.d.mts","names":[],"sources":["../../src/actions/create-vector-store.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"create-vector-store.d.mts","names":[],"sources":["../../src/actions/create-vector-store.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA8B5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAc7B,uBAAA,gCAAuB,wBAAA;;;aAMlC,MAAA"}
|
|
@@ -4,18 +4,18 @@ import { z } from "zod";
|
|
|
4
4
|
const OpenaiCreateVectorStoreInput = z.object({
|
|
5
5
|
name: z.string().describe("The name of the vector store. If not provided, the vector store will have no name.").optional(),
|
|
6
6
|
file_ids: z.array(z.string()).describe("A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. Maximum 500 file IDs allowed.").optional(),
|
|
7
|
-
metadata: z.
|
|
7
|
+
metadata: z.record(z.string(), z.unknown()).describe("Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.").optional(),
|
|
8
8
|
expires_after: z.object({
|
|
9
9
|
days: z.number().int().describe("The number of days after the anchor time that the vector store will expire. Must be between 1 and 365."),
|
|
10
10
|
anchor: z.string().describe("Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.")
|
|
11
11
|
}).describe("Expiration policy for a vector store.").optional(),
|
|
12
|
-
chunking_strategy: z.union([z.object({ type: z.enum(["auto", "static"]).default("auto").describe("Must be 'auto' for auto chunking strategy").optional() }).describe("Auto chunking strategy configuration."), z.object({
|
|
12
|
+
chunking_strategy: z.union([z.object({ type: z.enum(["auto", "static"]).default("auto").describe("Must be 'auto' for auto chunking strategy").optional() }).passthrough().describe("Auto chunking strategy configuration."), z.object({
|
|
13
13
|
type: z.enum(["auto", "static"]).default("static").describe("Must be 'static' for static chunking strategy").optional(),
|
|
14
14
|
static: z.object({
|
|
15
15
|
chunk_overlap_tokens: z.number().int().describe("The number of tokens that overlap between chunks. Must be non-negative."),
|
|
16
16
|
max_chunk_size_tokens: z.number().int().describe("The maximum number of tokens in each chunk. Must be between 100 and 4096.")
|
|
17
|
-
}).describe("Configuration for static chunking")
|
|
18
|
-
}).describe("Static chunking strategy configuration.")]).optional()
|
|
17
|
+
}).passthrough().describe("Configuration for static chunking")
|
|
18
|
+
}).passthrough().describe("Static chunking strategy configuration.")]).optional()
|
|
19
19
|
}).describe("Request model for creating a vector store.");
|
|
20
20
|
const OpenaiCreateVectorStore_VectorStoreStatusSchema = z.enum([
|
|
21
21
|
"expired",
|
|
@@ -23,34 +23,34 @@ const OpenaiCreateVectorStore_VectorStoreStatusSchema = z.enum([
|
|
|
23
23
|
"completed"
|
|
24
24
|
]).describe("Status of a vector store.");
|
|
25
25
|
const OpenaiCreateVectorStore_FileCountsSchema = z.object({
|
|
26
|
-
total: z.number().int().describe("The total number of files"),
|
|
27
|
-
failed: z.number().int().describe("The number of files that have failed to process"),
|
|
28
|
-
cancelled: z.number().int().describe("The number of files that were cancelled"),
|
|
29
|
-
completed: z.number().int().describe("The number of files that have been successfully processed"),
|
|
30
|
-
in_progress: z.number().int().describe("The number of files that are currently being processed")
|
|
31
|
-
}).describe("File processing counts for a vector store.");
|
|
26
|
+
total: z.number().int().describe("The total number of files").nullable(),
|
|
27
|
+
failed: z.number().int().describe("The number of files that have failed to process").nullable(),
|
|
28
|
+
cancelled: z.number().int().describe("The number of files that were cancelled").nullable(),
|
|
29
|
+
completed: z.number().int().describe("The number of files that have been successfully processed").nullable(),
|
|
30
|
+
in_progress: z.number().int().describe("The number of files that are currently being processed").nullable()
|
|
31
|
+
}).passthrough().describe("File processing counts for a vector store.");
|
|
32
32
|
const OpenaiCreateVectorStore_ExpirationPolicySchema = z.object({
|
|
33
|
-
days: z.number().int().describe("The number of days after the anchor time that the vector store will expire. Must be between 1 and 365."),
|
|
34
|
-
anchor: z.string().describe("Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.")
|
|
35
|
-
}).describe("Expiration policy for a vector store.");
|
|
33
|
+
days: z.number().int().describe("The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.").nullable(),
|
|
34
|
+
anchor: z.string().describe("Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.").nullable()
|
|
35
|
+
}).passthrough().describe("Expiration policy for a vector store.");
|
|
36
36
|
const openaiCreateVectorStore = action("OPENAI_CREATE_VECTOR_STORE", {
|
|
37
37
|
slug: "openai-create-vector-store",
|
|
38
38
|
name: "Create Vector Store",
|
|
39
39
|
description: "Tool to create a new vector store. Use when you need to create a collection of processed files for file_search tools.",
|
|
40
40
|
input: OpenaiCreateVectorStoreInput,
|
|
41
41
|
output: z.object({
|
|
42
|
-
id: z.string().describe("The identifier of the vector store, which can be referenced in API endpoints"),
|
|
42
|
+
id: z.string().describe("The identifier of the vector store, which can be referenced in API endpoints").nullable(),
|
|
43
43
|
name: z.string().describe("The name of the vector store").nullable().optional(),
|
|
44
|
-
object: z.string().describe("The object type, which is always 'vector_store'"),
|
|
44
|
+
object: z.string().describe("The object type, which is always 'vector_store'").nullable(),
|
|
45
45
|
status: OpenaiCreateVectorStore_VectorStoreStatusSchema.nullable(),
|
|
46
|
-
metadata: z.
|
|
47
|
-
created_at: z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was created"),
|
|
46
|
+
metadata: z.record(z.string(), z.unknown()).describe("Metadata key-value pairs attached to the vector store").nullable().optional(),
|
|
47
|
+
created_at: z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was created").nullable(),
|
|
48
48
|
expires_at: z.number().int().describe("The Unix timestamp (in seconds) for when the vector store will expire, if applicable").nullable().optional(),
|
|
49
49
|
file_counts: OpenaiCreateVectorStore_FileCountsSchema.nullable(),
|
|
50
|
-
usage_bytes: z.number().int().describe("The total number of bytes used by the files in the vector store"),
|
|
50
|
+
usage_bytes: z.number().int().describe("The total number of bytes used by the files in the vector store").nullable(),
|
|
51
51
|
expires_after: OpenaiCreateVectorStore_ExpirationPolicySchema.nullable().optional(),
|
|
52
52
|
last_active_at: z.number().int().describe("The Unix timestamp (in seconds) for when the vector store was last active").nullable().optional()
|
|
53
|
-
}).describe("Response schema for created vector store.")
|
|
53
|
+
}).passthrough().describe("Response schema for created vector store.")
|
|
54
54
|
});
|
|
55
55
|
//#endregion
|
|
56
56
|
export { openaiCreateVectorStore };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-vector-store.mjs","names":[],"sources":["../../src/actions/create-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreInput
|
|
1
|
+
{"version":3,"file":"create-vector-store.mjs","names":[],"sources":["../../src/actions/create-vector-store.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVectorStoreInput = z.object({\n name: z.string().describe(\"The name of the vector store. If not provided, the vector store will have no name.\").optional(),\n file_ids: z.array(z.string()).describe(\"A list of File IDs that the vector store should use. Useful for tools like file_search that can access files. Maximum 500 file IDs allowed.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Set of up to 16 key-value pairs that can be attached to the vector store. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\").optional(),\n expires_after: z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.\"),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\"),\n}).describe(\"Expiration policy for a vector store.\").optional(),\n chunking_strategy: z.union([z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"auto\").describe(\"Must be 'auto' for auto chunking strategy\").optional(),\n}).passthrough().describe(\"Auto chunking strategy configuration.\"), z.object({\n type: z.enum([\"auto\", \"static\"]).default(\"static\").describe(\"Must be 'static' for static chunking strategy\").optional(),\n static: z.object({\n chunk_overlap_tokens: z.number().int().describe(\"The number of tokens that overlap between chunks. Must be non-negative.\"),\n max_chunk_size_tokens: z.number().int().describe(\"The maximum number of tokens in each chunk. Must be between 100 and 4096.\"),\n}).passthrough().describe(\"Configuration for static chunking\"),\n}).passthrough().describe(\"Static chunking strategy configuration.\")]).optional(),\n}).describe(\"Request model for creating a vector store.\");\nconst OpenaiCreateVectorStore_VectorStoreStatusSchema = z.enum([\"expired\", \"in_progress\", \"completed\"]).describe(\"Status of a vector store.\");\nconst OpenaiCreateVectorStore_FileCountsSchema = z.object({\n total: z.number().int().describe(\"The total number of files\").nullable(),\n failed: z.number().int().describe(\"The number of files that have failed to process\").nullable(),\n cancelled: z.number().int().describe(\"The number of files that were cancelled\").nullable(),\n completed: z.number().int().describe(\"The number of files that have been successfully processed\").nullable(),\n in_progress: z.number().int().describe(\"The number of files that are currently being processed\").nullable(),\n}).passthrough().describe(\"File processing counts for a vector store.\");\nconst OpenaiCreateVectorStore_ExpirationPolicySchema = z.object({\n days: z.number().int().describe(\"The number of days after the anchor time that the vector store will expire. Must be between 1 and 365.\").nullable(),\n anchor: z.string().describe(\"Anchor timestamp after which the expiration policy applies. Must be 'last_active_at'.\").nullable(),\n}).passthrough().describe(\"Expiration policy for a vector store.\");\nexport const OpenaiCreateVectorStoreOutput = z.object({\n id: z.string().describe(\"The identifier of the vector store, which can be referenced in API endpoints\").nullable(),\n name: z.string().describe(\"The name of the vector store\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'vector_store'\").nullable(),\n status: OpenaiCreateVectorStore_VectorStoreStatusSchema.nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Metadata key-value pairs attached to the vector store\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was created\").nullable(),\n expires_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store will expire, if applicable\").nullable().optional(),\n file_counts: OpenaiCreateVectorStore_FileCountsSchema.nullable(),\n usage_bytes: z.number().int().describe(\"The total number of bytes used by the files in the vector store\").nullable(),\n expires_after: OpenaiCreateVectorStore_ExpirationPolicySchema.nullable().optional(),\n last_active_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store was last active\").nullable().optional(),\n}).passthrough().describe(\"Response schema for created vector store.\");\n\nexport const openaiCreateVectorStore = action(\"OPENAI_CREATE_VECTOR_STORE\", {\n slug: \"openai-create-vector-store\",\n name: \"Create Vector Store\",\n description: \"Tool to create a new vector store. Use when you need to create a collection of processed files for file_search tools.\",\n input: OpenaiCreateVectorStoreInput,\n output: OpenaiCreateVectorStoreOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAC/L,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CAC3O,eAAe,EAAE,OAAO;EACxB,MAAM,EAAE,OAAO,CAAC,CAA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AAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACnH,eAAe,+CAA+C,SAAS,CAAC,CAAC,SAAS;EAClF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -12,9 +12,9 @@ const OpenaiCreateVideoRemix_VideoSizeSchema = zod.z.enum([
|
|
|
12
12
|
"1792x1024"
|
|
13
13
|
]).describe("Size/aspect ratio values for video generation.");
|
|
14
14
|
const OpenaiCreateVideoRemix_VideoErrorSchema = zod.z.object({
|
|
15
|
-
code: zod.z.string().describe("Error code identifying the type of error"),
|
|
16
|
-
message: zod.z.string().describe("Human-readable error message")
|
|
17
|
-
}).describe("Error details for failed video generation jobs.");
|
|
15
|
+
code: zod.z.string().describe("Error code identifying the type of error").nullable(),
|
|
16
|
+
message: zod.z.string().describe("Human-readable error message").nullable()
|
|
17
|
+
}).passthrough().describe("Error details for failed video generation jobs.");
|
|
18
18
|
const OpenaiCreateVideoRemix_VideoStatusSchema = zod.z.enum([
|
|
19
19
|
"queued",
|
|
20
20
|
"in_progress",
|
|
@@ -27,20 +27,20 @@ const OpenaiCreateVideoRemix_VideoSecondsSchema = zod.z.enum([
|
|
|
27
27
|
"12"
|
|
28
28
|
]).describe("Duration values for video generation.");
|
|
29
29
|
const OpenaiCreateVideoRemixOutput = zod.z.object({
|
|
30
|
-
id: zod.z.string().describe("Unique identifier for the video remix generation job"),
|
|
30
|
+
id: zod.z.string().describe("Unique identifier for the video remix generation job").nullable(),
|
|
31
31
|
size: OpenaiCreateVideoRemix_VideoSizeSchema.nullable(),
|
|
32
32
|
error: OpenaiCreateVideoRemix_VideoErrorSchema.nullable().optional(),
|
|
33
33
|
model: zod.z.string().describe("The model used for video generation").nullable().optional(),
|
|
34
|
-
object: zod.z.string().describe("The object type, which is always 'video'"),
|
|
34
|
+
object: zod.z.string().describe("The object type, which is always 'video'").nullable(),
|
|
35
35
|
prompt: zod.z.string().describe("The prompt used for the remix generation").nullable().optional(),
|
|
36
36
|
status: OpenaiCreateVideoRemix_VideoStatusSchema.nullable(),
|
|
37
37
|
seconds: OpenaiCreateVideoRemix_VideoSecondsSchema.nullable(),
|
|
38
|
-
progress: zod.z.number().int().describe("Approximate completion percentage for the generation task (0-100)"),
|
|
39
|
-
created_at: zod.z.number().int().describe("Unix timestamp (in seconds) for when the job was created"),
|
|
38
|
+
progress: zod.z.number().int().describe("Approximate completion percentage for the generation task (0-100)").nullable(),
|
|
39
|
+
created_at: zod.z.number().int().describe("Unix timestamp (in seconds) for when the job was created").nullable(),
|
|
40
40
|
expires_at: zod.z.number().int().describe("Unix timestamp (in seconds) for when the video will expire and be deleted, or null if not applicable").nullable().optional(),
|
|
41
41
|
completed_at: zod.z.number().int().describe("Unix timestamp (in seconds) for when the job completed, or null if not yet completed").nullable().optional(),
|
|
42
42
|
remixed_from_video_id: zod.z.string().describe("The ID of the original video that this remix was created from").nullable().optional()
|
|
43
|
-
}).describe("Response model for video remix creation, containing the video job status and metadata.");
|
|
43
|
+
}).passthrough().describe("Response model for video remix creation, containing the video job status and metadata.");
|
|
44
44
|
const openaiCreateVideoRemix = require_action.action("OPENAI_CREATE_VIDEO_REMIX", {
|
|
45
45
|
slug: "openai-create-video-remix",
|
|
46
46
|
name: "Create Video Remix",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-video-remix.cjs","names":["z","action"],"sources":["../../src/actions/create-video-remix.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVideoRemixInput
|
|
1
|
+
{"version":3,"file":"create-video-remix.cjs","names":["z","action"],"sources":["../../src/actions/create-video-remix.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateVideoRemixInput = z.object({\n prompt: z.string().describe(\"Updated text prompt that directs the remix generation. Describes the transformations or changes to apply to the original video.\"),\n video_id: z.string().describe(\"The identifier of the completed video to remix. Must be a valid video ID from a previously generated video.\"),\n}).describe(\"Request model for creating a video remix from an existing generated video.\");\nconst OpenaiCreateVideoRemix_VideoSizeSchema = z.enum([\"720x1280\", \"1280x720\", \"1024x1792\", \"1792x1024\"]).describe(\"Size/aspect ratio values for video generation.\");\nconst OpenaiCreateVideoRemix_VideoErrorSchema = z.object({\n code: z.string().describe(\"Error code identifying the type of error\").nullable(),\n message: z.string().describe(\"Human-readable error message\").nullable(),\n}).passthrough().describe(\"Error details for failed video generation jobs.\");\nconst OpenaiCreateVideoRemix_VideoStatusSchema = z.enum([\"queued\", \"in_progress\", \"completed\", \"failed\"]).describe(\"Status values for video generation jobs.\");\nconst OpenaiCreateVideoRemix_VideoSecondsSchema = z.enum([\"4\", \"8\", \"12\"]).describe(\"Duration values for video generation.\");\nexport const OpenaiCreateVideoRemixOutput = z.object({\n id: z.string().describe(\"Unique identifier for the video remix generation job\").nullable(),\n size: OpenaiCreateVideoRemix_VideoSizeSchema.nullable(),\n error: OpenaiCreateVideoRemix_VideoErrorSchema.nullable().optional(),\n model: z.string().describe(\"The model used for video generation\").nullable().optional(),\n object: z.string().describe(\"The object type, which is always 'video'\").nullable(),\n prompt: z.string().describe(\"The prompt used for the remix generation\").nullable().optional(),\n status: OpenaiCreateVideoRemix_VideoStatusSchema.nullable(),\n seconds: OpenaiCreateVideoRemix_VideoSecondsSchema.nullable(),\n progress: z.number().int().describe(\"Approximate completion percentage for the generation task (0-100)\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the job was created\").nullable(),\n expires_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the video will expire and be deleted, or null if not applicable\").nullable().optional(),\n completed_at: z.number().int().describe(\"Unix timestamp (in seconds) for when the job completed, or null if not yet completed\").nullable().optional(),\n remixed_from_video_id: z.string().describe(\"The ID of the original video that this remix was created from\").nullable().optional(),\n}).passthrough().describe(\"Response model for video remix creation, containing the video job status and metadata.\");\n\nexport const openaiCreateVideoRemix = action(\"OPENAI_CREATE_VIDEO_REMIX\", {\n slug: \"openai-create-video-remix\",\n name: \"Create Video Remix\",\n description: \"Tool to create a video remix from an existing generated video using OpenAI's Video API. Use when you need to transform or modify a previously generated video based on a new prompt. The remix operation creates a new video job that applies the new prompt to the original video content.\",\n input: OpenaiCreateVideoRemixInput,\n output: OpenaiCreateVideoRemixOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CAC7J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;AAC7I,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,yCAAyCA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAY;CAAa;AAAW,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACnK,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAe;CAAa;AAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAC7J,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAK;CAAK;AAAI,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAC3H,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAM,uCAAuC,SAAS;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