Skip to content

Conversation

@dluffy56
Copy link
Contributor

@dluffy56 dluffy56 commented Feb 7, 2026

Issue #3040

Description

Adds support for sharing speech profiles between users

dluffy56 and others added 9 commits January 23, 2026 02:12
… 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
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant