@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
|
@@ -9,8 +9,8 @@ const OpenaiCreateRealtimeSessionInput = zod.z.object({
|
|
|
9
9
|
type: zod.z.string().describe("Type of tool, must be 'function'"),
|
|
10
10
|
parameters: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON Schema describing the function parameters").optional(),
|
|
11
11
|
description: zod.z.string().describe("Description of what the function does").optional()
|
|
12
|
-
}).describe("Function tool definition.")).describe("Tools (functions) available to the model").optional(),
|
|
13
|
-
voice: zod.z.union([zod.z.string(), zod.z.object({ id: zod.z.string().describe("Voice ID for custom voices") }).describe("Custom voice configuration.")]).optional(),
|
|
12
|
+
}).passthrough().describe("Function tool definition.")).describe("Tools (functions) available to the model").optional(),
|
|
13
|
+
voice: zod.z.union([zod.z.string(), zod.z.object({ id: zod.z.string().describe("Voice ID for custom voices") }).passthrough().describe("Custom voice configuration.")]).optional(),
|
|
14
14
|
prompt: zod.z.object({
|
|
15
15
|
id: zod.z.string().describe("Prompt ID"),
|
|
16
16
|
version: zod.z.union([zod.z.number().int(), zod.z.string()]).optional(),
|
|
@@ -20,13 +20,13 @@ const OpenaiCreateRealtimeSessionInput = zod.z.object({
|
|
|
20
20
|
group_id: zod.z.string().nullable().optional(),
|
|
21
21
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).nullable().optional(),
|
|
22
22
|
workflow_name: zod.z.string().nullable().optional()
|
|
23
|
-
}).describe("Configuration for tracing.")]).optional(),
|
|
23
|
+
}).passthrough().describe("Configuration for tracing.")]).optional(),
|
|
24
24
|
modalities: zod.z.array(zod.z.enum(["text", "audio"])).describe("The set of modalities the model can respond with. To disable audio, set this to ['text']").optional(),
|
|
25
25
|
truncation: zod.z.union([zod.z.string(), zod.z.object({
|
|
26
26
|
type: zod.z.string().describe("Type of truncation configuration"),
|
|
27
27
|
token_limits: zod.z.record(zod.z.string(), zod.z.unknown()).nullable().optional(),
|
|
28
28
|
retention_ratio: zod.z.number().describe("Ratio of tokens to retain from the beginning of context")
|
|
29
|
-
}).describe("Configuration for conversation truncation.")]).optional(),
|
|
29
|
+
}).passthrough().describe("Configuration for conversation truncation.")]).optional(),
|
|
30
30
|
temperature: zod.z.number().describe("Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8").optional(),
|
|
31
31
|
tool_choice: zod.z.string().describe("How the model chooses tools. Options are 'auto', 'none', 'required', or specify a function").optional(),
|
|
32
32
|
instructions: zod.z.string().describe("System instructions for the model. Guides the model on desired responses and behavior").optional(),
|
|
@@ -52,7 +52,7 @@ const OpenaiCreateRealtimeSessionInput = zod.z.object({
|
|
|
52
52
|
const OpenaiCreateRealtimeSession_ClientSecretSchema = zod.z.object({
|
|
53
53
|
value: zod.z.string().describe("Ephemeral key usable in client environments to authenticate connections to the Realtime API").nullable(),
|
|
54
54
|
expires_at: zod.z.number().int().describe("Timestamp for when the token expires (currently all tokens expire after one minute)").nullable()
|
|
55
|
-
}).describe("Ephemeral key information.");
|
|
55
|
+
}).passthrough().describe("Ephemeral key information.");
|
|
56
56
|
const OpenaiCreateRealtimeSessionOutput = zod.z.object({
|
|
57
57
|
id: zod.z.string().describe("Unique identifier for the session that looks like 'sess_1234567890abcdef'").nullable(),
|
|
58
58
|
model: zod.z.string().describe("The Realtime model used for this session").nullable(),
|
|
@@ -76,7 +76,7 @@ const OpenaiCreateRealtimeSessionOutput = zod.z.object({
|
|
|
76
76
|
input_audio_transcription: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Configuration for input audio transcription").nullable().optional(),
|
|
77
77
|
max_response_output_tokens: zod.z.union([zod.z.number().int(), zod.z.string()]).nullable().optional(),
|
|
78
78
|
input_audio_noise_reduction: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Configuration for input audio noise reduction").nullable().optional()
|
|
79
|
-
}).describe("Response schema for created realtime session.");
|
|
79
|
+
}).passthrough().describe("Response schema for created realtime session.");
|
|
80
80
|
const openaiCreateRealtimeSession = require_action.action("OPENAI_CREATE_REALTIME_SESSION", {
|
|
81
81
|
slug: "openai-create-realtime-session",
|
|
82
82
|
name: "Create Realtime Session",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-realtime-session.cjs","names":["z","action"],"sources":["../../src/actions/create-realtime-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateRealtimeSessionInput = z.object({\n model: z.string().describe(\"Model to use for the realtime session\"),\n speed: z.number().describe(\"The speed of the model's spoken response. 1.0 is default, 0.25 is minimum, 1.5 is maximum\").optional(),\n tools: z.array(z.object({\n name: z.string().describe(\"Name of the function\"),\n type: z.string().describe(\"Type of tool, must be 'function'\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"JSON Schema describing the function parameters\").optional(),\n description: z.string().describe(\"Description of what the function does\").optional(),\n}).describe(\"Function tool definition.\")).describe(\"Tools (functions) available to the model\").optional(),\n voice: z.union([z.string(), z.object({\n id: z.string().describe(\"Voice ID for custom voices\"),\n}).describe(\"Custom voice configuration.\")]).optional(),\n prompt: z.object({\n id: z.string().describe(\"Prompt ID\"),\n version: z.union([z.number().int(), z.string()]).optional(),\n variables: z.record(z.string(), z.unknown()).describe(\"Variables for the prompt\").optional(),\n}).describe(\"Prompt configuration.\").optional(),\n tracing: z.union([z.string(), z.object({\n group_id: z.string().nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).nullable().optional(),\n workflow_name: z.string().nullable().optional(),\n}).describe(\"Configuration for tracing.\")]).optional(),\n modalities: z.array(z.enum([\"text\", \"audio\"])).describe(\"The set of modalities the model can respond with. To disable audio, set this to ['text']\").optional(),\n truncation: z.union([z.string(), z.object({\n type: z.string().describe(\"Type of truncation configuration\"),\n token_limits: z.record(z.string(), z.unknown()).nullable().optional(),\n retention_ratio: z.number().describe(\"Ratio of tokens to retain from the beginning of context\"),\n}).describe(\"Configuration for conversation truncation.\")]).optional(),\n temperature: z.number().describe(\"Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8\").optional(),\n tool_choice: z.string().describe(\"How the model chooses tools. Options are 'auto', 'none', 'required', or specify a function\").optional(),\n instructions: z.string().describe(\"System instructions for the model. Guides the model on desired responses and behavior\").optional(),\n turn_detection: z.object({\n type: z.string().describe(\"Type of turn detection, only 'server_vad' is currently supported\").optional(),\n threshold: z.number().describe(\"Activation threshold for VAD (0.0 to 1.0), defaults to 0.5. Higher threshold requires louder audio\").optional(),\n prefix_padding_ms: z.number().int().describe(\"Amount of audio to include before VAD detected speech (in milliseconds). Defaults to 300ms\").optional(),\n silence_duration_ms: z.number().int().describe(\"Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms\").optional(),\n}).describe(\"Configuration for turn detection (server VAD).\").optional(),\n input_audio_format: z.enum([\"pcm16\", \"g711_ulaw\", \"g711_alaw\"]).describe(\"The format of input audio\").optional(),\n output_audio_format: z.enum([\"pcm16\", \"g711_ulaw\", \"g711_alaw\"]).describe(\"The format of output audio\").optional(),\n input_audio_transcription: z.object({\n model: z.string().describe(\"The model to use for transcription\").optional(),\n}).describe(\"Configuration for input audio transcription.\").optional(),\n max_response_output_tokens: z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Request model for creating a realtime session.\");\nconst OpenaiCreateRealtimeSession_ClientSecretSchema = z.object({\n value: z.string().describe(\"Ephemeral key usable in client environments to authenticate connections to the Realtime API\").nullable(),\n expires_at: z.number().int().describe(\"Timestamp for when the token expires (currently all tokens expire after one minute)\").nullable(),\n}).describe(\"Ephemeral key information.\");\nexport const OpenaiCreateRealtimeSessionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the session that looks like 'sess_1234567890abcdef'\").nullable(),\n model: z.string().describe(\"The Realtime model used for this session\").nullable(),\n speed: z.number().describe(\"The speed of the model's spoken response\").nullable().optional(),\n tools: z.array(z.record(z.string(), z.unknown())).describe(\"Tools (functions) available to the model\").nullable().optional(),\n voice: z.string().describe(\"The voice used for audio responses\").nullable().optional(),\n object: z.string().describe(\"The object type. Always 'realtime.session'\").nullable(),\n prompt: z.record(z.string(), z.unknown()).describe(\"Prompt configuration\").nullable().optional(),\n include: z.array(z.string()).describe(\"Additional fields to include in server outputs\").nullable().optional(),\n tracing: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n expires_at: z.number().int().describe(\"Expiration timestamp for the session, in seconds since epoch\").nullable(),\n modalities: z.array(z.string()).describe(\"The set of modalities the model can respond with\").nullable().optional(),\n truncation: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n temperature: z.number().describe(\"Sampling temperature for the model\").nullable().optional(),\n tool_choice: z.string().describe(\"How the model chooses tools\").nullable().optional(),\n instructions: z.string().describe(\"The default system instructions for the session\").nullable().optional(),\n client_secret: OpenaiCreateRealtimeSession_ClientSecretSchema.nullable(),\n turn_detection: z.record(z.string(), z.unknown()).describe(\"Configuration for turn detection\").nullable().optional(),\n input_audio_format: z.string().describe(\"The format of input audio\").nullable().optional(),\n output_audio_format: z.string().describe(\"The format of output audio\").nullable().optional(),\n input_audio_transcription: z.record(z.string(), z.unknown()).describe(\"Configuration for input audio transcription\").nullable().optional(),\n max_response_output_tokens: z.union([z.number().int(), z.string()]).nullable().optional(),\n input_audio_noise_reduction: z.record(z.string(), z.unknown()).describe(\"Configuration for input audio noise reduction\").nullable().optional(),\n}).describe(\"Response schema for created realtime session.\");\n\nexport const openaiCreateRealtimeSession = action(\"OPENAI_CREATE_REALTIME_SESSION\", {\n slug: \"openai-create-realtime-session\",\n name: \"Create Realtime Session\",\n description: \"Tool to create an ephemeral API token for client-side Realtime API applications. Use when setting up browser-based real-time audio/text interactions.\",\n input: OpenaiCreateRealtimeSessionInput,\n output: OpenaiCreateRealtimeSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjI,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SA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file":"create-realtime-session.cjs","names":["z","action"],"sources":["../../src/actions/create-realtime-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateRealtimeSessionInput = z.object({\n model: z.string().describe(\"Model to use for the realtime session\"),\n speed: z.number().describe(\"The speed of the model's spoken response. 1.0 is default, 0.25 is minimum, 1.5 is maximum\").optional(),\n tools: z.array(z.object({\n name: z.string().describe(\"Name of the function\"),\n type: z.string().describe(\"Type of tool, must be 'function'\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"JSON Schema describing the function parameters\").optional(),\n description: z.string().describe(\"Description of what the function does\").optional(),\n}).passthrough().describe(\"Function tool definition.\")).describe(\"Tools (functions) available to the model\").optional(),\n voice: z.union([z.string(), z.object({\n id: z.string().describe(\"Voice ID for custom voices\"),\n}).passthrough().describe(\"Custom voice configuration.\")]).optional(),\n prompt: z.object({\n id: z.string().describe(\"Prompt ID\"),\n version: z.union([z.number().int(), z.string()]).optional(),\n variables: z.record(z.string(), z.unknown()).describe(\"Variables for the prompt\").optional(),\n}).describe(\"Prompt configuration.\").optional(),\n tracing: z.union([z.string(), z.object({\n group_id: z.string().nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).nullable().optional(),\n workflow_name: z.string().nullable().optional(),\n}).passthrough().describe(\"Configuration for tracing.\")]).optional(),\n modalities: z.array(z.enum([\"text\", \"audio\"])).describe(\"The set of modalities the model can respond with. To disable audio, set this to ['text']\").optional(),\n truncation: z.union([z.string(), z.object({\n type: z.string().describe(\"Type of truncation configuration\"),\n token_limits: z.record(z.string(), z.unknown()).nullable().optional(),\n retention_ratio: z.number().describe(\"Ratio of tokens to retain from the beginning of context\"),\n}).passthrough().describe(\"Configuration for conversation truncation.\")]).optional(),\n temperature: z.number().describe(\"Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8\").optional(),\n tool_choice: z.string().describe(\"How the model chooses tools. Options are 'auto', 'none', 'required', or specify a function\").optional(),\n instructions: z.string().describe(\"System instructions for the model. Guides the model on desired responses and behavior\").optional(),\n turn_detection: z.object({\n type: z.string().describe(\"Type of turn detection, only 'server_vad' is currently supported\").optional(),\n threshold: z.number().describe(\"Activation threshold for VAD (0.0 to 1.0), defaults to 0.5. Higher threshold requires louder audio\").optional(),\n prefix_padding_ms: z.number().int().describe(\"Amount of audio to include before VAD detected speech (in milliseconds). Defaults to 300ms\").optional(),\n silence_duration_ms: z.number().int().describe(\"Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms\").optional(),\n}).describe(\"Configuration for turn detection (server VAD).\").optional(),\n input_audio_format: z.enum([\"pcm16\", \"g711_ulaw\", \"g711_alaw\"]).describe(\"The format of input audio\").optional(),\n output_audio_format: z.enum([\"pcm16\", \"g711_ulaw\", \"g711_alaw\"]).describe(\"The format of output audio\").optional(),\n input_audio_transcription: z.object({\n model: z.string().describe(\"The model to use for transcription\").optional(),\n}).describe(\"Configuration for input audio transcription.\").optional(),\n max_response_output_tokens: z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Request model for creating a realtime session.\");\nconst OpenaiCreateRealtimeSession_ClientSecretSchema = z.object({\n value: z.string().describe(\"Ephemeral key usable in client environments to authenticate connections to the Realtime API\").nullable(),\n expires_at: z.number().int().describe(\"Timestamp for when the token expires (currently all tokens expire after one minute)\").nullable(),\n}).passthrough().describe(\"Ephemeral key information.\");\nexport const OpenaiCreateRealtimeSessionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the session that looks like 'sess_1234567890abcdef'\").nullable(),\n model: z.string().describe(\"The Realtime model used for this session\").nullable(),\n speed: z.number().describe(\"The speed of the model's spoken response\").nullable().optional(),\n tools: z.array(z.record(z.string(), z.unknown())).describe(\"Tools (functions) available to the model\").nullable().optional(),\n voice: z.string().describe(\"The voice used for audio responses\").nullable().optional(),\n object: z.string().describe(\"The object type. Always 'realtime.session'\").nullable(),\n prompt: z.record(z.string(), z.unknown()).describe(\"Prompt configuration\").nullable().optional(),\n include: z.array(z.string()).describe(\"Additional fields to include in server outputs\").nullable().optional(),\n tracing: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n expires_at: z.number().int().describe(\"Expiration timestamp for the session, in seconds since epoch\").nullable(),\n modalities: z.array(z.string()).describe(\"The set of modalities the model can respond with\").nullable().optional(),\n truncation: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n temperature: z.number().describe(\"Sampling temperature for the model\").nullable().optional(),\n tool_choice: z.string().describe(\"How the model chooses tools\").nullable().optional(),\n instructions: z.string().describe(\"The default system instructions for the session\").nullable().optional(),\n client_secret: OpenaiCreateRealtimeSession_ClientSecretSchema.nullable(),\n turn_detection: z.record(z.string(), z.unknown()).describe(\"Configuration for turn detection\").nullable().optional(),\n input_audio_format: z.string().describe(\"The format of input audio\").nullable().optional(),\n output_audio_format: z.string().describe(\"The format of output audio\").nullable().optional(),\n input_audio_transcription: z.record(z.string(), z.unknown()).describe(\"Configuration for input audio transcription\").nullable().optional(),\n max_response_output_tokens: z.union([z.number().int(), z.string()]).nullable().optional(),\n input_audio_noise_reduction: z.record(z.string(), z.unknown()).describe(\"Configuration for input audio noise reduction\").nullable().optional(),\n}).passthrough().describe(\"Response schema for created realtime session.\");\n\nexport const openaiCreateRealtimeSession = action(\"OPENAI_CREATE_REALTIME_SESSION\", {\n slug: \"openai-create-realtime-session\",\n name: \"Create Realtime Session\",\n description: \"Tool to create an ephemeral API token for client-side Realtime API applications. Use when setting up browser-based real-time audio/text interactions.\",\n input: OpenaiCreateRealtimeSessionInput,\n output: OpenaiCreateRealtimeSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjI,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,MAAMA,IA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SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,10 +9,10 @@ declare const OpenaiCreateRealtimeSessionInput: z.ZodObject<{
|
|
|
9
9
|
type: z.ZodString;
|
|
10
10
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
11
|
description: z.ZodOptional<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
voice: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
14
14
|
id: z.ZodString;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>]>>;
|
|
16
16
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
17
17
|
id: z.ZodString;
|
|
18
18
|
version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
@@ -22,7 +22,7 @@ declare const OpenaiCreateRealtimeSessionInput: z.ZodObject<{
|
|
|
22
22
|
group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
24
|
workflow_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>]>>;
|
|
26
26
|
modalities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
27
27
|
text: "text";
|
|
28
28
|
audio: "audio";
|
|
@@ -31,7 +31,7 @@ declare const OpenaiCreateRealtimeSessionInput: z.ZodObject<{
|
|
|
31
31
|
type: z.ZodString;
|
|
32
32
|
token_limits: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
33
33
|
retention_ratio: z.ZodNumber;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>]>>;
|
|
35
35
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
36
36
|
tool_choice: z.ZodOptional<z.ZodString>;
|
|
37
37
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -75,24 +75,26 @@ declare const OpenaiCreateRealtimeSessionOutput: z.ZodObject<{
|
|
|
75
75
|
client_secret: z.ZodNullable<z.ZodObject<{
|
|
76
76
|
value: z.ZodNullable<z.ZodString>;
|
|
77
77
|
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
78
|
-
}, z.core.$
|
|
78
|
+
}, z.core.$loose>>;
|
|
79
79
|
turn_detection: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
80
80
|
input_audio_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
81
81
|
output_audio_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
82
|
input_audio_transcription: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
83
83
|
max_response_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
84
84
|
input_audio_noise_reduction: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
85
|
-
}, z.core.$
|
|
85
|
+
}, z.core.$loose>;
|
|
86
86
|
declare const openaiCreateRealtimeSession: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
87
87
|
model: string;
|
|
88
88
|
speed?: number | undefined;
|
|
89
89
|
tools?: {
|
|
90
|
+
[x: string]: unknown;
|
|
90
91
|
name: string;
|
|
91
92
|
type: string;
|
|
92
93
|
parameters?: Record<string, unknown> | undefined;
|
|
93
94
|
description?: string | undefined;
|
|
94
95
|
}[] | undefined;
|
|
95
96
|
voice?: string | {
|
|
97
|
+
[x: string]: unknown;
|
|
96
98
|
id: string;
|
|
97
99
|
} | undefined;
|
|
98
100
|
prompt?: {
|
|
@@ -101,12 +103,14 @@ declare const openaiCreateRealtimeSession: import("@keystrokehq/action").Workflo
|
|
|
101
103
|
variables?: Record<string, unknown> | undefined;
|
|
102
104
|
} | undefined;
|
|
103
105
|
tracing?: string | {
|
|
106
|
+
[x: string]: unknown;
|
|
104
107
|
group_id?: string | null | undefined;
|
|
105
108
|
metadata?: Record<string, unknown> | null | undefined;
|
|
106
109
|
workflow_name?: string | null | undefined;
|
|
107
110
|
} | undefined;
|
|
108
111
|
modalities?: ("text" | "audio")[] | undefined;
|
|
109
112
|
truncation?: string | {
|
|
113
|
+
[x: string]: unknown;
|
|
110
114
|
type: string;
|
|
111
115
|
retention_ratio: number;
|
|
112
116
|
token_limits?: Record<string, unknown> | null | undefined;
|
|
@@ -9,10 +9,10 @@ declare const OpenaiCreateRealtimeSessionInput: z.ZodObject<{
|
|
|
9
9
|
type: z.ZodString;
|
|
10
10
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
11
|
description: z.ZodOptional<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
voice: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
14
14
|
id: z.ZodString;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>]>>;
|
|
16
16
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
17
17
|
id: z.ZodString;
|
|
18
18
|
version: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
@@ -22,7 +22,7 @@ declare const OpenaiCreateRealtimeSessionInput: z.ZodObject<{
|
|
|
22
22
|
group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
24
24
|
workflow_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>]>>;
|
|
26
26
|
modalities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
27
27
|
text: "text";
|
|
28
28
|
audio: "audio";
|
|
@@ -31,7 +31,7 @@ declare const OpenaiCreateRealtimeSessionInput: z.ZodObject<{
|
|
|
31
31
|
type: z.ZodString;
|
|
32
32
|
token_limits: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
33
33
|
retention_ratio: z.ZodNumber;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>]>>;
|
|
35
35
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
36
36
|
tool_choice: z.ZodOptional<z.ZodString>;
|
|
37
37
|
instructions: z.ZodOptional<z.ZodString>;
|
|
@@ -75,24 +75,26 @@ declare const OpenaiCreateRealtimeSessionOutput: z.ZodObject<{
|
|
|
75
75
|
client_secret: z.ZodNullable<z.ZodObject<{
|
|
76
76
|
value: z.ZodNullable<z.ZodString>;
|
|
77
77
|
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
78
|
-
}, z.core.$
|
|
78
|
+
}, z.core.$loose>>;
|
|
79
79
|
turn_detection: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
80
80
|
input_audio_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
81
81
|
output_audio_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
82
|
input_audio_transcription: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
83
83
|
max_response_output_tokens: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
84
84
|
input_audio_noise_reduction: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
85
|
-
}, z.core.$
|
|
85
|
+
}, z.core.$loose>;
|
|
86
86
|
declare const openaiCreateRealtimeSession: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
87
87
|
model: string;
|
|
88
88
|
speed?: number | undefined;
|
|
89
89
|
tools?: {
|
|
90
|
+
[x: string]: unknown;
|
|
90
91
|
name: string;
|
|
91
92
|
type: string;
|
|
92
93
|
parameters?: Record<string, unknown> | undefined;
|
|
93
94
|
description?: string | undefined;
|
|
94
95
|
}[] | undefined;
|
|
95
96
|
voice?: string | {
|
|
97
|
+
[x: string]: unknown;
|
|
96
98
|
id: string;
|
|
97
99
|
} | undefined;
|
|
98
100
|
prompt?: {
|
|
@@ -101,12 +103,14 @@ declare const openaiCreateRealtimeSession: import("@keystrokehq/action").Workflo
|
|
|
101
103
|
variables?: Record<string, unknown> | undefined;
|
|
102
104
|
} | undefined;
|
|
103
105
|
tracing?: string | {
|
|
106
|
+
[x: string]: unknown;
|
|
104
107
|
group_id?: string | null | undefined;
|
|
105
108
|
metadata?: Record<string, unknown> | null | undefined;
|
|
106
109
|
workflow_name?: string | null | undefined;
|
|
107
110
|
} | undefined;
|
|
108
111
|
modalities?: ("text" | "audio")[] | undefined;
|
|
109
112
|
truncation?: string | {
|
|
113
|
+
[x: string]: unknown;
|
|
110
114
|
type: string;
|
|
111
115
|
retention_ratio: number;
|
|
112
116
|
token_limits?: Record<string, unknown> | null | undefined;
|
|
@@ -9,8 +9,8 @@ const OpenaiCreateRealtimeSessionInput = z.object({
|
|
|
9
9
|
type: z.string().describe("Type of tool, must be 'function'"),
|
|
10
10
|
parameters: z.record(z.string(), z.unknown()).describe("JSON Schema describing the function parameters").optional(),
|
|
11
11
|
description: z.string().describe("Description of what the function does").optional()
|
|
12
|
-
}).describe("Function tool definition.")).describe("Tools (functions) available to the model").optional(),
|
|
13
|
-
voice: z.union([z.string(), z.object({ id: z.string().describe("Voice ID for custom voices") }).describe("Custom voice configuration.")]).optional(),
|
|
12
|
+
}).passthrough().describe("Function tool definition.")).describe("Tools (functions) available to the model").optional(),
|
|
13
|
+
voice: z.union([z.string(), z.object({ id: z.string().describe("Voice ID for custom voices") }).passthrough().describe("Custom voice configuration.")]).optional(),
|
|
14
14
|
prompt: z.object({
|
|
15
15
|
id: z.string().describe("Prompt ID"),
|
|
16
16
|
version: z.union([z.number().int(), z.string()]).optional(),
|
|
@@ -20,13 +20,13 @@ const OpenaiCreateRealtimeSessionInput = z.object({
|
|
|
20
20
|
group_id: z.string().nullable().optional(),
|
|
21
21
|
metadata: z.record(z.string(), z.unknown()).nullable().optional(),
|
|
22
22
|
workflow_name: z.string().nullable().optional()
|
|
23
|
-
}).describe("Configuration for tracing.")]).optional(),
|
|
23
|
+
}).passthrough().describe("Configuration for tracing.")]).optional(),
|
|
24
24
|
modalities: z.array(z.enum(["text", "audio"])).describe("The set of modalities the model can respond with. To disable audio, set this to ['text']").optional(),
|
|
25
25
|
truncation: z.union([z.string(), z.object({
|
|
26
26
|
type: z.string().describe("Type of truncation configuration"),
|
|
27
27
|
token_limits: z.record(z.string(), z.unknown()).nullable().optional(),
|
|
28
28
|
retention_ratio: z.number().describe("Ratio of tokens to retain from the beginning of context")
|
|
29
|
-
}).describe("Configuration for conversation truncation.")]).optional(),
|
|
29
|
+
}).passthrough().describe("Configuration for conversation truncation.")]).optional(),
|
|
30
30
|
temperature: z.number().describe("Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8").optional(),
|
|
31
31
|
tool_choice: z.string().describe("How the model chooses tools. Options are 'auto', 'none', 'required', or specify a function").optional(),
|
|
32
32
|
instructions: z.string().describe("System instructions for the model. Guides the model on desired responses and behavior").optional(),
|
|
@@ -52,7 +52,7 @@ const OpenaiCreateRealtimeSessionInput = z.object({
|
|
|
52
52
|
const OpenaiCreateRealtimeSession_ClientSecretSchema = z.object({
|
|
53
53
|
value: z.string().describe("Ephemeral key usable in client environments to authenticate connections to the Realtime API").nullable(),
|
|
54
54
|
expires_at: z.number().int().describe("Timestamp for when the token expires (currently all tokens expire after one minute)").nullable()
|
|
55
|
-
}).describe("Ephemeral key information.");
|
|
55
|
+
}).passthrough().describe("Ephemeral key information.");
|
|
56
56
|
const openaiCreateRealtimeSession = action("OPENAI_CREATE_REALTIME_SESSION", {
|
|
57
57
|
slug: "openai-create-realtime-session",
|
|
58
58
|
name: "Create Realtime Session",
|
|
@@ -81,7 +81,7 @@ const openaiCreateRealtimeSession = action("OPENAI_CREATE_REALTIME_SESSION", {
|
|
|
81
81
|
input_audio_transcription: z.record(z.string(), z.unknown()).describe("Configuration for input audio transcription").nullable().optional(),
|
|
82
82
|
max_response_output_tokens: z.union([z.number().int(), z.string()]).nullable().optional(),
|
|
83
83
|
input_audio_noise_reduction: z.record(z.string(), z.unknown()).describe("Configuration for input audio noise reduction").nullable().optional()
|
|
84
|
-
}).describe("Response schema for created realtime session.")
|
|
84
|
+
}).passthrough().describe("Response schema for created realtime session.")
|
|
85
85
|
});
|
|
86
86
|
//#endregion
|
|
87
87
|
export { openaiCreateRealtimeSession };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-realtime-session.mjs","names":[],"sources":["../../src/actions/create-realtime-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateRealtimeSessionInput = z.object({\n model: z.string().describe(\"Model to use for the realtime session\"),\n speed: z.number().describe(\"The speed of the model's spoken response. 1.0 is default, 0.25 is minimum, 1.5 is maximum\").optional(),\n tools: z.array(z.object({\n name: z.string().describe(\"Name of the function\"),\n type: z.string().describe(\"Type of tool, must be 'function'\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"JSON Schema describing the function parameters\").optional(),\n description: z.string().describe(\"Description of what the function does\").optional(),\n}).describe(\"Function tool definition.\")).describe(\"Tools (functions) available to the model\").optional(),\n voice: z.union([z.string(), z.object({\n id: z.string().describe(\"Voice ID for custom voices\"),\n}).describe(\"Custom voice configuration.\")]).optional(),\n prompt: z.object({\n id: z.string().describe(\"Prompt ID\"),\n version: z.union([z.number().int(), z.string()]).optional(),\n variables: z.record(z.string(), z.unknown()).describe(\"Variables for the prompt\").optional(),\n}).describe(\"Prompt configuration.\").optional(),\n tracing: z.union([z.string(), z.object({\n group_id: z.string().nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).nullable().optional(),\n workflow_name: z.string().nullable().optional(),\n}).describe(\"Configuration for tracing.\")]).optional(),\n modalities: z.array(z.enum([\"text\", \"audio\"])).describe(\"The set of modalities the model can respond with. To disable audio, set this to ['text']\").optional(),\n truncation: z.union([z.string(), z.object({\n type: z.string().describe(\"Type of truncation configuration\"),\n token_limits: z.record(z.string(), z.unknown()).nullable().optional(),\n retention_ratio: z.number().describe(\"Ratio of tokens to retain from the beginning of context\"),\n}).describe(\"Configuration for conversation truncation.\")]).optional(),\n temperature: z.number().describe(\"Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8\").optional(),\n tool_choice: z.string().describe(\"How the model chooses tools. Options are 'auto', 'none', 'required', or specify a function\").optional(),\n instructions: z.string().describe(\"System instructions for the model. Guides the model on desired responses and behavior\").optional(),\n turn_detection: z.object({\n type: z.string().describe(\"Type of turn detection, only 'server_vad' is currently supported\").optional(),\n threshold: z.number().describe(\"Activation threshold for VAD (0.0 to 1.0), defaults to 0.5. Higher threshold requires louder audio\").optional(),\n prefix_padding_ms: z.number().int().describe(\"Amount of audio to include before VAD detected speech (in milliseconds). Defaults to 300ms\").optional(),\n silence_duration_ms: z.number().int().describe(\"Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms\").optional(),\n}).describe(\"Configuration for turn detection (server VAD).\").optional(),\n input_audio_format: z.enum([\"pcm16\", \"g711_ulaw\", \"g711_alaw\"]).describe(\"The format of input audio\").optional(),\n output_audio_format: z.enum([\"pcm16\", \"g711_ulaw\", \"g711_alaw\"]).describe(\"The format of output audio\").optional(),\n input_audio_transcription: z.object({\n model: z.string().describe(\"The model to use for transcription\").optional(),\n}).describe(\"Configuration for input audio transcription.\").optional(),\n max_response_output_tokens: z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Request model for creating a realtime session.\");\nconst OpenaiCreateRealtimeSession_ClientSecretSchema = z.object({\n value: z.string().describe(\"Ephemeral key usable in client environments to authenticate connections to the Realtime API\").nullable(),\n expires_at: z.number().int().describe(\"Timestamp for when the token expires (currently all tokens expire after one minute)\").nullable(),\n}).describe(\"Ephemeral key information.\");\nexport const OpenaiCreateRealtimeSessionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the session that looks like 'sess_1234567890abcdef'\").nullable(),\n model: z.string().describe(\"The Realtime model used for this session\").nullable(),\n speed: z.number().describe(\"The speed of the model's spoken response\").nullable().optional(),\n tools: z.array(z.record(z.string(), z.unknown())).describe(\"Tools (functions) available to the model\").nullable().optional(),\n voice: z.string().describe(\"The voice used for audio responses\").nullable().optional(),\n object: z.string().describe(\"The object type. Always 'realtime.session'\").nullable(),\n prompt: z.record(z.string(), z.unknown()).describe(\"Prompt configuration\").nullable().optional(),\n include: z.array(z.string()).describe(\"Additional fields to include in server outputs\").nullable().optional(),\n tracing: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n expires_at: z.number().int().describe(\"Expiration timestamp for the session, in seconds since epoch\").nullable(),\n modalities: z.array(z.string()).describe(\"The set of modalities the model can respond with\").nullable().optional(),\n truncation: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n temperature: z.number().describe(\"Sampling temperature for the model\").nullable().optional(),\n tool_choice: z.string().describe(\"How the model chooses tools\").nullable().optional(),\n instructions: z.string().describe(\"The default system instructions for the session\").nullable().optional(),\n client_secret: OpenaiCreateRealtimeSession_ClientSecretSchema.nullable(),\n turn_detection: z.record(z.string(), z.unknown()).describe(\"Configuration for turn detection\").nullable().optional(),\n input_audio_format: z.string().describe(\"The format of input audio\").nullable().optional(),\n output_audio_format: z.string().describe(\"The format of output audio\").nullable().optional(),\n input_audio_transcription: z.record(z.string(), z.unknown()).describe(\"Configuration for input audio transcription\").nullable().optional(),\n max_response_output_tokens: z.union([z.number().int(), z.string()]).nullable().optional(),\n input_audio_noise_reduction: z.record(z.string(), z.unknown()).describe(\"Configuration for input audio noise reduction\").nullable().optional(),\n}).describe(\"Response schema for created realtime session.\");\n\nexport const openaiCreateRealtimeSession = action(\"OPENAI_CREATE_REALTIME_SESSION\", {\n slug: \"openai-create-realtime-session\",\n name: \"Create Realtime Session\",\n description: \"Tool to create an ephemeral API token for client-side Realtime API applications. Use when setting up browser-based real-time audio/text interactions.\",\n input: OpenaiCreateRealtimeSessionInput,\n output: OpenaiCreateRealtimeSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjI,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAClH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EACrC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACtD,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAAC,CAAC,SAAS;CACpD,QAAQ,EAAE,OAAO;EACjB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;EACnC,SAAS,EAAE,MAAM,CAAC,EA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AAC,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,eAAe,+CAA+C,SAAS;EACvE,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,2BAA2B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,4BAA4B,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,6BAA6B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-realtime-session.mjs","names":[],"sources":["../../src/actions/create-realtime-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateRealtimeSessionInput = z.object({\n model: z.string().describe(\"Model to use for the realtime session\"),\n speed: z.number().describe(\"The speed of the model's spoken response. 1.0 is default, 0.25 is minimum, 1.5 is maximum\").optional(),\n tools: z.array(z.object({\n name: z.string().describe(\"Name of the function\"),\n type: z.string().describe(\"Type of tool, must be 'function'\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"JSON Schema describing the function parameters\").optional(),\n description: z.string().describe(\"Description of what the function does\").optional(),\n}).passthrough().describe(\"Function tool definition.\")).describe(\"Tools (functions) available to the model\").optional(),\n voice: z.union([z.string(), z.object({\n id: z.string().describe(\"Voice ID for custom voices\"),\n}).passthrough().describe(\"Custom voice configuration.\")]).optional(),\n prompt: z.object({\n id: z.string().describe(\"Prompt ID\"),\n version: z.union([z.number().int(), z.string()]).optional(),\n variables: z.record(z.string(), z.unknown()).describe(\"Variables for the prompt\").optional(),\n}).describe(\"Prompt configuration.\").optional(),\n tracing: z.union([z.string(), z.object({\n group_id: z.string().nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).nullable().optional(),\n workflow_name: z.string().nullable().optional(),\n}).passthrough().describe(\"Configuration for tracing.\")]).optional(),\n modalities: z.array(z.enum([\"text\", \"audio\"])).describe(\"The set of modalities the model can respond with. To disable audio, set this to ['text']\").optional(),\n truncation: z.union([z.string(), z.object({\n type: z.string().describe(\"Type of truncation configuration\"),\n token_limits: z.record(z.string(), z.unknown()).nullable().optional(),\n retention_ratio: z.number().describe(\"Ratio of tokens to retain from the beginning of context\"),\n}).passthrough().describe(\"Configuration for conversation truncation.\")]).optional(),\n temperature: z.number().describe(\"Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8\").optional(),\n tool_choice: z.string().describe(\"How the model chooses tools. Options are 'auto', 'none', 'required', or specify a function\").optional(),\n instructions: z.string().describe(\"System instructions for the model. Guides the model on desired responses and behavior\").optional(),\n turn_detection: z.object({\n type: z.string().describe(\"Type of turn detection, only 'server_vad' is currently supported\").optional(),\n threshold: z.number().describe(\"Activation threshold for VAD (0.0 to 1.0), defaults to 0.5. Higher threshold requires louder audio\").optional(),\n prefix_padding_ms: z.number().int().describe(\"Amount of audio to include before VAD detected speech (in milliseconds). Defaults to 300ms\").optional(),\n silence_duration_ms: z.number().int().describe(\"Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms\").optional(),\n}).describe(\"Configuration for turn detection (server VAD).\").optional(),\n input_audio_format: z.enum([\"pcm16\", \"g711_ulaw\", \"g711_alaw\"]).describe(\"The format of input audio\").optional(),\n output_audio_format: z.enum([\"pcm16\", \"g711_ulaw\", \"g711_alaw\"]).describe(\"The format of output audio\").optional(),\n input_audio_transcription: z.object({\n model: z.string().describe(\"The model to use for transcription\").optional(),\n}).describe(\"Configuration for input audio transcription.\").optional(),\n max_response_output_tokens: z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Request model for creating a realtime session.\");\nconst OpenaiCreateRealtimeSession_ClientSecretSchema = z.object({\n value: z.string().describe(\"Ephemeral key usable in client environments to authenticate connections to the Realtime API\").nullable(),\n expires_at: z.number().int().describe(\"Timestamp for when the token expires (currently all tokens expire after one minute)\").nullable(),\n}).passthrough().describe(\"Ephemeral key information.\");\nexport const OpenaiCreateRealtimeSessionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the session that looks like 'sess_1234567890abcdef'\").nullable(),\n model: z.string().describe(\"The Realtime model used for this session\").nullable(),\n speed: z.number().describe(\"The speed of the model's spoken response\").nullable().optional(),\n tools: z.array(z.record(z.string(), z.unknown())).describe(\"Tools (functions) available to the model\").nullable().optional(),\n voice: z.string().describe(\"The voice used for audio responses\").nullable().optional(),\n object: z.string().describe(\"The object type. Always 'realtime.session'\").nullable(),\n prompt: z.record(z.string(), z.unknown()).describe(\"Prompt configuration\").nullable().optional(),\n include: z.array(z.string()).describe(\"Additional fields to include in server outputs\").nullable().optional(),\n tracing: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n expires_at: z.number().int().describe(\"Expiration timestamp for the session, in seconds since epoch\").nullable(),\n modalities: z.array(z.string()).describe(\"The set of modalities the model can respond with\").nullable().optional(),\n truncation: z.union([z.string(), z.record(z.string(), z.unknown())]).nullable().optional(),\n temperature: z.number().describe(\"Sampling temperature for the model\").nullable().optional(),\n tool_choice: z.string().describe(\"How the model chooses tools\").nullable().optional(),\n instructions: z.string().describe(\"The default system instructions for the session\").nullable().optional(),\n client_secret: OpenaiCreateRealtimeSession_ClientSecretSchema.nullable(),\n turn_detection: z.record(z.string(), z.unknown()).describe(\"Configuration for turn detection\").nullable().optional(),\n input_audio_format: z.string().describe(\"The format of input audio\").nullable().optional(),\n output_audio_format: z.string().describe(\"The format of output audio\").nullable().optional(),\n input_audio_transcription: z.record(z.string(), z.unknown()).describe(\"Configuration for input audio transcription\").nullable().optional(),\n max_response_output_tokens: z.union([z.number().int(), z.string()]).nullable().optional(),\n input_audio_noise_reduction: z.record(z.string(), z.unknown()).describe(\"Configuration for input audio noise reduction\").nullable().optional(),\n}).passthrough().describe(\"Response schema for created realtime session.\");\n\nexport const openaiCreateRealtimeSession = action(\"OPENAI_CREATE_REALTIME_SESSION\", {\n slug: \"openai-create-realtime-session\",\n name: \"Create Realtime Session\",\n description: \"Tool to create an ephemeral API token for client-side Realtime API applications. Use when setting up browser-based real-time audio/text interactions.\",\n input: OpenaiCreateRealtimeSessionInput,\n output: OpenaiCreateRealtimeSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjI,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAClH,aAAa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C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,4BAA4B,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,6BAA6B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -30,25 +30,25 @@ const OpenaiCreateRealtimeTranscriptionSessionInput = zod.z.object({
|
|
|
30
30
|
const OpenaiCreateRealtimeTranscriptionSession_ClientSecretSchema = zod.z.object({
|
|
31
31
|
value: zod.z.string().describe("Ephemeral key usable in client environments to authenticate connections to the Realtime API. Use this in client-side environments rather than a standard API token, which should only be used server-side.").nullable(),
|
|
32
32
|
expires_at: zod.z.number().int().describe("Timestamp for when the token expires. Currently, all tokens expire after one minute.").nullable()
|
|
33
|
-
}).describe("Ephemeral key returned by the API.");
|
|
33
|
+
}).passthrough().describe("Ephemeral key returned by the API.");
|
|
34
34
|
const OpenaiCreateRealtimeTranscriptionSession_ResponseTurnDetectionSchema = zod.z.object({
|
|
35
35
|
type: zod.z.string().describe("Type of turn detection, only 'server_vad' is currently supported.").nullable().optional(),
|
|
36
36
|
threshold: zod.z.number().describe("Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5.").nullable().optional(),
|
|
37
37
|
prefix_padding_ms: zod.z.number().int().describe("Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.").nullable().optional(),
|
|
38
38
|
silence_duration_ms: zod.z.number().int().describe("Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms.").nullable().optional()
|
|
39
|
-
}).describe("Turn detection configuration in response.");
|
|
39
|
+
}).passthrough().describe("Turn detection configuration in response.");
|
|
40
40
|
const OpenaiCreateRealtimeTranscriptionSession_ResponseInputAudioTranscriptionSchema = zod.z.object({
|
|
41
41
|
model: zod.z.string().describe("The model to use for transcription.").nullable().optional(),
|
|
42
42
|
prompt: zod.z.string().describe("An optional text to guide the model's style or continue a previous audio segment.").nullable().optional(),
|
|
43
43
|
language: zod.z.string().describe("The language of the input audio. Supplying the input language in ISO-639-1 format (e.g. 'en') will improve accuracy and latency.").nullable().optional()
|
|
44
|
-
}).describe("Input audio transcription configuration in response.");
|
|
44
|
+
}).passthrough().describe("Input audio transcription configuration in response.");
|
|
45
45
|
const OpenaiCreateRealtimeTranscriptionSessionOutput = zod.z.object({
|
|
46
46
|
modalities: zod.z.array(zod.z.string()).describe("The set of modalities the model can respond with. To disable audio, set this to ['text'].").nullable().optional(),
|
|
47
47
|
client_secret: OpenaiCreateRealtimeTranscriptionSession_ClientSecretSchema.nullable(),
|
|
48
48
|
turn_detection: OpenaiCreateRealtimeTranscriptionSession_ResponseTurnDetectionSchema.nullable().optional(),
|
|
49
49
|
input_audio_format: zod.z.string().describe("The format of input audio. Options are 'pcm16', 'g711_ulaw', or 'g711_alaw'.").nullable().optional(),
|
|
50
50
|
input_audio_transcription: OpenaiCreateRealtimeTranscriptionSession_ResponseInputAudioTranscriptionSchema.nullable().optional()
|
|
51
|
-
}).describe("Response model for creating a realtime transcription session.");
|
|
51
|
+
}).passthrough().describe("Response model for creating a realtime transcription session.");
|
|
52
52
|
const openaiCreateRealtimeTranscriptionSession = require_action.action("OPENAI_CREATE_REALTIME_TRANSCRIPTION_SESSION", {
|
|
53
53
|
slug: "openai-create-realtime-transcription-session",
|
|
54
54
|
name: "Create Realtime Transcription Session",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-realtime-transcription-session.cjs","names":["z","action"],"sources":["../../src/actions/create-realtime-transcription-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateRealtimeTranscriptionSessionInput = z.object({\n include: z.array(z.enum([\"item.input_audio_transcription.logprobs\"]).describe(\"Items to include in the transcription.\")).describe(\"The set of items to include in the transcription. Current available items are: 'item.input_audio_transcription.logprobs'\").optional(),\n turn_detection: z.object({\n type: z.string().describe(\"Type of turn detection. Only 'server_vad' is currently supported for transcription sessions.\").optional(),\n threshold: z.number().describe(\"Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A higher threshold will require louder audio to activate the model, and thus might perform better in noisy environments.\").optional(),\n prefix_padding_ms: z.number().int().describe(\"Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.\").optional(),\n silence_duration_ms: z.number().int().describe(\"Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms. With shorter values the model will respond more quickly, but may jump in on short pauses from the user.\").optional(),\n}).describe(\"Configuration for turn detection.\").optional(),\n input_audio_format: z.enum([\"pcm16\", \"g711_ulaw\", \"g711_alaw\"]).describe(\"Format of input audio for realtime transcription.\").optional(),\n input_audio_transcription: z.object({\n model: z.enum([\"whisper-1\", \"gpt-4o-mini-transcribe\", \"gpt-4o-mini-transcribe-2025-12-15\", \"gpt-4o-transcribe\", \"gpt-4o-transcribe-diarize\"]).describe(\"Model to use for transcription.\").optional(),\n prompt: z.string().describe(\"An optional text to guide the model's style or continue a previous audio segment. For 'whisper-1', the prompt is a list of keywords. For 'gpt-4o-transcribe' models (excluding 'gpt-4o-transcribe-diarize'), the prompt is a free text string, for example 'expect words related to technology'.\").optional(),\n language: z.string().describe(\"The language of the input audio. Supplying the input language in ISO-639-1 format (e.g. 'en') will improve accuracy and latency.\").optional(),\n}).describe(\"Configuration for input audio transcription.\").optional(),\n input_audio_noise_reduction: z.object({\n type: z.enum([\"near_field\", \"far_field\"]).describe(\"Type of noise reduction. 'near_field' is for close-talking microphones such as headphones, 'far_field' is for far-field microphones such as laptop or conference room microphones.\"),\n}).describe(\"Configuration for input audio noise reduction.\").optional(),\n}).describe(\"Request model for creating a realtime transcription session.\");\nconst OpenaiCreateRealtimeTranscriptionSession_ClientSecretSchema = z.object({\n value: z.string().describe(\"Ephemeral key usable in client environments to authenticate connections to the Realtime API. Use this in client-side environments rather than a standard API token, which should only be used server-side.\").nullable(),\n expires_at: z.number().int().describe(\"Timestamp for when the token expires. Currently, all tokens expire after one minute.\").nullable(),\n}).describe(\"Ephemeral key returned by the API.\");\nconst OpenaiCreateRealtimeTranscriptionSession_ResponseTurnDetectionSchema = z.object({\n type: z.string().describe(\"Type of turn detection, only 'server_vad' is currently supported.\").nullable().optional(),\n threshold: z.number().describe(\"Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5.\").nullable().optional(),\n prefix_padding_ms: z.number().int().describe(\"Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.\").nullable().optional(),\n silence_duration_ms: z.number().int().describe(\"Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms.\").nullable().optional(),\n}).describe(\"Turn detection configuration in response.\");\nconst OpenaiCreateRealtimeTranscriptionSession_ResponseInputAudioTranscriptionSchema = z.object({\n model: z.string().describe(\"The model to use for transcription.\").nullable().optional(),\n prompt: z.string().describe(\"An optional text to guide the model's style or continue a previous audio segment.\").nullable().optional(),\n language: z.string().describe(\"The language of the input audio. Supplying the input language in ISO-639-1 format (e.g. 'en') will improve accuracy and latency.\").nullable().optional(),\n}).describe(\"Input audio transcription configuration in response.\");\nexport const OpenaiCreateRealtimeTranscriptionSessionOutput = z.object({\n modalities: z.array(z.string()).describe(\"The set of modalities the model can respond with. To disable audio, set this to ['text'].\").nullable().optional(),\n client_secret: OpenaiCreateRealtimeTranscriptionSession_ClientSecretSchema.nullable(),\n turn_detection: OpenaiCreateRealtimeTranscriptionSession_ResponseTurnDetectionSchema.nullable().optional(),\n input_audio_format: z.string().describe(\"The format of input audio. Options are 'pcm16', 'g711_ulaw', or 'g711_alaw'.\").nullable().optional(),\n input_audio_transcription: OpenaiCreateRealtimeTranscriptionSession_ResponseInputAudioTranscriptionSchema.nullable().optional(),\n}).describe(\"Response model for creating a realtime transcription session.\");\n\nexport const openaiCreateRealtimeTranscriptionSession = action(\"OPENAI_CREATE_REALTIME_TRANSCRIPTION_SESSION\", {\n slug: \"openai-create-realtime-transcription-session\",\n name: \"Create Realtime Transcription Session\",\n description: \"Tool to create an ephemeral API token for realtime transcriptions via the Realtime API. Use when you need to authenticate browser clients for realtime audio transcription sessions. Returns a session object with a client_secret containing a usable ephemeral API token.\",\n input: OpenaiCreateRealtimeTranscriptionSessionInput,\n output: OpenaiCreateRealtimeTranscriptionSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK,CAAC,yCAAyC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACvQ,gBAAgBA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACnI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;EACrO,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EACzJ,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CACrP,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxD,oBAAoBA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAa;CAAW,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACvI,2BAA2BA,IAAAA,EAAE,OAAO;EACpC,OAAOA,IAAAA,EAAE,KAAK;GAAC;GAAa;GAA0B;GAAqC;GAAqB;EAA2B,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACnM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS,CAAC,CAAC,SAAS;EACzU,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC7K,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnE,6BAA6BA,IAAAA,EAAE,OAAO,EACtC,MAAMA,IAAAA,EAAE,KAAK,CAAC,cAAc,WAAW,CAAC,CAAC,CAAC,SAAS,oLAAoL,EACzO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M,CAAC,CAAC,SAAS;CAClP,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"create-realtime-transcription-session.cjs","names":["z","action"],"sources":["../../src/actions/create-realtime-transcription-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateRealtimeTranscriptionSessionInput = z.object({\n include: z.array(z.enum([\"item.input_audio_transcription.logprobs\"]).describe(\"Items to include in the transcription.\")).describe(\"The set of items to include in the transcription. Current available items are: 'item.input_audio_transcription.logprobs'\").optional(),\n turn_detection: z.object({\n type: z.string().describe(\"Type of turn detection. Only 'server_vad' is currently supported for transcription sessions.\").optional(),\n threshold: z.number().describe(\"Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A higher threshold will require louder audio to activate the model, and thus might perform better in noisy environments.\").optional(),\n prefix_padding_ms: z.number().int().describe(\"Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.\").optional(),\n silence_duration_ms: z.number().int().describe(\"Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms. With shorter values the model will respond more quickly, but may jump in on short pauses from the user.\").optional(),\n}).describe(\"Configuration for turn detection.\").optional(),\n input_audio_format: z.enum([\"pcm16\", \"g711_ulaw\", \"g711_alaw\"]).describe(\"Format of input audio for realtime transcription.\").optional(),\n input_audio_transcription: z.object({\n model: z.enum([\"whisper-1\", \"gpt-4o-mini-transcribe\", \"gpt-4o-mini-transcribe-2025-12-15\", \"gpt-4o-transcribe\", \"gpt-4o-transcribe-diarize\"]).describe(\"Model to use for transcription.\").optional(),\n prompt: z.string().describe(\"An optional text to guide the model's style or continue a previous audio segment. For 'whisper-1', the prompt is a list of keywords. For 'gpt-4o-transcribe' models (excluding 'gpt-4o-transcribe-diarize'), the prompt is a free text string, for example 'expect words related to technology'.\").optional(),\n language: z.string().describe(\"The language of the input audio. Supplying the input language in ISO-639-1 format (e.g. 'en') will improve accuracy and latency.\").optional(),\n}).describe(\"Configuration for input audio transcription.\").optional(),\n input_audio_noise_reduction: z.object({\n type: z.enum([\"near_field\", \"far_field\"]).describe(\"Type of noise reduction. 'near_field' is for close-talking microphones such as headphones, 'far_field' is for far-field microphones such as laptop or conference room microphones.\"),\n}).describe(\"Configuration for input audio noise reduction.\").optional(),\n}).describe(\"Request model for creating a realtime transcription session.\");\nconst OpenaiCreateRealtimeTranscriptionSession_ClientSecretSchema = z.object({\n value: z.string().describe(\"Ephemeral key usable in client environments to authenticate connections to the Realtime API. Use this in client-side environments rather than a standard API token, which should only be used server-side.\").nullable(),\n expires_at: z.number().int().describe(\"Timestamp for when the token expires. Currently, all tokens expire after one minute.\").nullable(),\n}).passthrough().describe(\"Ephemeral key returned by the API.\");\nconst OpenaiCreateRealtimeTranscriptionSession_ResponseTurnDetectionSchema = z.object({\n type: z.string().describe(\"Type of turn detection, only 'server_vad' is currently supported.\").nullable().optional(),\n threshold: z.number().describe(\"Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5.\").nullable().optional(),\n prefix_padding_ms: z.number().int().describe(\"Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.\").nullable().optional(),\n silence_duration_ms: z.number().int().describe(\"Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms.\").nullable().optional(),\n}).passthrough().describe(\"Turn detection configuration in response.\");\nconst OpenaiCreateRealtimeTranscriptionSession_ResponseInputAudioTranscriptionSchema = z.object({\n model: z.string().describe(\"The model to use for transcription.\").nullable().optional(),\n prompt: z.string().describe(\"An optional text to guide the model's style or continue a previous audio segment.\").nullable().optional(),\n language: z.string().describe(\"The language of the input audio. Supplying the input language in ISO-639-1 format (e.g. 'en') will improve accuracy and latency.\").nullable().optional(),\n}).passthrough().describe(\"Input audio transcription configuration in response.\");\nexport const OpenaiCreateRealtimeTranscriptionSessionOutput = z.object({\n modalities: z.array(z.string()).describe(\"The set of modalities the model can respond with. To disable audio, set this to ['text'].\").nullable().optional(),\n client_secret: OpenaiCreateRealtimeTranscriptionSession_ClientSecretSchema.nullable(),\n turn_detection: OpenaiCreateRealtimeTranscriptionSession_ResponseTurnDetectionSchema.nullable().optional(),\n input_audio_format: z.string().describe(\"The format of input audio. Options are 'pcm16', 'g711_ulaw', or 'g711_alaw'.\").nullable().optional(),\n input_audio_transcription: OpenaiCreateRealtimeTranscriptionSession_ResponseInputAudioTranscriptionSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for creating a realtime transcription session.\");\n\nexport const openaiCreateRealtimeTranscriptionSession = action(\"OPENAI_CREATE_REALTIME_TRANSCRIPTION_SESSION\", {\n slug: \"openai-create-realtime-transcription-session\",\n name: \"Create Realtime Transcription Session\",\n description: \"Tool to create an ephemeral API token for realtime transcriptions via the Realtime API. Use when you need to authenticate browser clients for realtime audio transcription sessions. Returns a session object with a client_secret containing a usable ephemeral API token.\",\n input: OpenaiCreateRealtimeTranscriptionSessionInput,\n output: OpenaiCreateRealtimeTranscriptionSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgDA,IAAAA,EAA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AAsD;AAChF,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,eAAe,4DAA4D,SAAS;CACpF,gBAAgB,qEAAqE,SAAS,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,2BAA2B,+EAA+E,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,2CAA2CC,eAAAA,OAAO,gDAAgD;CAC7G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -39,20 +39,20 @@ declare const OpenaiCreateRealtimeTranscriptionSessionOutput: z.ZodObject<{
|
|
|
39
39
|
client_secret: z.ZodNullable<z.ZodObject<{
|
|
40
40
|
value: z.ZodNullable<z.ZodString>;
|
|
41
41
|
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
turn_detection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
44
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
prefix_padding_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
silence_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
49
|
input_audio_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
input_audio_transcription: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
51
51
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
-
}, z.core.$
|
|
55
|
-
}, z.core.$
|
|
54
|
+
}, z.core.$loose>>>;
|
|
55
|
+
}, z.core.$loose>;
|
|
56
56
|
declare const openaiCreateRealtimeTranscriptionSession: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
57
57
|
include?: "item.input_audio_transcription.logprobs"[] | undefined;
|
|
58
58
|
turn_detection?: {
|
|
@@ -39,20 +39,20 @@ declare const OpenaiCreateRealtimeTranscriptionSessionOutput: z.ZodObject<{
|
|
|
39
39
|
client_secret: z.ZodNullable<z.ZodObject<{
|
|
40
40
|
value: z.ZodNullable<z.ZodString>;
|
|
41
41
|
expires_at: z.ZodNullable<z.ZodNumber>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
turn_detection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
44
44
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
threshold: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
prefix_padding_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
silence_duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
49
|
input_audio_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
input_audio_transcription: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
51
51
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
-
}, z.core.$
|
|
55
|
-
}, z.core.$
|
|
54
|
+
}, z.core.$loose>>>;
|
|
55
|
+
}, z.core.$loose>;
|
|
56
56
|
declare const openaiCreateRealtimeTranscriptionSession: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
57
57
|
include?: "item.input_audio_transcription.logprobs"[] | undefined;
|
|
58
58
|
turn_detection?: {
|
|
@@ -30,18 +30,18 @@ const OpenaiCreateRealtimeTranscriptionSessionInput = z.object({
|
|
|
30
30
|
const OpenaiCreateRealtimeTranscriptionSession_ClientSecretSchema = z.object({
|
|
31
31
|
value: z.string().describe("Ephemeral key usable in client environments to authenticate connections to the Realtime API. Use this in client-side environments rather than a standard API token, which should only be used server-side.").nullable(),
|
|
32
32
|
expires_at: z.number().int().describe("Timestamp for when the token expires. Currently, all tokens expire after one minute.").nullable()
|
|
33
|
-
}).describe("Ephemeral key returned by the API.");
|
|
33
|
+
}).passthrough().describe("Ephemeral key returned by the API.");
|
|
34
34
|
const OpenaiCreateRealtimeTranscriptionSession_ResponseTurnDetectionSchema = z.object({
|
|
35
35
|
type: z.string().describe("Type of turn detection, only 'server_vad' is currently supported.").nullable().optional(),
|
|
36
36
|
threshold: z.number().describe("Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5.").nullable().optional(),
|
|
37
37
|
prefix_padding_ms: z.number().int().describe("Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.").nullable().optional(),
|
|
38
38
|
silence_duration_ms: z.number().int().describe("Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms.").nullable().optional()
|
|
39
|
-
}).describe("Turn detection configuration in response.");
|
|
39
|
+
}).passthrough().describe("Turn detection configuration in response.");
|
|
40
40
|
const OpenaiCreateRealtimeTranscriptionSession_ResponseInputAudioTranscriptionSchema = z.object({
|
|
41
41
|
model: z.string().describe("The model to use for transcription.").nullable().optional(),
|
|
42
42
|
prompt: z.string().describe("An optional text to guide the model's style or continue a previous audio segment.").nullable().optional(),
|
|
43
43
|
language: z.string().describe("The language of the input audio. Supplying the input language in ISO-639-1 format (e.g. 'en') will improve accuracy and latency.").nullable().optional()
|
|
44
|
-
}).describe("Input audio transcription configuration in response.");
|
|
44
|
+
}).passthrough().describe("Input audio transcription configuration in response.");
|
|
45
45
|
const openaiCreateRealtimeTranscriptionSession = action("OPENAI_CREATE_REALTIME_TRANSCRIPTION_SESSION", {
|
|
46
46
|
slug: "openai-create-realtime-transcription-session",
|
|
47
47
|
name: "Create Realtime Transcription Session",
|
|
@@ -53,7 +53,7 @@ const openaiCreateRealtimeTranscriptionSession = action("OPENAI_CREATE_REALTIME_
|
|
|
53
53
|
turn_detection: OpenaiCreateRealtimeTranscriptionSession_ResponseTurnDetectionSchema.nullable().optional(),
|
|
54
54
|
input_audio_format: z.string().describe("The format of input audio. Options are 'pcm16', 'g711_ulaw', or 'g711_alaw'.").nullable().optional(),
|
|
55
55
|
input_audio_transcription: OpenaiCreateRealtimeTranscriptionSession_ResponseInputAudioTranscriptionSchema.nullable().optional()
|
|
56
|
-
}).describe("Response model for creating a realtime transcription session.")
|
|
56
|
+
}).passthrough().describe("Response model for creating a realtime transcription session.")
|
|
57
57
|
});
|
|
58
58
|
//#endregion
|
|
59
59
|
export { openaiCreateRealtimeTranscriptionSession };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-realtime-transcription-session.mjs","names":[],"sources":["../../src/actions/create-realtime-transcription-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateRealtimeTranscriptionSessionInput = z.object({\n include: z.array(z.enum([\"item.input_audio_transcription.logprobs\"]).describe(\"Items to include in the transcription.\")).describe(\"The set of items to include in the transcription. Current available items are: 'item.input_audio_transcription.logprobs'\").optional(),\n turn_detection: z.object({\n type: z.string().describe(\"Type of turn detection. Only 'server_vad' is currently supported for transcription sessions.\").optional(),\n threshold: z.number().describe(\"Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A higher threshold will require louder audio to activate the model, and thus might perform better in noisy environments.\").optional(),\n prefix_padding_ms: z.number().int().describe(\"Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.\").optional(),\n silence_duration_ms: z.number().int().describe(\"Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms. With shorter values the model will respond more quickly, but may jump in on short pauses from the user.\").optional(),\n}).describe(\"Configuration for turn detection.\").optional(),\n input_audio_format: z.enum([\"pcm16\", \"g711_ulaw\", \"g711_alaw\"]).describe(\"Format of input audio for realtime transcription.\").optional(),\n input_audio_transcription: z.object({\n model: z.enum([\"whisper-1\", \"gpt-4o-mini-transcribe\", \"gpt-4o-mini-transcribe-2025-12-15\", \"gpt-4o-transcribe\", \"gpt-4o-transcribe-diarize\"]).describe(\"Model to use for transcription.\").optional(),\n prompt: z.string().describe(\"An optional text to guide the model's style or continue a previous audio segment. For 'whisper-1', the prompt is a list of keywords. For 'gpt-4o-transcribe' models (excluding 'gpt-4o-transcribe-diarize'), the prompt is a free text string, for example 'expect words related to technology'.\").optional(),\n language: z.string().describe(\"The language of the input audio. Supplying the input language in ISO-639-1 format (e.g. 'en') will improve accuracy and latency.\").optional(),\n}).describe(\"Configuration for input audio transcription.\").optional(),\n input_audio_noise_reduction: z.object({\n type: z.enum([\"near_field\", \"far_field\"]).describe(\"Type of noise reduction. 'near_field' is for close-talking microphones such as headphones, 'far_field' is for far-field microphones such as laptop or conference room microphones.\"),\n}).describe(\"Configuration for input audio noise reduction.\").optional(),\n}).describe(\"Request model for creating a realtime transcription session.\");\nconst OpenaiCreateRealtimeTranscriptionSession_ClientSecretSchema = z.object({\n value: z.string().describe(\"Ephemeral key usable in client environments to authenticate connections to the Realtime API. Use this in client-side environments rather than a standard API token, which should only be used server-side.\").nullable(),\n expires_at: z.number().int().describe(\"Timestamp for when the token expires. Currently, all tokens expire after one minute.\").nullable(),\n}).describe(\"Ephemeral key returned by the API.\");\nconst OpenaiCreateRealtimeTranscriptionSession_ResponseTurnDetectionSchema = z.object({\n type: z.string().describe(\"Type of turn detection, only 'server_vad' is currently supported.\").nullable().optional(),\n threshold: z.number().describe(\"Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5.\").nullable().optional(),\n prefix_padding_ms: z.number().int().describe(\"Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.\").nullable().optional(),\n silence_duration_ms: z.number().int().describe(\"Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms.\").nullable().optional(),\n}).describe(\"Turn detection configuration in response.\");\nconst OpenaiCreateRealtimeTranscriptionSession_ResponseInputAudioTranscriptionSchema = z.object({\n model: z.string().describe(\"The model to use for transcription.\").nullable().optional(),\n prompt: z.string().describe(\"An optional text to guide the model's style or continue a previous audio segment.\").nullable().optional(),\n language: z.string().describe(\"The language of the input audio. Supplying the input language in ISO-639-1 format (e.g. 'en') will improve accuracy and latency.\").nullable().optional(),\n}).describe(\"Input audio transcription configuration in response.\");\nexport const OpenaiCreateRealtimeTranscriptionSessionOutput = z.object({\n modalities: z.array(z.string()).describe(\"The set of modalities the model can respond with. To disable audio, set this to ['text'].\").nullable().optional(),\n client_secret: OpenaiCreateRealtimeTranscriptionSession_ClientSecretSchema.nullable(),\n turn_detection: OpenaiCreateRealtimeTranscriptionSession_ResponseTurnDetectionSchema.nullable().optional(),\n input_audio_format: z.string().describe(\"The format of input audio. Options are 'pcm16', 'g711_ulaw', or 'g711_alaw'.\").nullable().optional(),\n input_audio_transcription: OpenaiCreateRealtimeTranscriptionSession_ResponseInputAudioTranscriptionSchema.nullable().optional(),\n}).describe(\"Response model for creating a realtime transcription session.\");\n\nexport const openaiCreateRealtimeTranscriptionSession = action(\"OPENAI_CREATE_REALTIME_TRANSCRIPTION_SESSION\", {\n slug: \"openai-create-realtime-transcription-session\",\n name: \"Create Realtime Transcription Session\",\n description: \"Tool to create an ephemeral API token for realtime transcriptions via the Realtime API. Use when you need to authenticate browser clients for realtime audio transcription sessions. Returns a session object with a client_secret containing a usable ephemeral API token.\",\n input: OpenaiCreateRealtimeTranscriptionS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AC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,8DAA8D,EAAE,OAAO;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M,CAAC,CAAC,SAAS;CAClP,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
1
|
+
{"version":3,"file":"create-realtime-transcription-session.mjs","names":[],"sources":["../../src/actions/create-realtime-transcription-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenaiCreateRealtimeTranscriptionSessionInput = z.object({\n include: z.array(z.enum([\"item.input_audio_transcription.logprobs\"]).describe(\"Items to include in the transcription.\")).describe(\"The set of items to include in the transcription. Current available items are: 'item.input_audio_transcription.logprobs'\").optional(),\n turn_detection: z.object({\n type: z.string().describe(\"Type of turn detection. Only 'server_vad' is currently supported for transcription sessions.\").optional(),\n threshold: z.number().describe(\"Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A higher threshold will require louder audio to activate the model, and thus might perform better in noisy environments.\").optional(),\n prefix_padding_ms: z.number().int().describe(\"Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.\").optional(),\n silence_duration_ms: z.number().int().describe(\"Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms. With shorter values the model will respond more quickly, but may jump in on short pauses from the user.\").optional(),\n}).describe(\"Configuration for turn detection.\").optional(),\n input_audio_format: z.enum([\"pcm16\", \"g711_ulaw\", \"g711_alaw\"]).describe(\"Format of input audio for realtime transcription.\").optional(),\n input_audio_transcription: z.object({\n model: z.enum([\"whisper-1\", \"gpt-4o-mini-transcribe\", \"gpt-4o-mini-transcribe-2025-12-15\", \"gpt-4o-transcribe\", \"gpt-4o-transcribe-diarize\"]).describe(\"Model to use for transcription.\").optional(),\n prompt: z.string().describe(\"An optional text to guide the model's style or continue a previous audio segment. For 'whisper-1', the prompt is a list of keywords. For 'gpt-4o-transcribe' models (excluding 'gpt-4o-transcribe-diarize'), the prompt is a free text string, for example 'expect words related to technology'.\").optional(),\n language: z.string().describe(\"The language of the input audio. Supplying the input language in ISO-639-1 format (e.g. 'en') will improve accuracy and latency.\").optional(),\n}).describe(\"Configuration for input audio transcription.\").optional(),\n input_audio_noise_reduction: z.object({\n type: z.enum([\"near_field\", \"far_field\"]).describe(\"Type of noise reduction. 'near_field' is for close-talking microphones such as headphones, 'far_field' is for far-field microphones such as laptop or conference room microphones.\"),\n}).describe(\"Configuration for input audio noise reduction.\").optional(),\n}).describe(\"Request model for creating a realtime transcription session.\");\nconst OpenaiCreateRealtimeTranscriptionSession_ClientSecretSchema = z.object({\n value: z.string().describe(\"Ephemeral key usable in client environments to authenticate connections to the Realtime API. Use this in client-side environments rather than a standard API token, which should only be used server-side.\").nullable(),\n expires_at: z.number().int().describe(\"Timestamp for when the token expires. Currently, all tokens expire after one minute.\").nullable(),\n}).passthrough().describe(\"Ephemeral key returned by the API.\");\nconst OpenaiCreateRealtimeTranscriptionSession_ResponseTurnDetectionSchema = z.object({\n type: z.string().describe(\"Type of turn detection, only 'server_vad' is currently supported.\").nullable().optional(),\n threshold: z.number().describe(\"Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5.\").nullable().optional(),\n prefix_padding_ms: z.number().int().describe(\"Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.\").nullable().optional(),\n silence_duration_ms: z.number().int().describe(\"Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms.\").nullable().optional(),\n}).passthrough().describe(\"Turn detection configuration in response.\");\nconst OpenaiCreateRealtimeTranscriptionSession_ResponseInputAudioTranscriptionSchema = z.object({\n model: z.string().describe(\"The model to use for transcription.\").nullable().optional(),\n prompt: z.string().describe(\"An optional text to guide the model's style or continue a previous audio segment.\").nullable().optional(),\n language: z.string().describe(\"The language of the input audio. Supplying the input language in ISO-639-1 format (e.g. 'en') will improve accuracy and latency.\").nullable().optional(),\n}).passthrough().describe(\"Input audio transcription configuration in response.\");\nexport const OpenaiCreateRealtimeTranscriptionSessionOutput = z.object({\n modalities: z.array(z.string()).describe(\"The set of modalities the model can respond with. To disable audio, set this to ['text'].\").nullable().optional(),\n client_secret: OpenaiCreateRealtimeTranscriptionSession_ClientSecretSchema.nullable(),\n turn_detection: OpenaiCreateRealtimeTranscriptionSession_ResponseTurnDetectionSchema.nullable().optional(),\n input_audio_format: z.string().describe(\"The format of input audio. Options are 'pcm16', 'g711_ulaw', or 'g711_alaw'.\").nullable().optional(),\n input_audio_transcription: OpenaiCreateRealtimeTranscriptionSession_ResponseInputAudioTranscriptionSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for creating a realtime transcription session.\");\n\nexport const openaiCreateRealtimeTranscriptionSession = action(\"OPENAI_CREATE_REALTIME_TRANSCRIPTION_SESSION\", {\n slug: \"openai-create-realtime-transcription-session\",\n name: \"Create Realtime Transcription Session\",\n description: \"Tool to create an ephemeral API token for realtime transcriptions via the Realtime API. Use when you need to authenticate browser clients for realtime audio transcription sessions. Returns a session object with a client_secret containing a usable ephemeral API token.\",\n input: OpenaiCreateRealtimeTranscriptionSessionInput,\n output: OpenaiCreateRealtimeTranscriptionSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAAgD,EAAE,OAAO;CACpE,SAAS,EAAE,MAAM,EAAE,KAAK,CAAC,yCAAyC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACvQ,gBAAgB,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EACnI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;EACrO,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EACzJ,qBAAqB,EAAE,OA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