-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat: share speach profile #4650
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
base: main
Are you sure you want to change the base?
Conversation
… it for shared profiles Previously shared profiles loaded the sharer's contacts instead of their own voice. Now we extract and store an embedding when a user uploads their speech profile, and load that embedding during transcription for shared profile speaker identification. Also removes the broken persistent speaker_id mapping that incorrectly cached session-local IDs across sessions.
- Merge speech_profile_sharing.dart into speech_profile.dart - Add Pydantic model for share/revoke request body - Validate target user exists before sharing - Remove dead get_user_speaker_embedding function - Use single Firestore read per shared owner in transcription - Add l10n keys for sharing UI strings - Add Logger.debug to Dart API functions - Fix indentation and EOF newlines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces a new feature for sharing speech profiles between users. It adds the necessary backend API endpoints for sharing, revoking, and listing shared profiles, along with corresponding UI elements in the mobile app. The backend is also updated to extract and utilize speaker embeddings from both user-owned and shared profiles for improved speaker identification. The implementation is solid, but the identified high-severity issues related to database query efficiency and error handling still need to be addressed.
Issue #3040
Description
Adds support for sharing speech profiles between users