feat: add CAMB AI text-to-speech for note summaries#40
Open
neilruaro-camb wants to merge 1 commit intoNutlope:mainfrom
Open
feat: add CAMB AI text-to-speech for note summaries#40neilruaro-camb wants to merge 1 commit intoNutlope:mainfrom
neilruaro-camb wants to merge 1 commit intoNutlope:mainfrom
Conversation
Contributor
|
@neilruaro-camb is attempting to deploy a commit to the Together AI Team on Vercel. A member of the Team first needs to authorize it. |
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.
Summary
About CAMB AI
CAMB AI is a voice AI and localization platform trusted by brands like the Premier League, the NBA, NASCAR, and the Australian Open. We'd love for CAMB AI to power the audio experience in notesGPT.
Note on testing
During testing, we found that the
@instructor-ai/instructorlibrary'sJSON_SCHEMAmode no longer works with Together.ai's current serverless models. We had to switch to using the Together SDK directly withmeta-llama/Llama-3.3-70B-Instruct-Turboto get summaries working, which then allowed the CAMB TTS feature to trigger. This is not included in this PR but worth noting.Usage
CAMB_API_KEYin Convex environment variables (get a key from https://studio.camb.ai)Files changed
convex/camb.ts- New file: CAMB TTS generation action and audio storageconvex/schema.ts- Added summaryAudioFileId and summaryAudioUrl fields to notes tableconvex/together.ts- Schedules CAMB TTS generation after summary is savedcomponents/pages/recording/RecordingDesktop.tsx- Audio player in summary viewcomponents/pages/recording/RecordingMobile.tsx- Audio player in summary view (mobile)