-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat: Export additional types and functions for speech recognition …
…and synthesis This commit introduces new features to the codebase. Exported types and functions related to speech recognition and synthesis have been added. The `useOpenaiSTT` function now accepts additional options and callbacks for handling audio recording and text changes. Similar changes have been made to the `useOpenaiSTTWithPSR` and `useOpenaiSTTWithSR` functions. Additionally, the `usePersistedSpeechRecognition` and `useSpeechRecognition` functions have been updated to accept the same options and callbacks. Changes: - Export additional types and functions for speech recognition and synthesis - Update `useOpenaiSTT` function to accept additional options and callbacks - Update `useOpenaiSTTWithPSR` and `useOpenaiSTTWithSR` functions with similar changes - Update `usePersistedSpeechRecognition` and `useSpeechRecognition` functions to accept the same options and callbacks
- Loading branch information
1 parent
35e96bf
commit 0015bac
Showing
7 changed files
with
94 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { useOpenaiSTT } from './useOpenaiSTT'; | ||
export { type OpenaiSpeechRecognitionOptions, useOpenaiSTT } from './useOpenaiSTT'; | ||
export { useOpenaiSTTWithPSR } from './useOpenaiSTTWithPSR'; | ||
export { useOpenaiSTTWithSR } from './useOpenaiSTTWithSR'; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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