Repository navigation
Enhance Deepgram SDK with audio playback and state tracking - #18
Merged
Merged
Conversation
…ction, conversation, and agent status, and new audio utilities to the `useDeepgramVoiceAgent` hook.
… tracking - Introduced `useAsyncCall` hook for managing asynchronous calls with loading and error states. - Updated `index.ts` to export new helper functions. - Enhanced `useDeepgramSpeechToText`, `useDeepgramTextIntelligence`, and `useDeepgramTextToSpeech` hooks to support internal state tracking. - Added `trackState` and `trackTranscript` options to `useDeepgramSpeechToText` for managing transcription state. - Implemented conversation tracking in `useDeepgramVoiceAgent` with `trackConversation` option. - Improved type definitions in Deepgram management and speech-to-text interfaces with detailed comments. - Added support for agent status tracking in `useDeepgramVoiceAgent`.
…mple sample rate options.
… management by removing `audioBuffer` and adding `_scheduledBufferCount`.
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.
Introduce automatic audio playback and internal state tracking for connection, conversation, and agent status in the
useDeepgramVoiceAgenthook. Add a newuseAsyncCallhook for managing asynchronous calls with loading and error states. Update the Deepgram SDK to version 2.0.0 and improve audio playback buffer management. Include an iOS simulator warning for voice processing and simplify example sample rate options. Enhance existing hooks with state tracking capabilities.