-
Notifications
You must be signed in to change notification settings - Fork 468
refactor(api): reorganize STT providers into directory structure #2149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Restructure apps/api/src/stt to follow the pattern from owhisper-client/src/adapter: - Create provider directories: deepgram/, assemblyai/, soniox/ - Move live streaming code to <provider>/live.ts - Move batch transcription code to <provider>/batch.ts - Add index.ts for each provider to export both modules - Update main index.ts to import from provider directories Co-Authored-By: yujonglee <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
✅ Deploy Preview for hyprnote-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📝 WalkthroughWalkthroughThis PR reorganizes the STT (Speech-to-Text) module structure by adjusting import paths across AssemblyAI, Deepgram, and Soniox providers, creating new index files to centralize public API exports, and updating the main stt/index.ts to consolidate imports and re-export from provider index files. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (10)
🧰 Additional context used📓 Path-based instructions (2)**/*.ts📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
🔇 Additional comments (10)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Deploy Preview for hyprnote ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
refactor(api): reorganize STT providers into directory structure
Summary
Restructures
apps/api/src/sttto follow the pattern fromowhisper/owhisper-client/src/adapter. Each STT provider now has its own directory with separate files for live streaming and batch transcription:No logic changes - purely file reorganization with updated import paths.
Review & Testing Checklist for Human
../envto../../env,./batch-typesto../batch-types, etc.)apps/api/src/stt/index.tsis unchangedNotes