@keystrokehq/openai 0.1.2 → 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/dist/actions/add-upload-part.cjs +1 -1
- package/dist/actions/add-upload-part.cjs.map +1 -1
- package/dist/actions/add-upload-part.d.cts +1 -1
- package/dist/actions/add-upload-part.d.mts +1 -1
- package/dist/actions/add-upload-part.mjs +1 -1
- package/dist/actions/add-upload-part.mjs.map +1 -1
- package/dist/actions/cancel-batch.cjs +6 -6
- package/dist/actions/cancel-batch.cjs.map +1 -1
- package/dist/actions/cancel-batch.d.cts +10 -10
- package/dist/actions/cancel-batch.d.mts +10 -10
- package/dist/actions/cancel-batch.mjs +6 -6
- package/dist/actions/cancel-batch.mjs.map +1 -1
- package/dist/actions/cancel-eval-run.cjs +8 -8
- package/dist/actions/cancel-eval-run.cjs.map +1 -1
- package/dist/actions/cancel-eval-run.d.cts +8 -8
- package/dist/actions/cancel-eval-run.d.mts +8 -8
- package/dist/actions/cancel-eval-run.mjs +8 -8
- package/dist/actions/cancel-eval-run.mjs.map +1 -1
- package/dist/actions/cancel-response.cjs +11 -11
- package/dist/actions/cancel-response.cjs.map +1 -1
- package/dist/actions/cancel-response.d.cts +11 -11
- package/dist/actions/cancel-response.d.mts +11 -11
- package/dist/actions/cancel-response.mjs +11 -11
- package/dist/actions/cancel-response.mjs.map +1 -1
- package/dist/actions/cancel-run.cjs +7 -7
- package/dist/actions/cancel-run.cjs.map +1 -1
- package/dist/actions/cancel-run.d.cts +11 -11
- package/dist/actions/cancel-run.d.mts +11 -11
- package/dist/actions/cancel-run.mjs +7 -7
- package/dist/actions/cancel-run.mjs.map +1 -1
- package/dist/actions/cancel-upload.cjs +2 -2
- package/dist/actions/cancel-upload.cjs.map +1 -1
- package/dist/actions/cancel-upload.d.cts +3 -3
- package/dist/actions/cancel-upload.d.mts +3 -3
- package/dist/actions/cancel-upload.mjs +2 -2
- package/dist/actions/cancel-upload.mjs.map +1 -1
- package/dist/actions/compact-response.cjs +9 -9
- package/dist/actions/compact-response.cjs.map +1 -1
- package/dist/actions/compact-response.d.cts +11 -9
- package/dist/actions/compact-response.d.mts +11 -9
- package/dist/actions/compact-response.mjs +9 -9
- 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 +3 -3
- package/dist/actions/create-audio-transcription.d.mts +3 -3
- 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 +1 -1
- package/dist/actions/create-audio-translation.d.mts +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 +9 -9
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +14 -14
- package/dist/actions/create-batch.d.mts +14 -14
- package/dist/actions/create-batch.mjs +9 -9
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-chat-completion.cjs +13 -13
- package/dist/actions/create-chat-completion.cjs.map +1 -1
- package/dist/actions/create-chat-completion.d.cts +19 -16
- package/dist/actions/create-chat-completion.d.mts +19 -16
- package/dist/actions/create-chat-completion.mjs +13 -13
- package/dist/actions/create-chat-completion.mjs.map +1 -1
- package/dist/actions/create-completion.cjs +9 -9
- package/dist/actions/create-completion.cjs.map +1 -1
- package/dist/actions/create-completion.d.cts +11 -11
- package/dist/actions/create-completion.d.mts +11 -11
- package/dist/actions/create-completion.mjs +9 -9
- package/dist/actions/create-completion.mjs.map +1 -1
- package/dist/actions/create-container-file.cjs +1 -1
- package/dist/actions/create-container-file.cjs.map +1 -1
- package/dist/actions/create-container-file.d.cts +1 -1
- package/dist/actions/create-container-file.d.mts +1 -1
- package/dist/actions/create-container-file.mjs +1 -1
- package/dist/actions/create-container-file.mjs.map +1 -1
- package/dist/actions/create-container.cjs +8 -8
- package/dist/actions/create-container.cjs.map +1 -1
- package/dist/actions/create-container.d.cts +13 -9
- package/dist/actions/create-container.d.cts.map +1 -1
- package/dist/actions/create-container.d.mts +13 -9
- package/dist/actions/create-container.d.mts.map +1 -1
- package/dist/actions/create-container.mjs +8 -8
- package/dist/actions/create-container.mjs.map +1 -1
- package/dist/actions/create-conversation-items.cjs +4 -4
- package/dist/actions/create-conversation-items.cjs.map +1 -1
- package/dist/actions/create-conversation-items.d.cts +6 -4
- package/dist/actions/create-conversation-items.d.cts.map +1 -1
- package/dist/actions/create-conversation-items.d.mts +6 -4
- package/dist/actions/create-conversation-items.d.mts.map +1 -1
- package/dist/actions/create-conversation-items.mjs +4 -4
- package/dist/actions/create-conversation-items.mjs.map +1 -1
- package/dist/actions/create-conversation.cjs +3 -3
- package/dist/actions/create-conversation.cjs.map +1 -1
- package/dist/actions/create-conversation.d.cts +5 -4
- package/dist/actions/create-conversation.d.cts.map +1 -1
- package/dist/actions/create-conversation.d.mts +5 -4
- package/dist/actions/create-conversation.d.mts.map +1 -1
- package/dist/actions/create-conversation.mjs +3 -3
- package/dist/actions/create-conversation.mjs.map +1 -1
- package/dist/actions/create-embeddings.cjs +3 -3
- package/dist/actions/create-embeddings.cjs.map +1 -1
- package/dist/actions/create-embeddings.d.cts +3 -3
- package/dist/actions/create-embeddings.d.mts +3 -3
- package/dist/actions/create-embeddings.mjs +3 -3
- package/dist/actions/create-embeddings.mjs.map +1 -1
- package/dist/actions/create-eval-run.cjs +19 -19
- package/dist/actions/create-eval-run.cjs.map +1 -1
- package/dist/actions/create-eval-run.d.cts +32 -23
- package/dist/actions/create-eval-run.d.mts +32 -23
- package/dist/actions/create-eval-run.mjs +19 -19
- package/dist/actions/create-eval-run.mjs.map +1 -1
- package/dist/actions/create-eval.cjs +10 -10
- package/dist/actions/create-eval.cjs.map +1 -1
- package/dist/actions/create-eval.d.cts +19 -10
- package/dist/actions/create-eval.d.mts +19 -10
- package/dist/actions/create-eval.mjs +10 -10
- package/dist/actions/create-eval.mjs.map +1 -1
- package/dist/actions/create-fine-tuning-job.cjs +4 -4
- package/dist/actions/create-fine-tuning-job.cjs.map +1 -1
- package/dist/actions/create-fine-tuning-job.d.cts +5 -5
- package/dist/actions/create-fine-tuning-job.d.mts +5 -5
- package/dist/actions/create-fine-tuning-job.mjs +4 -4
- package/dist/actions/create-fine-tuning-job.mjs.map +1 -1
- package/dist/actions/create-image-edit.cjs +5 -5
- package/dist/actions/create-image-edit.cjs.map +1 -1
- package/dist/actions/create-image-edit.d.cts +7 -6
- package/dist/actions/create-image-edit.d.mts +7 -6
- package/dist/actions/create-image-edit.mjs +5 -5
- package/dist/actions/create-image-edit.mjs.map +1 -1
- package/dist/actions/create-image-variation.cjs +2 -2
- package/dist/actions/create-image-variation.cjs.map +1 -1
- package/dist/actions/create-image-variation.d.cts +2 -2
- package/dist/actions/create-image-variation.d.mts +2 -2
- package/dist/actions/create-image-variation.mjs +2 -2
- package/dist/actions/create-image-variation.mjs.map +1 -1
- package/dist/actions/create-image.cjs +4 -4
- package/dist/actions/create-image.cjs.map +1 -1
- package/dist/actions/create-image.d.cts +4 -4
- package/dist/actions/create-image.d.mts +4 -4
- package/dist/actions/create-image.mjs +4 -4
- package/dist/actions/create-image.mjs.map +1 -1
- package/dist/actions/create-message.cjs +13 -13
- package/dist/actions/create-message.cjs.map +1 -1
- package/dist/actions/create-message.d.cts +17 -14
- package/dist/actions/create-message.d.cts.map +1 -1
- package/dist/actions/create-message.d.mts +17 -14
- package/dist/actions/create-message.d.mts.map +1 -1
- package/dist/actions/create-message.mjs +13 -13
- package/dist/actions/create-message.mjs.map +1 -1
- package/dist/actions/create-moderation.cjs +7 -7
- package/dist/actions/create-moderation.cjs.map +1 -1
- package/dist/actions/create-moderation.d.cts +9 -8
- package/dist/actions/create-moderation.d.cts.map +1 -1
- package/dist/actions/create-moderation.d.mts +9 -8
- package/dist/actions/create-moderation.d.mts.map +1 -1
- package/dist/actions/create-moderation.mjs +7 -7
- package/dist/actions/create-moderation.mjs.map +1 -1
- package/dist/actions/create-realtime-call.cjs +1 -1
- package/dist/actions/create-realtime-call.cjs.map +1 -1
- package/dist/actions/create-realtime-call.d.cts +1 -1
- package/dist/actions/create-realtime-call.d.mts +1 -1
- package/dist/actions/create-realtime-call.mjs +1 -1
- package/dist/actions/create-realtime-call.mjs.map +1 -1
- package/dist/actions/create-realtime-client-secret.cjs +3 -3
- package/dist/actions/create-realtime-client-secret.cjs.map +1 -1
- package/dist/actions/create-realtime-client-secret.d.cts +5 -3
- package/dist/actions/create-realtime-client-secret.d.mts +5 -3
- package/dist/actions/create-realtime-client-secret.mjs +3 -3
- package/dist/actions/create-realtime-client-secret.mjs.map +1 -1
- package/dist/actions/create-realtime-session.cjs +6 -6
- package/dist/actions/create-realtime-session.cjs.map +1 -1
- package/dist/actions/create-realtime-session.d.cts +10 -6
- package/dist/actions/create-realtime-session.d.mts +10 -6
- package/dist/actions/create-realtime-session.mjs +6 -6
- package/dist/actions/create-realtime-session.mjs.map +1 -1
- package/dist/actions/create-realtime-transcription-session.cjs +4 -4
- package/dist/actions/create-realtime-transcription-session.cjs.map +1 -1
- package/dist/actions/create-realtime-transcription-session.d.cts +4 -4
- package/dist/actions/create-realtime-transcription-session.d.mts +4 -4
- package/dist/actions/create-realtime-transcription-session.mjs +4 -4
- package/dist/actions/create-realtime-transcription-session.mjs.map +1 -1
- package/dist/actions/create-response.cjs +15 -15
- package/dist/actions/create-response.cjs.map +1 -1
- package/dist/actions/create-response.d.cts +28 -18
- package/dist/actions/create-response.d.mts +28 -18
- package/dist/actions/create-response.mjs +15 -15
- package/dist/actions/create-response.mjs.map +1 -1
- package/dist/actions/create-run.cjs +24 -24
- package/dist/actions/create-run.cjs.map +1 -1
- package/dist/actions/create-run.d.cts +36 -31
- package/dist/actions/create-run.d.mts +36 -31
- package/dist/actions/create-run.mjs +24 -24
- package/dist/actions/create-run.mjs.map +1 -1
- package/dist/actions/create-skill.cjs +3 -3
- package/dist/actions/create-skill.cjs.map +1 -1
- package/dist/actions/create-skill.d.cts +5 -3
- package/dist/actions/create-skill.d.mts +5 -3
- package/dist/actions/create-skill.mjs +3 -3
- package/dist/actions/create-skill.mjs.map +1 -1
- package/dist/actions/create-speech.cjs +2 -2
- package/dist/actions/create-speech.cjs.map +1 -1
- package/dist/actions/create-speech.d.cts +2 -2
- package/dist/actions/create-speech.d.mts +2 -2
- package/dist/actions/create-speech.mjs +2 -2
- package/dist/actions/create-speech.mjs.map +1 -1
- package/dist/actions/create-thread-and-run.cjs +29 -29
- package/dist/actions/create-thread-and-run.cjs.map +1 -1
- package/dist/actions/create-thread-and-run.d.cts +46 -39
- package/dist/actions/create-thread-and-run.d.mts +46 -39
- package/dist/actions/create-thread-and-run.mjs +29 -29
- package/dist/actions/create-thread-and-run.mjs.map +1 -1
- package/dist/actions/create-thread.cjs +5 -5
- package/dist/actions/create-thread.cjs.map +1 -1
- package/dist/actions/create-thread.d.cts +7 -6
- package/dist/actions/create-thread.d.cts.map +1 -1
- package/dist/actions/create-thread.d.mts +7 -6
- package/dist/actions/create-thread.d.mts.map +1 -1
- package/dist/actions/create-thread.mjs +5 -5
- package/dist/actions/create-thread.mjs.map +1 -1
- package/dist/actions/create-upload.cjs +2 -2
- package/dist/actions/create-upload.cjs.map +1 -1
- package/dist/actions/create-upload.d.cts +3 -3
- package/dist/actions/create-upload.d.mts +3 -3
- package/dist/actions/create-upload.mjs +2 -2
- package/dist/actions/create-upload.mjs.map +1 -1
- package/dist/actions/create-vector-store-file-batch.cjs +11 -11
- package/dist/actions/create-vector-store-file-batch.cjs.map +1 -1
- package/dist/actions/create-vector-store-file-batch.d.cts +21 -14
- package/dist/actions/create-vector-store-file-batch.d.cts.map +1 -1
- package/dist/actions/create-vector-store-file-batch.d.mts +21 -14
- package/dist/actions/create-vector-store-file-batch.d.mts.map +1 -1
- package/dist/actions/create-vector-store-file-batch.mjs +11 -11
- package/dist/actions/create-vector-store-file-batch.mjs.map +1 -1
- package/dist/actions/create-vector-store-file.cjs +7 -7
- package/dist/actions/create-vector-store-file.cjs.map +1 -1
- package/dist/actions/create-vector-store-file.d.cts +11 -8
- package/dist/actions/create-vector-store-file.d.mts +11 -8
- package/dist/actions/create-vector-store-file.mjs +7 -7
- package/dist/actions/create-vector-store-file.mjs.map +1 -1
- package/dist/actions/create-vector-store.cjs +8 -8
- package/dist/actions/create-vector-store.cjs.map +1 -1
- package/dist/actions/create-vector-store.d.cts +12 -9
- package/dist/actions/create-vector-store.d.mts +12 -9
- package/dist/actions/create-vector-store.mjs +8 -8
- package/dist/actions/create-vector-store.mjs.map +1 -1
- package/dist/actions/create-video-remix.cjs +2 -2
- package/dist/actions/create-video-remix.cjs.map +1 -1
- package/dist/actions/create-video-remix.d.cts +3 -3
- package/dist/actions/create-video-remix.d.mts +3 -3
- package/dist/actions/create-video-remix.mjs +2 -2
- package/dist/actions/create-video-remix.mjs.map +1 -1
- package/dist/actions/create-video.cjs +2 -2
- package/dist/actions/create-video.cjs.map +1 -1
- package/dist/actions/create-video.d.cts +2 -2
- package/dist/actions/create-video.d.mts +2 -2
- package/dist/actions/create-video.mjs +2 -2
- 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 +1 -1
- package/dist/actions/delete-assistant.d.mts +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 +1 -1
- package/dist/actions/delete-chat-completion.cjs.map +1 -1
- package/dist/actions/delete-chat-completion.d.cts +1 -1
- package/dist/actions/delete-chat-completion.d.mts +1 -1
- package/dist/actions/delete-chat-completion.mjs +1 -1
- 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 +1 -1
- package/dist/actions/delete-container-file.d.mts +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 +1 -1
- package/dist/actions/delete-container.cjs.map +1 -1
- package/dist/actions/delete-container.d.cts +1 -1
- package/dist/actions/delete-container.d.mts +1 -1
- package/dist/actions/delete-container.mjs +1 -1
- 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 +1 -1
- package/dist/actions/delete-conversation-item.d.mts +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 +1 -1
- package/dist/actions/delete-conversation.cjs.map +1 -1
- package/dist/actions/delete-conversation.d.cts +1 -1
- package/dist/actions/delete-conversation.d.mts +1 -1
- package/dist/actions/delete-conversation.mjs +1 -1
- package/dist/actions/delete-conversation.mjs.map +1 -1
- package/dist/actions/delete-eval-run.cjs +1 -1
- package/dist/actions/delete-eval-run.cjs.map +1 -1
- package/dist/actions/delete-eval-run.d.cts +1 -1
- package/dist/actions/delete-eval-run.d.mts +1 -1
- package/dist/actions/delete-eval-run.mjs +1 -1
- package/dist/actions/delete-eval-run.mjs.map +1 -1
- package/dist/actions/delete-eval.cjs +1 -1
- package/dist/actions/delete-eval.cjs.map +1 -1
- package/dist/actions/delete-eval.d.cts +1 -1
- package/dist/actions/delete-eval.d.mts +1 -1
- package/dist/actions/delete-eval.mjs +1 -1
- package/dist/actions/delete-eval.mjs.map +1 -1
- package/dist/actions/delete-file.cjs +1 -1
- package/dist/actions/delete-file.cjs.map +1 -1
- package/dist/actions/delete-file.d.cts +1 -1
- package/dist/actions/delete-file.d.mts +1 -1
- package/dist/actions/delete-file.mjs +1 -1
- package/dist/actions/delete-file.mjs.map +1 -1
- package/dist/actions/delete-message.cjs +1 -1
- package/dist/actions/delete-message.cjs.map +1 -1
- package/dist/actions/delete-message.d.cts +1 -1
- package/dist/actions/delete-message.d.mts +1 -1
- package/dist/actions/delete-message.mjs +1 -1
- package/dist/actions/delete-message.mjs.map +1 -1
- package/dist/actions/delete-response.cjs +1 -1
- package/dist/actions/delete-response.cjs.map +1 -1
- package/dist/actions/delete-response.d.cts +1 -1
- package/dist/actions/delete-response.d.mts +1 -1
- package/dist/actions/delete-response.mjs +1 -1
- package/dist/actions/delete-response.mjs.map +1 -1
- package/dist/actions/delete-skill.cjs +1 -1
- package/dist/actions/delete-skill.cjs.map +1 -1
- package/dist/actions/delete-skill.d.cts +1 -1
- package/dist/actions/delete-skill.d.mts +1 -1
- package/dist/actions/delete-skill.mjs +1 -1
- package/dist/actions/delete-skill.mjs.map +1 -1
- package/dist/actions/delete-thread.cjs +1 -1
- package/dist/actions/delete-thread.cjs.map +1 -1
- package/dist/actions/delete-thread.d.cts +1 -1
- package/dist/actions/delete-thread.d.mts +1 -1
- package/dist/actions/delete-thread.mjs +1 -1
- 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 +1 -1
- package/dist/actions/delete-vector-store-file.d.mts +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 +1 -1
- package/dist/actions/delete-vector-store.cjs.map +1 -1
- package/dist/actions/delete-vector-store.d.cts +1 -1
- package/dist/actions/delete-vector-store.d.mts +1 -1
- package/dist/actions/delete-vector-store.mjs +1 -1
- package/dist/actions/delete-vector-store.mjs.map +1 -1
- package/dist/actions/delete-video.cjs +1 -1
- package/dist/actions/delete-video.cjs.map +1 -1
- package/dist/actions/delete-video.d.cts +1 -1
- package/dist/actions/delete-video.d.mts +1 -1
- package/dist/actions/delete-video.mjs +1 -1
- package/dist/actions/delete-video.mjs.map +1 -1
- package/dist/actions/download-file.cjs +2 -2
- package/dist/actions/download-file.cjs.map +1 -1
- package/dist/actions/download-file.d.cts +2 -2
- package/dist/actions/download-file.d.mts +2 -2
- package/dist/actions/download-file.mjs +2 -2
- package/dist/actions/download-file.mjs.map +1 -1
- package/dist/actions/download-video.cjs +2 -2
- package/dist/actions/download-video.cjs.map +1 -1
- package/dist/actions/download-video.d.cts +2 -2
- package/dist/actions/download-video.d.mts +2 -2
- package/dist/actions/download-video.mjs +2 -2
- package/dist/actions/download-video.mjs.map +1 -1
- package/dist/actions/get-chat-completion-messages.cjs +2 -2
- package/dist/actions/get-chat-completion-messages.cjs.map +1 -1
- package/dist/actions/get-chat-completion-messages.d.cts +2 -2
- package/dist/actions/get-chat-completion-messages.d.mts +2 -2
- package/dist/actions/get-chat-completion-messages.mjs +2 -2
- package/dist/actions/get-chat-completion-messages.mjs.map +1 -1
- package/dist/actions/get-chat-completion.cjs +7 -7
- package/dist/actions/get-chat-completion.cjs.map +1 -1
- package/dist/actions/get-chat-completion.d.cts +7 -7
- package/dist/actions/get-chat-completion.d.mts +7 -7
- package/dist/actions/get-chat-completion.mjs +7 -7
- package/dist/actions/get-chat-completion.mjs.map +1 -1
- package/dist/actions/get-chatkit-thread.cjs +4 -4
- package/dist/actions/get-chatkit-thread.cjs.map +1 -1
- package/dist/actions/get-chatkit-thread.d.cts +4 -4
- package/dist/actions/get-chatkit-thread.d.mts +4 -4
- package/dist/actions/get-chatkit-thread.mjs +4 -4
- package/dist/actions/get-chatkit-thread.mjs.map +1 -1
- package/dist/actions/get-conversation-item.cjs +1 -1
- package/dist/actions/get-conversation-item.cjs.map +1 -1
- package/dist/actions/get-conversation-item.d.cts +1 -1
- package/dist/actions/get-conversation-item.d.mts +1 -1
- package/dist/actions/get-conversation-item.mjs +1 -1
- package/dist/actions/get-conversation-item.mjs.map +1 -1
- package/dist/actions/get-eval-run-output-item.cjs +5 -5
- package/dist/actions/get-eval-run-output-item.cjs.map +1 -1
- package/dist/actions/get-eval-run-output-item.d.cts +5 -5
- package/dist/actions/get-eval-run-output-item.d.mts +5 -5
- package/dist/actions/get-eval-run-output-item.mjs +5 -5
- package/dist/actions/get-eval-run-output-item.mjs.map +1 -1
- package/dist/actions/get-eval-run-output-items.cjs +6 -6
- package/dist/actions/get-eval-run-output-items.cjs.map +1 -1
- package/dist/actions/get-eval-run-output-items.d.cts +7 -7
- package/dist/actions/get-eval-run-output-items.d.mts +7 -7
- package/dist/actions/get-eval-run-output-items.mjs +6 -6
- package/dist/actions/get-eval-run-output-items.mjs.map +1 -1
- package/dist/actions/get-eval-run.cjs +10 -10
- package/dist/actions/get-eval-run.cjs.map +1 -1
- package/dist/actions/get-eval-run.d.cts +14 -14
- package/dist/actions/get-eval-run.d.mts +14 -14
- package/dist/actions/get-eval-run.mjs +10 -10
- package/dist/actions/get-eval-run.mjs.map +1 -1
- package/dist/actions/get-eval-runs.cjs +6 -6
- package/dist/actions/get-eval-runs.cjs.map +1 -1
- package/dist/actions/get-eval-runs.d.cts +8 -8
- package/dist/actions/get-eval-runs.d.mts +8 -8
- package/dist/actions/get-eval-runs.mjs +6 -6
- package/dist/actions/get-eval-runs.mjs.map +1 -1
- package/dist/actions/get-eval.cjs +1 -1
- package/dist/actions/get-eval.cjs.map +1 -1
- package/dist/actions/get-eval.d.cts +1 -1
- package/dist/actions/get-eval.d.mts +1 -1
- package/dist/actions/get-eval.mjs +1 -1
- package/dist/actions/get-eval.mjs.map +1 -1
- package/dist/actions/get-input-token-counts.cjs +1 -1
- package/dist/actions/get-input-token-counts.cjs.map +1 -1
- package/dist/actions/get-input-token-counts.d.cts +3 -3
- package/dist/actions/get-input-token-counts.d.mts +3 -3
- package/dist/actions/get-input-token-counts.mjs +1 -1
- package/dist/actions/get-input-token-counts.mjs.map +1 -1
- package/dist/actions/get-message.cjs +9 -9
- package/dist/actions/get-message.cjs.map +1 -1
- package/dist/actions/get-message.d.cts +9 -9
- package/dist/actions/get-message.d.mts +9 -9
- package/dist/actions/get-message.mjs +9 -9
- package/dist/actions/get-message.mjs.map +1 -1
- package/dist/actions/get-response.cjs +9 -9
- package/dist/actions/get-response.cjs.map +1 -1
- package/dist/actions/get-response.d.cts +9 -9
- package/dist/actions/get-response.d.mts +9 -9
- package/dist/actions/get-response.mjs +9 -9
- package/dist/actions/get-response.mjs.map +1 -1
- package/dist/actions/get-run-step.cjs +15 -15
- package/dist/actions/get-run-step.cjs.map +1 -1
- package/dist/actions/get-run-step.d.cts +16 -16
- package/dist/actions/get-run-step.d.mts +16 -16
- package/dist/actions/get-run-step.mjs +15 -15
- package/dist/actions/get-run-step.mjs.map +1 -1
- package/dist/actions/get-vector-store-file-batch.cjs +2 -2
- package/dist/actions/get-vector-store-file-batch.cjs.map +1 -1
- package/dist/actions/get-vector-store-file-batch.d.cts +3 -3
- package/dist/actions/get-vector-store-file-batch.d.mts +3 -3
- package/dist/actions/get-vector-store-file-batch.mjs +2 -2
- package/dist/actions/get-vector-store-file-batch.mjs.map +1 -1
- package/dist/actions/get-vector-store-file.cjs +4 -4
- package/dist/actions/get-vector-store-file.cjs.map +1 -1
- package/dist/actions/get-vector-store-file.d.cts +5 -5
- package/dist/actions/get-vector-store-file.d.mts +5 -5
- package/dist/actions/get-vector-store-file.mjs +4 -4
- package/dist/actions/get-vector-store-file.mjs.map +1 -1
- package/dist/actions/get-vector-store.cjs +4 -4
- package/dist/actions/get-vector-store.cjs.map +1 -1
- package/dist/actions/get-vector-store.d.cts +4 -4
- package/dist/actions/get-vector-store.d.mts +4 -4
- package/dist/actions/get-vector-store.mjs +4 -4
- package/dist/actions/get-vector-store.mjs.map +1 -1
- package/dist/actions/get-video.cjs +2 -2
- package/dist/actions/get-video.cjs.map +1 -1
- package/dist/actions/get-video.d.cts +3 -3
- package/dist/actions/get-video.d.mts +3 -3
- package/dist/actions/get-video.mjs +2 -2
- package/dist/actions/get-video.mjs.map +1 -1
- package/dist/actions/list-assistants.cjs +16 -16
- package/dist/actions/list-assistants.cjs.map +1 -1
- package/dist/actions/list-assistants.d.cts +16 -16
- package/dist/actions/list-assistants.d.mts +16 -16
- package/dist/actions/list-assistants.mjs +16 -16
- package/dist/actions/list-assistants.mjs.map +1 -1
- package/dist/actions/list-batches.cjs +8 -8
- package/dist/actions/list-batches.cjs.map +1 -1
- package/dist/actions/list-batches.d.cts +12 -12
- package/dist/actions/list-batches.d.mts +12 -12
- package/dist/actions/list-batches.mjs +8 -8
- package/dist/actions/list-batches.mjs.map +1 -1
- package/dist/actions/list-chat-completions.cjs +4 -4
- package/dist/actions/list-chat-completions.cjs.map +1 -1
- package/dist/actions/list-chat-completions.d.cts +4 -4
- package/dist/actions/list-chat-completions.d.mts +4 -4
- package/dist/actions/list-chat-completions.mjs +4 -4
- package/dist/actions/list-chat-completions.mjs.map +1 -1
- package/dist/actions/list-chatkit-thread-items.cjs +2 -2
- package/dist/actions/list-chatkit-thread-items.cjs.map +1 -1
- package/dist/actions/list-chatkit-thread-items.d.cts +2 -2
- package/dist/actions/list-chatkit-thread-items.d.mts +2 -2
- package/dist/actions/list-chatkit-thread-items.mjs +2 -2
- package/dist/actions/list-chatkit-thread-items.mjs.map +1 -1
- package/dist/actions/list-container-files.cjs +2 -2
- package/dist/actions/list-container-files.cjs.map +1 -1
- package/dist/actions/list-container-files.d.cts +2 -2
- package/dist/actions/list-container-files.d.mts +2 -2
- package/dist/actions/list-container-files.mjs +2 -2
- package/dist/actions/list-container-files.mjs.map +1 -1
- package/dist/actions/list-containers.cjs +4 -4
- package/dist/actions/list-containers.cjs.map +1 -1
- package/dist/actions/list-containers.d.cts +4 -4
- package/dist/actions/list-containers.d.mts +4 -4
- package/dist/actions/list-containers.mjs +4 -4
- package/dist/actions/list-containers.mjs.map +1 -1
- package/dist/actions/list-conversation-items.cjs +2 -2
- package/dist/actions/list-conversation-items.cjs.map +1 -1
- package/dist/actions/list-conversation-items.d.cts +2 -2
- package/dist/actions/list-conversation-items.d.mts +2 -2
- package/dist/actions/list-conversation-items.mjs +2 -2
- package/dist/actions/list-conversation-items.mjs.map +1 -1
- package/dist/actions/list-engines.cjs +2 -2
- package/dist/actions/list-engines.cjs.map +1 -1
- package/dist/actions/list-engines.d.cts +2 -2
- package/dist/actions/list-engines.d.mts +2 -2
- package/dist/actions/list-engines.mjs +2 -2
- package/dist/actions/list-engines.mjs.map +1 -1
- package/dist/actions/list-evals.cjs +14 -14
- package/dist/actions/list-evals.cjs.map +1 -1
- package/dist/actions/list-evals.d.cts +15 -15
- package/dist/actions/list-evals.d.mts +15 -15
- package/dist/actions/list-evals.mjs +14 -14
- package/dist/actions/list-evals.mjs.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.cjs +5 -5
- package/dist/actions/list-files-in-vector-store-batch.cjs.map +1 -1
- package/dist/actions/list-files-in-vector-store-batch.d.cts +8 -8
- package/dist/actions/list-files-in-vector-store-batch.d.mts +8 -8
- package/dist/actions/list-files-in-vector-store-batch.mjs +5 -5
- package/dist/actions/list-files-in-vector-store-batch.mjs.map +1 -1
- package/dist/actions/list-files.cjs +2 -2
- package/dist/actions/list-files.cjs.map +1 -1
- package/dist/actions/list-files.d.cts +2 -2
- package/dist/actions/list-files.d.mts +2 -2
- package/dist/actions/list-files.mjs +2 -2
- package/dist/actions/list-files.mjs.map +1 -1
- package/dist/actions/list-fine-tunes.cjs +5 -5
- package/dist/actions/list-fine-tunes.cjs.map +1 -1
- package/dist/actions/list-fine-tunes.d.cts +7 -7
- package/dist/actions/list-fine-tunes.d.mts +7 -7
- package/dist/actions/list-fine-tunes.mjs +5 -5
- package/dist/actions/list-fine-tunes.mjs.map +1 -1
- package/dist/actions/list-fine-tuning-events.cjs +2 -2
- package/dist/actions/list-fine-tuning-events.cjs.map +1 -1
- package/dist/actions/list-fine-tuning-events.d.cts +2 -2
- package/dist/actions/list-fine-tuning-events.d.mts +2 -2
- package/dist/actions/list-fine-tuning-events.mjs +2 -2
- package/dist/actions/list-fine-tuning-events.mjs.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.cjs +3 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.cjs.map +1 -1
- package/dist/actions/list-fine-tuning-job-checkpoints.d.cts +3 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.d.mts +3 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.mjs +3 -3
- package/dist/actions/list-fine-tuning-job-checkpoints.mjs.map +1 -1
- package/dist/actions/list-input-items.cjs +2 -2
- package/dist/actions/list-input-items.cjs.map +1 -1
- package/dist/actions/list-input-items.d.cts +2 -2
- package/dist/actions/list-input-items.d.mts +2 -2
- package/dist/actions/list-input-items.mjs +2 -2
- package/dist/actions/list-input-items.mjs.map +1 -1
- package/dist/actions/list-messages.cjs +10 -10
- package/dist/actions/list-messages.cjs.map +1 -1
- package/dist/actions/list-messages.d.cts +10 -10
- package/dist/actions/list-messages.d.mts +10 -10
- package/dist/actions/list-messages.mjs +10 -10
- package/dist/actions/list-messages.mjs.map +1 -1
- package/dist/actions/list-models.cjs +3 -3
- package/dist/actions/list-models.cjs.map +1 -1
- package/dist/actions/list-models.d.cts +3 -3
- package/dist/actions/list-models.d.mts +3 -3
- package/dist/actions/list-models.mjs +3 -3
- package/dist/actions/list-models.mjs.map +1 -1
- package/dist/actions/list-run-steps.cjs +16 -16
- package/dist/actions/list-run-steps.cjs.map +1 -1
- package/dist/actions/list-run-steps.d.cts +17 -17
- package/dist/actions/list-run-steps.d.mts +17 -17
- package/dist/actions/list-run-steps.mjs +16 -16
- package/dist/actions/list-run-steps.mjs.map +1 -1
- package/dist/actions/list-runs.cjs +8 -8
- package/dist/actions/list-runs.cjs.map +1 -1
- package/dist/actions/list-runs.d.cts +12 -12
- package/dist/actions/list-runs.d.mts +12 -12
- package/dist/actions/list-runs.mjs +8 -8
- package/dist/actions/list-runs.mjs.map +1 -1
- package/dist/actions/list-skills.cjs +2 -2
- package/dist/actions/list-skills.cjs.map +1 -1
- package/dist/actions/list-skills.d.cts +2 -2
- package/dist/actions/list-skills.d.mts +2 -2
- package/dist/actions/list-skills.mjs +2 -2
- package/dist/actions/list-skills.mjs.map +1 -1
- package/dist/actions/list-threads.cjs +4 -4
- package/dist/actions/list-threads.cjs.map +1 -1
- package/dist/actions/list-threads.d.cts +4 -4
- package/dist/actions/list-threads.d.mts +4 -4
- package/dist/actions/list-threads.mjs +4 -4
- package/dist/actions/list-threads.mjs.map +1 -1
- package/dist/actions/list-vector-store-files.cjs +3 -3
- package/dist/actions/list-vector-store-files.cjs.map +1 -1
- package/dist/actions/list-vector-store-files.d.cts +6 -6
- package/dist/actions/list-vector-store-files.d.mts +6 -6
- package/dist/actions/list-vector-store-files.mjs +3 -3
- package/dist/actions/list-vector-store-files.mjs.map +1 -1
- package/dist/actions/list-vector-stores.cjs +5 -5
- package/dist/actions/list-vector-stores.cjs.map +1 -1
- package/dist/actions/list-vector-stores.d.cts +5 -5
- package/dist/actions/list-vector-stores.d.mts +5 -5
- package/dist/actions/list-vector-stores.mjs +5 -5
- package/dist/actions/list-vector-stores.mjs.map +1 -1
- package/dist/actions/list-videos.cjs +3 -3
- package/dist/actions/list-videos.cjs.map +1 -1
- package/dist/actions/list-videos.d.cts +4 -4
- package/dist/actions/list-videos.d.mts +4 -4
- package/dist/actions/list-videos.mjs +3 -3
- package/dist/actions/list-videos.mjs.map +1 -1
- package/dist/actions/modify-assistant.cjs +3 -3
- package/dist/actions/modify-assistant.cjs.map +1 -1
- package/dist/actions/modify-assistant.d.cts +4 -4
- package/dist/actions/modify-assistant.d.mts +4 -4
- package/dist/actions/modify-assistant.mjs +3 -3
- package/dist/actions/modify-assistant.mjs.map +1 -1
- package/dist/actions/modify-message.cjs +9 -9
- package/dist/actions/modify-message.cjs.map +1 -1
- package/dist/actions/modify-message.d.cts +10 -10
- package/dist/actions/modify-message.d.mts +10 -10
- package/dist/actions/modify-message.mjs +9 -9
- package/dist/actions/modify-message.mjs.map +1 -1
- package/dist/actions/modify-run.cjs +8 -8
- package/dist/actions/modify-run.cjs.map +1 -1
- package/dist/actions/modify-run.d.cts +13 -13
- package/dist/actions/modify-run.d.mts +13 -13
- package/dist/actions/modify-run.mjs +8 -8
- package/dist/actions/modify-run.mjs.map +1 -1
- package/dist/actions/modify-thread.cjs +3 -3
- package/dist/actions/modify-thread.cjs.map +1 -1
- package/dist/actions/modify-thread.d.cts +4 -4
- package/dist/actions/modify-thread.d.mts +4 -4
- package/dist/actions/modify-thread.mjs +3 -3
- package/dist/actions/modify-thread.mjs.map +1 -1
- package/dist/actions/modify-vector-store.cjs +5 -5
- package/dist/actions/modify-vector-store.cjs.map +1 -1
- package/dist/actions/modify-vector-store.d.cts +6 -6
- package/dist/actions/modify-vector-store.d.mts +6 -6
- package/dist/actions/modify-vector-store.mjs +5 -5
- package/dist/actions/modify-vector-store.mjs.map +1 -1
- package/dist/actions/retrieve-assistant.cjs +3 -3
- package/dist/actions/retrieve-assistant.cjs.map +1 -1
- package/dist/actions/retrieve-assistant.d.cts +3 -3
- package/dist/actions/retrieve-assistant.d.mts +3 -3
- package/dist/actions/retrieve-assistant.mjs +3 -3
- package/dist/actions/retrieve-assistant.mjs.map +1 -1
- package/dist/actions/retrieve-batch.cjs +6 -6
- package/dist/actions/retrieve-batch.cjs.map +1 -1
- package/dist/actions/retrieve-batch.d.cts +10 -10
- package/dist/actions/retrieve-batch.d.mts +10 -10
- package/dist/actions/retrieve-batch.mjs +6 -6
- package/dist/actions/retrieve-batch.mjs.map +1 -1
- package/dist/actions/retrieve-container-file-content.cjs +2 -2
- package/dist/actions/retrieve-container-file-content.cjs.map +1 -1
- package/dist/actions/retrieve-container-file-content.d.cts +2 -2
- package/dist/actions/retrieve-container-file-content.d.mts +2 -2
- package/dist/actions/retrieve-container-file-content.mjs +2 -2
- package/dist/actions/retrieve-container-file-content.mjs.map +1 -1
- package/dist/actions/retrieve-container-file.cjs +1 -1
- package/dist/actions/retrieve-container-file.cjs.map +1 -1
- package/dist/actions/retrieve-container-file.d.cts +1 -1
- package/dist/actions/retrieve-container-file.d.mts +1 -1
- package/dist/actions/retrieve-container-file.mjs +1 -1
- package/dist/actions/retrieve-container-file.mjs.map +1 -1
- package/dist/actions/retrieve-container.cjs +3 -3
- package/dist/actions/retrieve-container.cjs.map +1 -1
- package/dist/actions/retrieve-container.d.cts +3 -3
- package/dist/actions/retrieve-container.d.mts +3 -3
- package/dist/actions/retrieve-container.mjs +3 -3
- package/dist/actions/retrieve-container.mjs.map +1 -1
- package/dist/actions/retrieve-engine.cjs +1 -1
- package/dist/actions/retrieve-engine.cjs.map +1 -1
- package/dist/actions/retrieve-engine.d.cts +1 -1
- package/dist/actions/retrieve-engine.d.mts +1 -1
- package/dist/actions/retrieve-engine.mjs +1 -1
- package/dist/actions/retrieve-engine.mjs.map +1 -1
- package/dist/actions/retrieve-file.cjs +1 -1
- package/dist/actions/retrieve-file.cjs.map +1 -1
- package/dist/actions/retrieve-file.d.cts +1 -1
- package/dist/actions/retrieve-file.d.mts +1 -1
- package/dist/actions/retrieve-file.mjs +1 -1
- package/dist/actions/retrieve-file.mjs.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.cjs +4 -4
- package/dist/actions/retrieve-fine-tuning-job.cjs.map +1 -1
- package/dist/actions/retrieve-fine-tuning-job.d.cts +5 -5
- package/dist/actions/retrieve-fine-tuning-job.d.mts +5 -5
- package/dist/actions/retrieve-fine-tuning-job.mjs +4 -4
- package/dist/actions/retrieve-fine-tuning-job.mjs.map +1 -1
- package/dist/actions/retrieve-model.cjs +2 -2
- package/dist/actions/retrieve-model.cjs.map +1 -1
- package/dist/actions/retrieve-model.d.cts +2 -2
- package/dist/actions/retrieve-model.d.mts +2 -2
- package/dist/actions/retrieve-model.mjs +2 -2
- package/dist/actions/retrieve-model.mjs.map +1 -1
- package/dist/actions/retrieve-run.cjs +7 -7
- package/dist/actions/retrieve-run.cjs.map +1 -1
- package/dist/actions/retrieve-run.d.cts +11 -11
- package/dist/actions/retrieve-run.d.mts +11 -11
- package/dist/actions/retrieve-run.mjs +7 -7
- package/dist/actions/retrieve-run.mjs.map +1 -1
- package/dist/actions/retrieve-thread.cjs +2 -2
- package/dist/actions/retrieve-thread.cjs.map +1 -1
- package/dist/actions/retrieve-thread.d.cts +2 -2
- package/dist/actions/retrieve-thread.d.mts +2 -2
- package/dist/actions/retrieve-thread.mjs +2 -2
- package/dist/actions/retrieve-thread.mjs.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.cjs +2 -2
- package/dist/actions/retrieve-vector-store-file-content.cjs.map +1 -1
- package/dist/actions/retrieve-vector-store-file-content.d.cts +2 -2
- package/dist/actions/retrieve-vector-store-file-content.d.mts +2 -2
- package/dist/actions/retrieve-vector-store-file-content.mjs +2 -2
- package/dist/actions/retrieve-vector-store-file-content.mjs.map +1 -1
- package/dist/actions/run-grader.cjs +8 -8
- package/dist/actions/run-grader.cjs.map +1 -1
- package/dist/actions/run-grader.d.cts +13 -8
- package/dist/actions/run-grader.d.mts +13 -8
- package/dist/actions/run-grader.mjs +8 -8
- package/dist/actions/run-grader.mjs.map +1 -1
- package/dist/actions/search-vector-store.cjs +3 -3
- package/dist/actions/search-vector-store.cjs.map +1 -1
- package/dist/actions/search-vector-store.d.cts +3 -3
- package/dist/actions/search-vector-store.d.mts +3 -3
- package/dist/actions/search-vector-store.mjs +3 -3
- package/dist/actions/search-vector-store.mjs.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.cjs +8 -8
- package/dist/actions/submit-tool-outputs-to-run.cjs.map +1 -1
- package/dist/actions/submit-tool-outputs-to-run.d.cts +13 -12
- package/dist/actions/submit-tool-outputs-to-run.d.mts +13 -12
- package/dist/actions/submit-tool-outputs-to-run.mjs +8 -8
- package/dist/actions/submit-tool-outputs-to-run.mjs.map +1 -1
- package/dist/actions/update-chat-completion.cjs +8 -8
- package/dist/actions/update-chat-completion.cjs.map +1 -1
- package/dist/actions/update-chat-completion.d.cts +9 -9
- package/dist/actions/update-chat-completion.d.mts +9 -9
- package/dist/actions/update-chat-completion.mjs +8 -8
- package/dist/actions/update-chat-completion.mjs.map +1 -1
- package/dist/actions/update-conversation.cjs +1 -1
- package/dist/actions/update-conversation.cjs.map +1 -1
- package/dist/actions/update-conversation.d.cts +1 -1
- package/dist/actions/update-conversation.d.mts +1 -1
- package/dist/actions/update-conversation.mjs +1 -1
- package/dist/actions/update-conversation.mjs.map +1 -1
- package/dist/actions/update-eval.cjs +1 -1
- package/dist/actions/update-eval.cjs.map +1 -1
- package/dist/actions/update-eval.d.cts +1 -1
- package/dist/actions/update-eval.d.mts +1 -1
- package/dist/actions/update-eval.mjs +1 -1
- package/dist/actions/update-eval.mjs.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.cjs +4 -4
- package/dist/actions/update-vector-store-file-attributes.cjs.map +1 -1
- package/dist/actions/update-vector-store-file-attributes.d.cts +5 -5
- package/dist/actions/update-vector-store-file-attributes.d.mts +5 -5
- package/dist/actions/update-vector-store-file-attributes.mjs +4 -4
- package/dist/actions/update-vector-store-file-attributes.mjs.map +1 -1
- package/dist/actions/upload-file.cjs +1 -1
- package/dist/actions/upload-file.cjs.map +1 -1
- package/dist/actions/upload-file.d.cts +1 -1
- package/dist/actions/upload-file.d.mts +1 -1
- package/dist/actions/upload-file.mjs +1 -1
- package/dist/actions/upload-file.mjs.map +1 -1
- package/dist/actions/validate-grader.cjs +7 -7
- package/dist/actions/validate-grader.cjs.map +1 -1
- package/dist/actions/validate-grader.d.cts +12 -7
- package/dist/actions/validate-grader.d.cts.map +1 -1
- package/dist/actions/validate-grader.d.mts +12 -7
- package/dist/actions/validate-grader.d.mts.map +1 -1
- package/dist/actions/validate-grader.mjs +7 -7
- package/dist/actions/validate-grader.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -15,12 +15,12 @@ const OpenaiUpdateVectorStoreFileAttributes_VectorStoreFileStatusSchema = z.enum
|
|
|
15
15
|
const OpenaiUpdateVectorStoreFileAttributes_LastErrorInfoSchema = z.object({
|
|
16
16
|
code: z.string().describe("Error code").nullable(),
|
|
17
17
|
message: z.string().describe("Error message").nullable()
|
|
18
|
-
}).describe("Information about the last error that occurred.");
|
|
18
|
+
}).passthrough().describe("Information about the last error that occurred.");
|
|
19
19
|
const OpenaiUpdateVectorStoreFileAttributes_StaticChunkingStrategyResponseSchema = z.object({
|
|
20
20
|
type: z.string().describe("The type of chunking strategy").nullable(),
|
|
21
21
|
static: z.record(z.string(), z.unknown()).describe("The static chunking configuration")
|
|
22
|
-
}).describe("Static chunking strategy in response.");
|
|
23
|
-
const OpenaiUpdateVectorStoreFileAttributes_OtherChunkingStrategyResponseSchema = z.object({ type: z.string().describe("The type of chunking strategy").nullable() }).describe("Other chunking strategy in response.");
|
|
22
|
+
}).passthrough().describe("Static chunking strategy in response.");
|
|
23
|
+
const OpenaiUpdateVectorStoreFileAttributes_OtherChunkingStrategyResponseSchema = z.object({ type: z.string().describe("The type of chunking strategy").nullable() }).passthrough().describe("Other chunking strategy in response.");
|
|
24
24
|
const openaiUpdateVectorStoreFileAttributes = action("OPENAI_UPDATE_VECTOR_STORE_FILE_ATTRIBUTES", {
|
|
25
25
|
slug: "openai-update-vector-store-file-attributes",
|
|
26
26
|
name: "Update Vector Store File Attributes",
|
|
@@ -36,7 +36,7 @@ const openaiUpdateVectorStoreFileAttributes = action("OPENAI_UPDATE_VECTOR_STORE
|
|
|
36
36
|
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(),
|
|
37
37
|
vector_store_id: z.string().describe("The ID of the vector store that the File is attached to.").nullable(),
|
|
38
38
|
chunking_strategy: z.union([OpenaiUpdateVectorStoreFileAttributes_StaticChunkingStrategyResponseSchema, OpenaiUpdateVectorStoreFileAttributes_OtherChunkingStrategyResponseSchema]).nullable().optional()
|
|
39
|
-
}).describe("Response model for updated vector store file.")
|
|
39
|
+
}).passthrough().describe("Response model for updated vector store file.")
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { openaiUpdateVectorStoreFileAttributes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-vector-store-file-attributes.mjs","names":[],"sources":["../../src/actions/update-vector-store-file-attributes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiUpdateVectorStoreFileAttributesInput = z.object({\n file_id: z.string().describe(\"The ID of the file to update attributes.\"),\n attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes to associate with the file. Can be any JSON object with key-value pairs, or null to clear attributes.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store the file belongs to.\"),\n}).describe(\"Request model for updating vector store file attributes.\");\nconst OpenaiUpdateVectorStoreFileAttributes_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiUpdateVectorStoreFileAttributes_LastErrorInfoSchema = z.object({\n code: z.string().describe(\"Error code\").nullable(),\n message: z.string().describe(\"Error message\").nullable(),\n}).describe(\"Information about the last error that occurred.\");\nconst OpenaiUpdateVectorStoreFileAttributes_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}).describe(\"Static chunking strategy in response.\");\nconst OpenaiUpdateVectorStoreFileAttributes_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).describe(\"Other chunking strategy in response.\");\nexport const OpenaiUpdateVectorStoreFileAttributesOutput = 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: OpenaiUpdateVectorStoreFileAttributes_VectorStoreFileStatusSchema.nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"The updated custom attributes associated with the file.\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiUpdateVectorStoreFileAttributes_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([OpenaiUpdateVectorStoreFileAttributes_StaticChunkingStrategyResponseSchema, OpenaiUpdateVectorStoreFileAttributes_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).describe(\"Response model for updated vector store file.\");\n\nexport const openaiUpdateVectorStoreFileAttributes = action(\"OPENAI_UPDATE_VECTOR_STORE_FILE_ATTRIBUTES\", {\n slug: \"openai-update-vector-store-file-attributes\",\n name: \"Update Vector Store File Attributes\",\n description: \"Tool to update custom attributes on a vector store file. Use when you need to add or modify metadata associated with files in a vector store.\",\n input: OpenaiUpdateVectorStoreFileAttributesInput,\n output: OpenaiUpdateVectorStoreFileAttributesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACvE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC3L,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AACxF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,oEAAoE,EAAE,KAAK;CAAC;CAAe;CAAa;CAAa;AAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC/K,MAAM,4DAA4D,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"update-vector-store-file-attributes.mjs","names":[],"sources":["../../src/actions/update-vector-store-file-attributes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiUpdateVectorStoreFileAttributesInput = z.object({\n file_id: z.string().describe(\"The ID of the file to update attributes.\"),\n attributes: z.record(z.string(), z.unknown()).describe(\"Custom attributes to associate with the file. Can be any JSON object with key-value pairs, or null to clear attributes.\").optional(),\n vector_store_id: z.string().describe(\"The ID of the vector store the file belongs to.\"),\n}).describe(\"Request model for updating vector store file attributes.\");\nconst OpenaiUpdateVectorStoreFileAttributes_VectorStoreFileStatusSchema = z.enum([\"in_progress\", \"completed\", \"cancelled\", \"failed\"]).describe(\"Status of a vector store file.\");\nconst OpenaiUpdateVectorStoreFileAttributes_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 OpenaiUpdateVectorStoreFileAttributes_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 OpenaiUpdateVectorStoreFileAttributes_OtherChunkingStrategyResponseSchema = z.object({\n type: z.string().describe(\"The type of chunking strategy\").nullable(),\n}).passthrough().describe(\"Other chunking strategy in response.\");\nexport const OpenaiUpdateVectorStoreFileAttributesOutput = 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: OpenaiUpdateVectorStoreFileAttributes_VectorStoreFileStatusSchema.nullable(),\n attributes: z.record(z.string(), z.unknown()).describe(\"The updated custom attributes associated with the file.\").nullable().optional(),\n created_at: z.number().int().describe(\"The Unix timestamp (in seconds) for when the vector store file was created.\").nullable(),\n last_error: OpenaiUpdateVectorStoreFileAttributes_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([OpenaiUpdateVectorStoreFileAttributes_StaticChunkingStrategyResponseSchema, OpenaiUpdateVectorStoreFileAttributes_OtherChunkingStrategyResponseSchema]).nullable().optional(),\n}).passthrough().describe(\"Response model for updated vector store file.\");\n\nexport const openaiUpdateVectorStoreFileAttributes = action(\"OPENAI_UPDATE_VECTOR_STORE_FILE_ATTRIBUTES\", {\n slug: \"openai-update-vector-store-file-attributes\",\n name: \"Update Vector Store File Attributes\",\n description: \"Tool to update custom attributes on a vector store file. Use when you need to add or modify metadata associated with files in a vector store.\",\n input: OpenaiUpdateVectorStoreFileAttributesInput,\n output: OpenaiUpdateVectorStoreFileAttributesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACvE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC3L,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AACxF,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,oEAAoE,EAAE,KAAK;CAAC;CAAe;CAAa;CAAa;AAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC/K,MAAM,4DAA4D,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,6EAA6E,EAAE,OAAO;CAC1F,MAAM,EAAE,OAAO,CAAC,CAA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zod.z.object({
|
|
|
14
14
|
filename: zod.z.string().describe("Name of the file.").nullable(),
|
|
15
15
|
created_at: zod.z.number().int().describe("Unix timestamp (seconds) when file was created.").nullable(),
|
|
16
16
|
status_details: zod.z.string().describe("Additional details about the file status, if any.").nullable().optional()
|
|
17
|
-
}).describe("Response model for an uploaded file.");
|
|
17
|
+
}).passthrough().describe("Response model for an uploaded file.");
|
|
18
18
|
const openaiUploadFile = require_action.action("OPENAI_UPLOAD_FILE", {
|
|
19
19
|
slug: "openai-upload-file",
|
|
20
20
|
name: "Upload file",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiUploadFileInput = z.object({\n file: z.string().describe(\"Binary content of the file to upload. E.g., open('data.jsonl','rb').read().\"),\n purpose: z.string().describe(\"Intended purpose of the uploaded file. Currently only 'fine-tune' is supported.\"),\n}).describe(\"Request model for uploading a file.\");\nexport const OpenaiUploadFileOutput = z.object({\n id: z.string().describe(\"Unique identifier for the file.\").nullable(),\n bytes: z.number().int().describe(\"Size of the file in bytes.\").nullable(),\n object: z.string().describe(\"Object type, always 'file'.\").nullable(),\n status: z.string().describe(\"Status of the file (e.g., 'uploaded').\").nullable(),\n purpose: z.string().describe(\"Purpose of the file upload.\").nullable(),\n filename: z.string().describe(\"Name of the file.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (seconds) when file was created.\").nullable(),\n status_details: z.string().describe(\"Additional details about the file status, if any.\").nullable().optional(),\n}).describe(\"Response model for an uploaded file.\");\n\nexport const openaiUploadFile = action(\"OPENAI_UPLOAD_FILE\", {\n slug: \"openai-upload-file\",\n name: \"Upload file\",\n description: \"Tool to upload a file for use across OpenAI endpoints. Use before referencing the file in tasks like fine-tuning. Returns a `file_id` that must be explicitly passed to endpoints like OPENAI_CREATE_ASSISTANT or OPENAI_CREATE_MESSAGE — uploaded files are not auto-discovered. Files exceeding size limits return HTTP 413; split or compress oversized content before retrying. Verify uploads via OPENAI_LIST_FILES before referencing `file_id`, as unsupported formats may be silently rejected. Repeated uploads accumulate against storage quotas; delete unused files with OPENAI_DELETE_FILE.\",\n input: OpenaiUploadFileInput,\n output: OpenaiUploadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;AAChH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAClG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,sCAAsC;
|
|
1
|
+
{"version":3,"file":"upload-file.cjs","names":["z","action"],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiUploadFileInput = z.object({\n file: z.string().describe(\"Binary content of the file to upload. E.g., open('data.jsonl','rb').read().\"),\n purpose: z.string().describe(\"Intended purpose of the uploaded file. Currently only 'fine-tune' is supported.\"),\n}).describe(\"Request model for uploading a file.\");\nexport const OpenaiUploadFileOutput = z.object({\n id: z.string().describe(\"Unique identifier for the file.\").nullable(),\n bytes: z.number().int().describe(\"Size of the file in bytes.\").nullable(),\n object: z.string().describe(\"Object type, always 'file'.\").nullable(),\n status: z.string().describe(\"Status of the file (e.g., 'uploaded').\").nullable(),\n purpose: z.string().describe(\"Purpose of the file upload.\").nullable(),\n filename: z.string().describe(\"Name of the file.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (seconds) when file was created.\").nullable(),\n status_details: z.string().describe(\"Additional details about the file status, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response model for an uploaded file.\");\n\nexport const openaiUploadFile = action(\"OPENAI_UPLOAD_FILE\", {\n slug: \"openai-upload-file\",\n name: \"Upload file\",\n description: \"Tool to upload a file for use across OpenAI endpoints. Use before referencing the file in tasks like fine-tuning. Returns a `file_id` that must be explicitly passed to endpoints like OPENAI_CREATE_ASSISTANT or OPENAI_CREATE_MESSAGE — uploaded files are not auto-discovered. Files exceeding size limits return HTTP 413; split or compress oversized content before retrying. Verify uploads via OPENAI_LIST_FILES before referencing `file_id`, as unsupported formats may be silently rejected. Repeated uploads accumulate against storage quotas; delete unused files with OPENAI_DELETE_FILE.\",\n input: OpenaiUploadFileInput,\n output: OpenaiUploadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;AAChH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAClG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ declare const OpenaiUploadFileOutput: z.ZodObject<{
|
|
|
14
14
|
filename: z.ZodNullable<z.ZodString>;
|
|
15
15
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
16
16
|
status_details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const openaiUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
file: string;
|
|
20
20
|
purpose: string;
|
|
@@ -14,7 +14,7 @@ declare const OpenaiUploadFileOutput: z.ZodObject<{
|
|
|
14
14
|
filename: z.ZodNullable<z.ZodString>;
|
|
15
15
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
16
16
|
status_details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const openaiUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
file: string;
|
|
20
20
|
purpose: string;
|
|
@@ -17,7 +17,7 @@ const openaiUploadFile = action("OPENAI_UPLOAD_FILE", {
|
|
|
17
17
|
filename: z.string().describe("Name of the file.").nullable(),
|
|
18
18
|
created_at: z.number().int().describe("Unix timestamp (seconds) when file was created.").nullable(),
|
|
19
19
|
status_details: z.string().describe("Additional details about the file status, if any.").nullable().optional()
|
|
20
|
-
}).describe("Response model for an uploaded file.")
|
|
20
|
+
}).passthrough().describe("Response model for an uploaded file.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { openaiUploadFile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiUploadFileInput = z.object({\n file: z.string().describe(\"Binary content of the file to upload. E.g., open('data.jsonl','rb').read().\"),\n purpose: z.string().describe(\"Intended purpose of the uploaded file. Currently only 'fine-tune' is supported.\"),\n}).describe(\"Request model for uploading a file.\");\nexport const OpenaiUploadFileOutput = z.object({\n id: z.string().describe(\"Unique identifier for the file.\").nullable(),\n bytes: z.number().int().describe(\"Size of the file in bytes.\").nullable(),\n object: z.string().describe(\"Object type, always 'file'.\").nullable(),\n status: z.string().describe(\"Status of the file (e.g., 'uploaded').\").nullable(),\n purpose: z.string().describe(\"Purpose of the file upload.\").nullable(),\n filename: z.string().describe(\"Name of the file.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (seconds) when file was created.\").nullable(),\n status_details: z.string().describe(\"Additional details about the file status, if any.\").nullable().optional(),\n}).describe(\"Response model for an uploaded file.\");\n\nexport const openaiUploadFile = action(\"OPENAI_UPLOAD_FILE\", {\n slug: \"openai-upload-file\",\n name: \"Upload file\",\n description: \"Tool to upload a file for use across OpenAI endpoints. Use before referencing the file in tasks like fine-tuning. Returns a `file_id` that must be explicitly passed to endpoints like OPENAI_CREATE_ASSISTANT or OPENAI_CREATE_MESSAGE — uploaded files are not auto-discovered. Files exceeding size limits return HTTP 413; split or compress oversized content before retrying. Verify uploads via OPENAI_LIST_FILES before referencing `file_id`, as unsupported formats may be silently rejected. Repeated uploads accumulate against storage quotas; delete unused files with OPENAI_DELETE_FILE.\",\n input: OpenaiUploadFileInput,\n output: OpenaiUploadFileOutput,\n});\n"],"mappings":";;AAmBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAChH,CAAC,CAAC,CAAC,SAAS,qCAgBH;CACP,QAhBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAClG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"upload-file.mjs","names":[],"sources":["../../src/actions/upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiUploadFileInput = z.object({\n file: z.string().describe(\"Binary content of the file to upload. E.g., open('data.jsonl','rb').read().\"),\n purpose: z.string().describe(\"Intended purpose of the uploaded file. Currently only 'fine-tune' is supported.\"),\n}).describe(\"Request model for uploading a file.\");\nexport const OpenaiUploadFileOutput = z.object({\n id: z.string().describe(\"Unique identifier for the file.\").nullable(),\n bytes: z.number().int().describe(\"Size of the file in bytes.\").nullable(),\n object: z.string().describe(\"Object type, always 'file'.\").nullable(),\n status: z.string().describe(\"Status of the file (e.g., 'uploaded').\").nullable(),\n purpose: z.string().describe(\"Purpose of the file upload.\").nullable(),\n filename: z.string().describe(\"Name of the file.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp (seconds) when file was created.\").nullable(),\n status_details: z.string().describe(\"Additional details about the file status, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response model for an uploaded file.\");\n\nexport const openaiUploadFile = action(\"OPENAI_UPLOAD_FILE\", {\n slug: \"openai-upload-file\",\n name: \"Upload file\",\n description: \"Tool to upload a file for use across OpenAI endpoints. Use before referencing the file in tasks like fine-tuning. Returns a `file_id` that must be explicitly passed to endpoints like OPENAI_CREATE_ASSISTANT or OPENAI_CREATE_MESSAGE — uploaded files are not auto-discovered. Files exceeding size limits return HTTP 413; split or compress oversized content before retrying. Verify uploads via OPENAI_LIST_FILES before referencing `file_id`, as unsupported formats may be silently rejected. Repeated uploads accumulate against storage quotas; delete unused files with OPENAI_DELETE_FILE.\",\n input: OpenaiUploadFileInput,\n output: OpenaiUploadFileOutput,\n});\n"],"mappings":";;AAmBA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAChH,CAAC,CAAC,CAAC,SAAS,qCAgBH;CACP,QAhBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAClG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
|
|
@@ -13,20 +13,20 @@ const OpenaiValidateGraderInput = zod.z.object({ grader: zod.z.union([
|
|
|
13
13
|
"ilike"
|
|
14
14
|
]).describe("The comparison operation to perform: 'eq' for exact match, 'ne' for not equal, 'like' for case-sensitive pattern matching, 'ilike' for case-insensitive pattern matching"),
|
|
15
15
|
reference: zod.z.string().describe("The reference field path containing the expected value to compare against (e.g., 'expected.text')")
|
|
16
|
-
}).describe("String check grader configuration."),
|
|
16
|
+
}).passthrough().describe("String check grader configuration."),
|
|
17
17
|
zod.z.object({
|
|
18
18
|
name: zod.z.string().describe("The name identifier for this grader"),
|
|
19
19
|
type: zod.z.string().describe("The type of grader. Must be 'text_similarity' for semantic similarity evaluation"),
|
|
20
20
|
input: zod.z.string().describe("The input field path to evaluate for similarity"),
|
|
21
21
|
reference: zod.z.string().describe("The reference field path containing the expected value for similarity comparison"),
|
|
22
22
|
evaluation_metric: zod.z.string().describe("The metric used to evaluate text similarity (e.g., 'cosine', 'bleu', 'rouge')")
|
|
23
|
-
}).describe("Text similarity grader configuration."),
|
|
23
|
+
}).passthrough().describe("Text similarity grader configuration."),
|
|
24
24
|
zod.z.object({
|
|
25
25
|
name: zod.z.string().describe("The name identifier for this grader"),
|
|
26
26
|
type: zod.z.string().describe("The type of grader. Must be 'python' for custom Python code evaluation"),
|
|
27
27
|
source: zod.z.string().describe("The Python source code that implements the grading logic"),
|
|
28
28
|
image_tag: zod.z.string().nullable().optional()
|
|
29
|
-
}).describe("Python grader configuration."),
|
|
29
|
+
}).passthrough().describe("Python grader configuration."),
|
|
30
30
|
zod.z.object({
|
|
31
31
|
name: zod.z.string().describe("The name identifier for this grader"),
|
|
32
32
|
type: zod.z.string().describe("The type of grader. Must be 'score_model' for model-based scoring"),
|
|
@@ -34,13 +34,13 @@ const OpenaiValidateGraderInput = zod.z.object({ grader: zod.z.union([
|
|
|
34
34
|
model: zod.z.string().describe("The model identifier to use for scoring"),
|
|
35
35
|
range: zod.z.array(zod.z.union([zod.z.number().int(), zod.z.number()])).nullable().optional(),
|
|
36
36
|
sampling_params: zod.z.record(zod.z.string(), zod.z.unknown()).nullable().optional()
|
|
37
|
-
}).describe("Score model grader configuration."),
|
|
37
|
+
}).passthrough().describe("Score model grader configuration."),
|
|
38
38
|
zod.z.object({
|
|
39
39
|
name: zod.z.string().describe("The name identifier for this multi-grader"),
|
|
40
40
|
type: zod.z.string().describe("The type of grader. Must be 'multi' for combining multiple graders"),
|
|
41
41
|
graders: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary of grader configurations to combine, where keys are grader identifiers and values are grader objects. Each grader can be any of the supported grader types"),
|
|
42
42
|
calculate_output: zod.z.string().describe("Expression or logic for calculating the final output from individual grader results")
|
|
43
|
-
}).describe("Multi grader configuration that combines multiple graders.")
|
|
43
|
+
}).passthrough().describe("Multi grader configuration that combines multiple graders.")
|
|
44
44
|
]) }).describe("Request model for validating a grader configuration.");
|
|
45
45
|
const OpenaiValidateGrader_ValidatedGraderSchema = zod.z.object({
|
|
46
46
|
name: zod.z.string().describe("The name of the validated grader").nullable(),
|
|
@@ -56,8 +56,8 @@ const OpenaiValidateGrader_ValidatedGraderSchema = zod.z.object({
|
|
|
56
56
|
sampling_params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The sampling parameters for score model graders").nullable().optional(),
|
|
57
57
|
calculate_output: zod.z.string().describe("The output calculation logic for multi graders").nullable().optional(),
|
|
58
58
|
evaluation_metric: zod.z.string().describe("The evaluation metric for text similarity graders").nullable().optional()
|
|
59
|
-
}).describe("A validated grader configuration.");
|
|
60
|
-
const OpenaiValidateGraderOutput = zod.z.object({ grader: OpenaiValidateGrader_ValidatedGraderSchema.nullable() }).describe("Response schema for validating a grader configuration.");
|
|
59
|
+
}).passthrough().describe("A validated grader configuration.");
|
|
60
|
+
const OpenaiValidateGraderOutput = zod.z.object({ grader: OpenaiValidateGrader_ValidatedGraderSchema.nullable() }).passthrough().describe("Response schema for validating a grader configuration.");
|
|
61
61
|
const openaiValidateGrader = require_action.action("OPENAI_VALIDATE_GRADER", {
|
|
62
62
|
slug: "openai-validate-grader",
|
|
63
63
|
name: "Validate grader configuration",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-grader.cjs","names":["z","action"],"sources":["../../src/actions/validate-grader.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiValidateGraderInput = z.object({\n grader: z.union([z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'string_check' for string comparison operations\"),\n input: z.string().describe(\"The input field path to validate, typically a reference to the model output (e.g., 'output.text')\"),\n operation: z.enum([\"eq\", \"ne\", \"like\", \"ilike\"]).describe(\"The comparison operation to perform: 'eq' for exact match, 'ne' for not equal, 'like' for case-sensitive pattern matching, 'ilike' for case-insensitive pattern matching\"),\n reference: z.string().describe(\"The reference field path containing the expected value to compare against (e.g., 'expected.text')\"),\n}).describe(\"String check grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'text_similarity' for semantic similarity evaluation\"),\n input: z.string().describe(\"The input field path to evaluate for similarity\"),\n reference: z.string().describe(\"The reference field path containing the expected value for similarity comparison\"),\n evaluation_metric: z.string().describe(\"The metric used to evaluate text similarity (e.g., 'cosine', 'bleu', 'rouge')\"),\n}).describe(\"Text similarity grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'python' for custom Python code evaluation\"),\n source: z.string().describe(\"The Python source code that implements the grading logic\"),\n image_tag: z.string().nullable().optional(),\n}).describe(\"Python grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'score_model' for model-based scoring\"),\n input: z.array(z.string()).describe(\"List of input field paths to pass to the scoring model\"),\n model: z.string().describe(\"The model identifier to use for scoring\"),\n range: z.array(z.union([z.number().int(), z.number()])).nullable().optional(),\n sampling_params: z.record(z.string(), z.unknown()).nullable().optional(),\n}).describe(\"Score model grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this multi-grader\"),\n type: z.string().describe(\"The type of grader. Must be 'multi' for combining multiple graders\"),\n graders: z.record(z.string(), z.unknown()).describe(\"Dictionary of grader configurations to combine, where keys are grader identifiers and values are grader objects. Each grader can be any of the supported grader types\"),\n calculate_output: z.string().describe(\"Expression or logic for calculating the final output from individual grader results\"),\n}).describe(\"Multi grader configuration that combines multiple graders.\")]),\n}).describe(\"Request model for validating a grader configuration.\");\nconst OpenaiValidateGrader_ValidatedGraderSchema = z.object({\n name: z.string().describe(\"The name of the validated grader\").nullable(),\n type: z.string().describe(\"The type of the validated grader\").nullable(),\n input: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n model: z.string().describe(\"The model identifier for score model graders\").nullable().optional(),\n range: z.array(z.union([z.number().int(), z.number()])).describe(\"The score range for score model graders\").nullable().optional(),\n source: z.string().describe(\"The Python source code for Python graders\").nullable().optional(),\n graders: z.record(z.string(), z.unknown()).describe(\"The sub-graders dictionary for multi graders, where keys are grader identifiers\").nullable().optional(),\n image_tag: z.string().describe(\"The Docker image tag for Python graders\").nullable().optional(),\n operation: z.string().describe(\"The operation for string check graders\").nullable().optional(),\n reference: z.string().describe(\"The reference field for comparison (if applicable)\").nullable().optional(),\n sampling_params: z.record(z.string(), z.unknown()).describe(\"The sampling parameters for score model graders\").nullable().optional(),\n calculate_output: z.string().describe(\"The output calculation logic for multi graders\").nullable().optional(),\n evaluation_metric: z.string().describe(\"The evaluation metric for text similarity graders\").nullable().optional(),\n}).describe(\"A validated grader configuration.\");\nexport const OpenaiValidateGraderOutput = z.object({\n grader: OpenaiValidateGrader_ValidatedGraderSchema.nullable(),\n}).describe(\"Response schema for validating a grader configuration.\");\n\nexport const openaiValidateGrader = action(\"OPENAI_VALIDATE_GRADER\", {\n slug: \"openai-validate-grader\",\n name: \"Validate grader configuration\",\n description: \"Tool to validate a grader configuration for fine-tuning jobs. Use when you need to verify that a grader is correctly configured before using it in a fine-tuning job.\",\n input: OpenaiValidateGraderInput,\n output: OpenaiValidateGraderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,QAAQA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EAC9H,WAAWA,IAAAA,EAAE,KAAK;GAAC;GAAM;GAAM;GAAQ;EAAO,CAAC,CAAC,CAAC,SAAS,0KAA0K;EACpO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CACpI,CAAC,CAAC,CAAC,SAAS,oCAAoC;CAAGA,IAAAA,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"validate-grader.cjs","names":["z","action"],"sources":["../../src/actions/validate-grader.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiValidateGraderInput = z.object({\n grader: z.union([z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'string_check' for string comparison operations\"),\n input: z.string().describe(\"The input field path to validate, typically a reference to the model output (e.g., 'output.text')\"),\n operation: z.enum([\"eq\", \"ne\", \"like\", \"ilike\"]).describe(\"The comparison operation to perform: 'eq' for exact match, 'ne' for not equal, 'like' for case-sensitive pattern matching, 'ilike' for case-insensitive pattern matching\"),\n reference: z.string().describe(\"The reference field path containing the expected value to compare against (e.g., 'expected.text')\"),\n}).passthrough().describe(\"String check grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'text_similarity' for semantic similarity evaluation\"),\n input: z.string().describe(\"The input field path to evaluate for similarity\"),\n reference: z.string().describe(\"The reference field path containing the expected value for similarity comparison\"),\n evaluation_metric: z.string().describe(\"The metric used to evaluate text similarity (e.g., 'cosine', 'bleu', 'rouge')\"),\n}).passthrough().describe(\"Text similarity grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'python' for custom Python code evaluation\"),\n source: z.string().describe(\"The Python source code that implements the grading logic\"),\n image_tag: z.string().nullable().optional(),\n}).passthrough().describe(\"Python grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'score_model' for model-based scoring\"),\n input: z.array(z.string()).describe(\"List of input field paths to pass to the scoring model\"),\n model: z.string().describe(\"The model identifier to use for scoring\"),\n range: z.array(z.union([z.number().int(), z.number()])).nullable().optional(),\n sampling_params: z.record(z.string(), z.unknown()).nullable().optional(),\n}).passthrough().describe(\"Score model grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this multi-grader\"),\n type: z.string().describe(\"The type of grader. Must be 'multi' for combining multiple graders\"),\n graders: z.record(z.string(), z.unknown()).describe(\"Dictionary of grader configurations to combine, where keys are grader identifiers and values are grader objects. Each grader can be any of the supported grader types\"),\n calculate_output: z.string().describe(\"Expression or logic for calculating the final output from individual grader results\"),\n}).passthrough().describe(\"Multi grader configuration that combines multiple graders.\")]),\n}).describe(\"Request model for validating a grader configuration.\");\nconst OpenaiValidateGrader_ValidatedGraderSchema = z.object({\n name: z.string().describe(\"The name of the validated grader\").nullable(),\n type: z.string().describe(\"The type of the validated grader\").nullable(),\n input: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n model: z.string().describe(\"The model identifier for score model graders\").nullable().optional(),\n range: z.array(z.union([z.number().int(), z.number()])).describe(\"The score range for score model graders\").nullable().optional(),\n source: z.string().describe(\"The Python source code for Python graders\").nullable().optional(),\n graders: z.record(z.string(), z.unknown()).describe(\"The sub-graders dictionary for multi graders, where keys are grader identifiers\").nullable().optional(),\n image_tag: z.string().describe(\"The Docker image tag for Python graders\").nullable().optional(),\n operation: z.string().describe(\"The operation for string check graders\").nullable().optional(),\n reference: z.string().describe(\"The reference field for comparison (if applicable)\").nullable().optional(),\n sampling_params: z.record(z.string(), z.unknown()).describe(\"The sampling parameters for score model graders\").nullable().optional(),\n calculate_output: z.string().describe(\"The output calculation logic for multi graders\").nullable().optional(),\n evaluation_metric: z.string().describe(\"The evaluation metric for text similarity graders\").nullable().optional(),\n}).passthrough().describe(\"A validated grader configuration.\");\nexport const OpenaiValidateGraderOutput = z.object({\n grader: OpenaiValidateGrader_ValidatedGraderSchema.nullable(),\n}).passthrough().describe(\"Response schema for validating a grader configuration.\");\n\nexport const openaiValidateGrader = action(\"OPENAI_VALIDATE_GRADER\", {\n slug: \"openai-validate-grader\",\n name: \"Validate grader configuration\",\n description: \"Tool to validate a grader configuration for fine-tuning jobs. Use when you need to verify that a grader is correctly configured before using it in a fine-tuning job.\",\n input: OpenaiValidateGraderInput,\n output: OpenaiValidateGraderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,QAAQA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EAC9H,WAAWA,IAAAA,EAAE,KAAK;GAAC;GAAM;GAAM;GAAQ;EAAO,CAAC,CAAC,CAAC,SAAS,0KAA0K;EACpO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;CAAGA,IAAAA,EAAE,OAAO;EACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EACjH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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AAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,QAAQ,2CAA2C,SAAS,EAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,30 +13,30 @@ declare const OpenaiValidateGraderInput: z.ZodObject<{
|
|
|
13
13
|
ilike: "ilike";
|
|
14
14
|
}>;
|
|
15
15
|
reference: z.ZodString;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
17
17
|
name: z.ZodString;
|
|
18
18
|
type: z.ZodString;
|
|
19
19
|
input: z.ZodString;
|
|
20
20
|
reference: z.ZodString;
|
|
21
21
|
evaluation_metric: z.ZodString;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
23
23
|
name: z.ZodString;
|
|
24
24
|
type: z.ZodString;
|
|
25
25
|
source: z.ZodString;
|
|
26
26
|
image_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
28
28
|
name: z.ZodString;
|
|
29
29
|
type: z.ZodString;
|
|
30
30
|
input: z.ZodArray<z.ZodString>;
|
|
31
31
|
model: z.ZodString;
|
|
32
32
|
range: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodNumber]>>>>;
|
|
33
33
|
sampling_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
35
35
|
name: z.ZodString;
|
|
36
36
|
type: z.ZodString;
|
|
37
37
|
graders: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
38
38
|
calculate_output: z.ZodString;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>]>;
|
|
40
40
|
}, z.core.$strip>;
|
|
41
41
|
declare const OpenaiValidateGraderOutput: z.ZodObject<{
|
|
42
42
|
grader: z.ZodNullable<z.ZodObject<{
|
|
@@ -53,27 +53,31 @@ declare const OpenaiValidateGraderOutput: z.ZodObject<{
|
|
|
53
53
|
sampling_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
54
54
|
calculate_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
evaluation_metric: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
-
}, z.core.$
|
|
57
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>;
|
|
57
|
+
}, z.core.$loose>;
|
|
58
58
|
declare const openaiValidateGrader: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
59
59
|
grader: {
|
|
60
|
+
[x: string]: unknown;
|
|
60
61
|
name: string;
|
|
61
62
|
type: string;
|
|
62
63
|
input: string;
|
|
63
64
|
operation: "eq" | "ne" | "like" | "ilike";
|
|
64
65
|
reference: string;
|
|
65
66
|
} | {
|
|
67
|
+
[x: string]: unknown;
|
|
66
68
|
name: string;
|
|
67
69
|
type: string;
|
|
68
70
|
input: string;
|
|
69
71
|
reference: string;
|
|
70
72
|
evaluation_metric: string;
|
|
71
73
|
} | {
|
|
74
|
+
[x: string]: unknown;
|
|
72
75
|
name: string;
|
|
73
76
|
type: string;
|
|
74
77
|
source: string;
|
|
75
78
|
image_tag?: string | null | undefined;
|
|
76
79
|
} | {
|
|
80
|
+
[x: string]: unknown;
|
|
77
81
|
name: string;
|
|
78
82
|
type: string;
|
|
79
83
|
input: string[];
|
|
@@ -81,6 +85,7 @@ declare const openaiValidateGrader: import("@keystrokehq/action").WorkflowAction
|
|
|
81
85
|
range?: number[] | null | undefined;
|
|
82
86
|
sampling_params?: Record<string, unknown> | null | undefined;
|
|
83
87
|
} | {
|
|
88
|
+
[x: string]: unknown;
|
|
84
89
|
name: string;
|
|
85
90
|
type: string;
|
|
86
91
|
graders: Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-grader.d.cts","names":[],"sources":["../../src/actions/validate-grader.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+CzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA
|
|
1
|
+
{"version":3,"file":"validate-grader.d.cts","names":[],"sources":["../../src/actions/validate-grader.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+CzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAM/B,MAAA;EAAA;IAAA;;;aAAA,MAAA"}
|
|
@@ -13,30 +13,30 @@ declare const OpenaiValidateGraderInput: z.ZodObject<{
|
|
|
13
13
|
ilike: "ilike";
|
|
14
14
|
}>;
|
|
15
15
|
reference: z.ZodString;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
17
17
|
name: z.ZodString;
|
|
18
18
|
type: z.ZodString;
|
|
19
19
|
input: z.ZodString;
|
|
20
20
|
reference: z.ZodString;
|
|
21
21
|
evaluation_metric: z.ZodString;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
23
23
|
name: z.ZodString;
|
|
24
24
|
type: z.ZodString;
|
|
25
25
|
source: z.ZodString;
|
|
26
26
|
image_tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
28
28
|
name: z.ZodString;
|
|
29
29
|
type: z.ZodString;
|
|
30
30
|
input: z.ZodArray<z.ZodString>;
|
|
31
31
|
model: z.ZodString;
|
|
32
32
|
range: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodNumber]>>>>;
|
|
33
33
|
sampling_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
35
35
|
name: z.ZodString;
|
|
36
36
|
type: z.ZodString;
|
|
37
37
|
graders: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
38
38
|
calculate_output: z.ZodString;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>]>;
|
|
40
40
|
}, z.core.$strip>;
|
|
41
41
|
declare const OpenaiValidateGraderOutput: z.ZodObject<{
|
|
42
42
|
grader: z.ZodNullable<z.ZodObject<{
|
|
@@ -53,27 +53,31 @@ declare const OpenaiValidateGraderOutput: z.ZodObject<{
|
|
|
53
53
|
sampling_params: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
54
54
|
calculate_output: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
evaluation_metric: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
-
}, z.core.$
|
|
57
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>;
|
|
57
|
+
}, z.core.$loose>;
|
|
58
58
|
declare const openaiValidateGrader: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
59
59
|
grader: {
|
|
60
|
+
[x: string]: unknown;
|
|
60
61
|
name: string;
|
|
61
62
|
type: string;
|
|
62
63
|
input: string;
|
|
63
64
|
operation: "eq" | "ne" | "like" | "ilike";
|
|
64
65
|
reference: string;
|
|
65
66
|
} | {
|
|
67
|
+
[x: string]: unknown;
|
|
66
68
|
name: string;
|
|
67
69
|
type: string;
|
|
68
70
|
input: string;
|
|
69
71
|
reference: string;
|
|
70
72
|
evaluation_metric: string;
|
|
71
73
|
} | {
|
|
74
|
+
[x: string]: unknown;
|
|
72
75
|
name: string;
|
|
73
76
|
type: string;
|
|
74
77
|
source: string;
|
|
75
78
|
image_tag?: string | null | undefined;
|
|
76
79
|
} | {
|
|
80
|
+
[x: string]: unknown;
|
|
77
81
|
name: string;
|
|
78
82
|
type: string;
|
|
79
83
|
input: string[];
|
|
@@ -81,6 +85,7 @@ declare const openaiValidateGrader: import("@keystrokehq/action").WorkflowAction
|
|
|
81
85
|
range?: number[] | null | undefined;
|
|
82
86
|
sampling_params?: Record<string, unknown> | null | undefined;
|
|
83
87
|
} | {
|
|
88
|
+
[x: string]: unknown;
|
|
84
89
|
name: string;
|
|
85
90
|
type: string;
|
|
86
91
|
graders: Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-grader.d.mts","names":[],"sources":["../../src/actions/validate-grader.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+CzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA
|
|
1
|
+
{"version":3,"file":"validate-grader.d.mts","names":[],"sources":["../../src/actions/validate-grader.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+CzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAM/B,MAAA;EAAA;IAAA;;;aAAA,MAAA"}
|
|
@@ -13,20 +13,20 @@ const OpenaiValidateGraderInput = z.object({ grader: z.union([
|
|
|
13
13
|
"ilike"
|
|
14
14
|
]).describe("The comparison operation to perform: 'eq' for exact match, 'ne' for not equal, 'like' for case-sensitive pattern matching, 'ilike' for case-insensitive pattern matching"),
|
|
15
15
|
reference: z.string().describe("The reference field path containing the expected value to compare against (e.g., 'expected.text')")
|
|
16
|
-
}).describe("String check grader configuration."),
|
|
16
|
+
}).passthrough().describe("String check grader configuration."),
|
|
17
17
|
z.object({
|
|
18
18
|
name: z.string().describe("The name identifier for this grader"),
|
|
19
19
|
type: z.string().describe("The type of grader. Must be 'text_similarity' for semantic similarity evaluation"),
|
|
20
20
|
input: z.string().describe("The input field path to evaluate for similarity"),
|
|
21
21
|
reference: z.string().describe("The reference field path containing the expected value for similarity comparison"),
|
|
22
22
|
evaluation_metric: z.string().describe("The metric used to evaluate text similarity (e.g., 'cosine', 'bleu', 'rouge')")
|
|
23
|
-
}).describe("Text similarity grader configuration."),
|
|
23
|
+
}).passthrough().describe("Text similarity grader configuration."),
|
|
24
24
|
z.object({
|
|
25
25
|
name: z.string().describe("The name identifier for this grader"),
|
|
26
26
|
type: z.string().describe("The type of grader. Must be 'python' for custom Python code evaluation"),
|
|
27
27
|
source: z.string().describe("The Python source code that implements the grading logic"),
|
|
28
28
|
image_tag: z.string().nullable().optional()
|
|
29
|
-
}).describe("Python grader configuration."),
|
|
29
|
+
}).passthrough().describe("Python grader configuration."),
|
|
30
30
|
z.object({
|
|
31
31
|
name: z.string().describe("The name identifier for this grader"),
|
|
32
32
|
type: z.string().describe("The type of grader. Must be 'score_model' for model-based scoring"),
|
|
@@ -34,13 +34,13 @@ const OpenaiValidateGraderInput = z.object({ grader: z.union([
|
|
|
34
34
|
model: z.string().describe("The model identifier to use for scoring"),
|
|
35
35
|
range: z.array(z.union([z.number().int(), z.number()])).nullable().optional(),
|
|
36
36
|
sampling_params: z.record(z.string(), z.unknown()).nullable().optional()
|
|
37
|
-
}).describe("Score model grader configuration."),
|
|
37
|
+
}).passthrough().describe("Score model grader configuration."),
|
|
38
38
|
z.object({
|
|
39
39
|
name: z.string().describe("The name identifier for this multi-grader"),
|
|
40
40
|
type: z.string().describe("The type of grader. Must be 'multi' for combining multiple graders"),
|
|
41
41
|
graders: z.record(z.string(), z.unknown()).describe("Dictionary of grader configurations to combine, where keys are grader identifiers and values are grader objects. Each grader can be any of the supported grader types"),
|
|
42
42
|
calculate_output: z.string().describe("Expression or logic for calculating the final output from individual grader results")
|
|
43
|
-
}).describe("Multi grader configuration that combines multiple graders.")
|
|
43
|
+
}).passthrough().describe("Multi grader configuration that combines multiple graders.")
|
|
44
44
|
]) }).describe("Request model for validating a grader configuration.");
|
|
45
45
|
const OpenaiValidateGrader_ValidatedGraderSchema = z.object({
|
|
46
46
|
name: z.string().describe("The name of the validated grader").nullable(),
|
|
@@ -56,13 +56,13 @@ const OpenaiValidateGrader_ValidatedGraderSchema = z.object({
|
|
|
56
56
|
sampling_params: z.record(z.string(), z.unknown()).describe("The sampling parameters for score model graders").nullable().optional(),
|
|
57
57
|
calculate_output: z.string().describe("The output calculation logic for multi graders").nullable().optional(),
|
|
58
58
|
evaluation_metric: z.string().describe("The evaluation metric for text similarity graders").nullable().optional()
|
|
59
|
-
}).describe("A validated grader configuration.");
|
|
59
|
+
}).passthrough().describe("A validated grader configuration.");
|
|
60
60
|
const openaiValidateGrader = action("OPENAI_VALIDATE_GRADER", {
|
|
61
61
|
slug: "openai-validate-grader",
|
|
62
62
|
name: "Validate grader configuration",
|
|
63
63
|
description: "Tool to validate a grader configuration for fine-tuning jobs. Use when you need to verify that a grader is correctly configured before using it in a fine-tuning job.",
|
|
64
64
|
input: OpenaiValidateGraderInput,
|
|
65
|
-
output: z.object({ grader: OpenaiValidateGrader_ValidatedGraderSchema.nullable() }).describe("Response schema for validating a grader configuration.")
|
|
65
|
+
output: z.object({ grader: OpenaiValidateGrader_ValidatedGraderSchema.nullable() }).passthrough().describe("Response schema for validating a grader configuration.")
|
|
66
66
|
});
|
|
67
67
|
//#endregion
|
|
68
68
|
export { openaiValidateGrader };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-grader.mjs","names":[],"sources":["../../src/actions/validate-grader.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiValidateGraderInput = z.object({\n grader: z.union([z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'string_check' for string comparison operations\"),\n input: z.string().describe(\"The input field path to validate, typically a reference to the model output (e.g., 'output.text')\"),\n operation: z.enum([\"eq\", \"ne\", \"like\", \"ilike\"]).describe(\"The comparison operation to perform: 'eq' for exact match, 'ne' for not equal, 'like' for case-sensitive pattern matching, 'ilike' for case-insensitive pattern matching\"),\n reference: z.string().describe(\"The reference field path containing the expected value to compare against (e.g., 'expected.text')\"),\n}).describe(\"String check grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'text_similarity' for semantic similarity evaluation\"),\n input: z.string().describe(\"The input field path to evaluate for similarity\"),\n reference: z.string().describe(\"The reference field path containing the expected value for similarity comparison\"),\n evaluation_metric: z.string().describe(\"The metric used to evaluate text similarity (e.g., 'cosine', 'bleu', 'rouge')\"),\n}).describe(\"Text similarity grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'python' for custom Python code evaluation\"),\n source: z.string().describe(\"The Python source code that implements the grading logic\"),\n image_tag: z.string().nullable().optional(),\n}).describe(\"Python grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'score_model' for model-based scoring\"),\n input: z.array(z.string()).describe(\"List of input field paths to pass to the scoring model\"),\n model: z.string().describe(\"The model identifier to use for scoring\"),\n range: z.array(z.union([z.number().int(), z.number()])).nullable().optional(),\n sampling_params: z.record(z.string(), z.unknown()).nullable().optional(),\n}).describe(\"Score model grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this multi-grader\"),\n type: z.string().describe(\"The type of grader. Must be 'multi' for combining multiple graders\"),\n graders: z.record(z.string(), z.unknown()).describe(\"Dictionary of grader configurations to combine, where keys are grader identifiers and values are grader objects. Each grader can be any of the supported grader types\"),\n calculate_output: z.string().describe(\"Expression or logic for calculating the final output from individual grader results\"),\n}).describe(\"Multi grader configuration that combines multiple graders.\")]),\n}).describe(\"Request model for validating a grader configuration.\");\nconst OpenaiValidateGrader_ValidatedGraderSchema = z.object({\n name: z.string().describe(\"The name of the validated grader\").nullable(),\n type: z.string().describe(\"The type of the validated grader\").nullable(),\n input: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n model: z.string().describe(\"The model identifier for score model graders\").nullable().optional(),\n range: z.array(z.union([z.number().int(), z.number()])).describe(\"The score range for score model graders\").nullable().optional(),\n source: z.string().describe(\"The Python source code for Python graders\").nullable().optional(),\n graders: z.record(z.string(), z.unknown()).describe(\"The sub-graders dictionary for multi graders, where keys are grader identifiers\").nullable().optional(),\n image_tag: z.string().describe(\"The Docker image tag for Python graders\").nullable().optional(),\n operation: z.string().describe(\"The operation for string check graders\").nullable().optional(),\n reference: z.string().describe(\"The reference field for comparison (if applicable)\").nullable().optional(),\n sampling_params: z.record(z.string(), z.unknown()).describe(\"The sampling parameters for score model graders\").nullable().optional(),\n calculate_output: z.string().describe(\"The output calculation logic for multi graders\").nullable().optional(),\n evaluation_metric: z.string().describe(\"The evaluation metric for text similarity graders\").nullable().optional(),\n}).describe(\"A validated grader configuration.\");\nexport const OpenaiValidateGraderOutput = z.object({\n grader: OpenaiValidateGrader_ValidatedGraderSchema.nullable(),\n}).describe(\"Response schema for validating a grader configuration.\");\n\nexport const openaiValidateGrader = action(\"OPENAI_VALIDATE_GRADER\", {\n slug: \"openai-validate-grader\",\n name: \"Validate grader configuration\",\n description: \"Tool to validate a grader configuration for fine-tuning jobs. Use when you need to verify that a grader is correctly configured before using it in a fine-tuning job.\",\n input: OpenaiValidateGraderInput,\n output: OpenaiValidateGraderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,QAAQ,EAAE,MAAM;CAAC,EAAE,OAAO;EAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EAC9H,WAAW,EAAE,KAAK;GAAC;GAAM;GAAM;GAAQ;EAAO,CAAC,CAAC,CAAC,SAAS,0KAA0K;EACpO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CACpI,CAAC,CAAC,CAAC,SAAS,oCAAoC;CAAG,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"validate-grader.mjs","names":[],"sources":["../../src/actions/validate-grader.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiValidateGraderInput = z.object({\n grader: z.union([z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'string_check' for string comparison operations\"),\n input: z.string().describe(\"The input field path to validate, typically a reference to the model output (e.g., 'output.text')\"),\n operation: z.enum([\"eq\", \"ne\", \"like\", \"ilike\"]).describe(\"The comparison operation to perform: 'eq' for exact match, 'ne' for not equal, 'like' for case-sensitive pattern matching, 'ilike' for case-insensitive pattern matching\"),\n reference: z.string().describe(\"The reference field path containing the expected value to compare against (e.g., 'expected.text')\"),\n}).passthrough().describe(\"String check grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'text_similarity' for semantic similarity evaluation\"),\n input: z.string().describe(\"The input field path to evaluate for similarity\"),\n reference: z.string().describe(\"The reference field path containing the expected value for similarity comparison\"),\n evaluation_metric: z.string().describe(\"The metric used to evaluate text similarity (e.g., 'cosine', 'bleu', 'rouge')\"),\n}).passthrough().describe(\"Text similarity grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'python' for custom Python code evaluation\"),\n source: z.string().describe(\"The Python source code that implements the grading logic\"),\n image_tag: z.string().nullable().optional(),\n}).passthrough().describe(\"Python grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this grader\"),\n type: z.string().describe(\"The type of grader. Must be 'score_model' for model-based scoring\"),\n input: z.array(z.string()).describe(\"List of input field paths to pass to the scoring model\"),\n model: z.string().describe(\"The model identifier to use for scoring\"),\n range: z.array(z.union([z.number().int(), z.number()])).nullable().optional(),\n sampling_params: z.record(z.string(), z.unknown()).nullable().optional(),\n}).passthrough().describe(\"Score model grader configuration.\"), z.object({\n name: z.string().describe(\"The name identifier for this multi-grader\"),\n type: z.string().describe(\"The type of grader. Must be 'multi' for combining multiple graders\"),\n graders: z.record(z.string(), z.unknown()).describe(\"Dictionary of grader configurations to combine, where keys are grader identifiers and values are grader objects. Each grader can be any of the supported grader types\"),\n calculate_output: z.string().describe(\"Expression or logic for calculating the final output from individual grader results\"),\n}).passthrough().describe(\"Multi grader configuration that combines multiple graders.\")]),\n}).describe(\"Request model for validating a grader configuration.\");\nconst OpenaiValidateGrader_ValidatedGraderSchema = z.object({\n name: z.string().describe(\"The name of the validated grader\").nullable(),\n type: z.string().describe(\"The type of the validated grader\").nullable(),\n input: z.union([z.string(), z.array(z.string())]).nullable().optional(),\n model: z.string().describe(\"The model identifier for score model graders\").nullable().optional(),\n range: z.array(z.union([z.number().int(), z.number()])).describe(\"The score range for score model graders\").nullable().optional(),\n source: z.string().describe(\"The Python source code for Python graders\").nullable().optional(),\n graders: z.record(z.string(), z.unknown()).describe(\"The sub-graders dictionary for multi graders, where keys are grader identifiers\").nullable().optional(),\n image_tag: z.string().describe(\"The Docker image tag for Python graders\").nullable().optional(),\n operation: z.string().describe(\"The operation for string check graders\").nullable().optional(),\n reference: z.string().describe(\"The reference field for comparison (if applicable)\").nullable().optional(),\n sampling_params: z.record(z.string(), z.unknown()).describe(\"The sampling parameters for score model graders\").nullable().optional(),\n calculate_output: z.string().describe(\"The output calculation logic for multi graders\").nullable().optional(),\n evaluation_metric: z.string().describe(\"The evaluation metric for text similarity graders\").nullable().optional(),\n}).passthrough().describe(\"A validated grader configuration.\");\nexport const OpenaiValidateGraderOutput = z.object({\n grader: OpenaiValidateGrader_ValidatedGraderSchema.nullable(),\n}).passthrough().describe(\"Response schema for validating a grader configuration.\");\n\nexport const openaiValidateGrader = action(\"OPENAI_VALIDATE_GRADER\", {\n slug: \"openai-validate-grader\",\n name: \"Validate grader configuration\",\n description: \"Tool to validate a grader configuration for fine-tuning jobs. Use when you need to verify that a grader is correctly configured before using it in a fine-tuning job.\",\n input: OpenaiValidateGraderInput,\n output: OpenaiValidateGraderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,QAAQ,EAAE,MAAM;CAAC,EAAE,OAAO;EAC1B,MAAM,EAAE,OAAO,CAAC,CA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