feat: add OpenAI audio transcription proxy node#129
Closed
collindutter wants to merge 3 commits into
Closed
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
f191dc2 to
01923d3
Compare
…f sensitive information' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Contributor
|
@collindutter instead of a new node, can we just replace the existing transcribe audio node? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an
OpenAiAudioTranscriptionnode that transcribes audio to text using OpenAI's GPT-4o transcription and Whisper models via the Griptape Cloud proxy.The node supports three models:
gpt-4o-transcribe,gpt-4o-mini-transcribe, andwhisper-1. It accepts audio input in common formats (mp3, mp4, wav, flac, etc.) and outputs the transcribed text. When usingverbose_jsonresponse format, the node also outputs word-level and segment-level timing data, detected language, and audio duration.Key parameters include
language(ISO-639-1 code to improve accuracy),prompt(context to guide transcription style),response_format(json or verbose_json), andtemperature(sampling randomness). Advanced parameters are collapsed by default.Depends on the proxy client PR: https://github.com/griptape-ai/griptape-cloud/pull/TBD
Sources
Testing with the engine
To test the node end-to-end in the Griptape Nodes UI:
feat/openai-audio-transcription-proxy-nodecd griptape-cloud && make up/debug0003_add_dummy_default_modelshandles this automatically)OpenAI Audio Transcriptionnode and connect it to a workflowIntegration test
To run the automated integration test:
Closes griptape-ai/griptape-nodes-app#42