Repository navigation
Conversation
520b0eb to
50d1ca5
Compare
…dHardware#4485) Add backend endpoint and mobile app flows to import external audio files (mp3, m4a, wav, aac, ogg, flac) to create enriched conversations. - Backend POST /v1/conversations/upload-audio with pydub normalization, diarized STT transcription, and conversation enrichment - Mobile API client and ConversationProvider integration - UI entry points in ImportHistoryPage and ConversationsPage header - Desktop Swift and Windows/Web OpenAPI client models regenerated - Register endpoint in route policy and undocumented public routes - Comprehensive backend and Flutter test coverage Resolves BasedHardware#4485 PayPal: [email protected]
50d1ca5 to
0bfa983
Compare
|
Thanks @TheRWX — this is a well-built feature (resolves #4485) and the full-stack cohesion (backend route + Flutter wiring + generated surfaces + tests on both sides) makes it reviewable as one unit. Walkthrough with a few follow-ups: Backend —
Route surface
Flutter
Tests
Checklist for the author (none of these block a human look):
Since this adds a Firebase-authenticated 200MB data-ingress + transcription route on the core conversations surface (plus the provenance question above), it needs maintainer sign-off on the route/cost posture before merge — leaving for human maintainer review with the notes above. Automated maintainer-assist review on behalf of the Omi maintainers. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
kodjima33
left a comment
There was a problem hiding this comment.
Feature (audio file import for conversations) — approve only per policy, large cross-stack diff (backend+app+desktop+web), needs maintainer review before merge.
kodjima33
left a comment
There was a problem hiding this comment.
Feature (import audio files to create conversations) — approve-only per policy. mergeStateStatus DIRTY, not merging.
|
Thanks for the approval. This branch now conflicts with |
kodjima33
left a comment
There was a problem hiding this comment.
feat(conversations): import audio files — large feature with tests, backend+mobile; approve-only
Resolves #4485
Description
Adds support for importing audio files to create conversations across iOS and Android (Plaud parity).
Backend:
POST /v1/conversations/upload-audioaccepting mp3, m4a, wav, aac, ogg, and flac files up to 200MB.pydub.AudioSegmentin a worker thread.prerecorded_from_bytes) and post-processes word timestamps.process_conversation.imported: bool = Falsefield toCreateConversation.docs/api-reference/app-client-openapi.json.Mobile Client:
uploadAudioConversationmultipart upload inlib/backend/http/api/conversations.dart.importAudioFilemethod inlib/providers/conversation_provider.dart.ImportHistoryPage.ConversationsPage.test/unit/audio_import_test.dartverifying extension validation, size limits, progress tracking, and error handling.Product invariants affected
none
Failure class (fixes)
Failure-Class: none
Line-Count-Exception: app/lib/providers/conversation_provider.dart | 1962 -> 2061 | add audio import state management and uploader workflow
Line-Count-Exception: backend/routers/conversations.py | 2133 -> 2275 | add upload-audio endpoint with audio normalization and conversation processing
PayPal: [email protected]