FluidVoice icon indicating copy to clipboard operation
FluidVoice copied to clipboard

[๐Ÿž BUG] AI Enhancement not applied to transcriptions when using on-device model

Open lexsys27 opened this issue 10 months ago โ€ข 6 comments

Describe the bug AI Enhancements feature shows 0% usage in stats despite being enabled and configured correctly. The app indicates it's using the on-device model, but no AI enhancement is actually being applied to transcriptions.

To Reproduce

  1. Go to AI Settings โ†’ AI Enhancements
  2. Enable AI Enhancements
  3. Set provider to Apple Intelligence (on-device model)
  4. Use the app for transcription
  5. Go to Stats
  6. See "AI Enhanced == 0%"

Expected behavior Stats should show AI enhancement being applied to transcriptions when the feature is enabled.

Screenshots Image

Environment:

  • macOS Version: 26.2
  • App Version: 1.5.4 (1)
  • Architecture: Apple Silicon

Additional context The settings UI confirms Apple Intelligence is selected and shows "on-device model" is being used, suggesting the configuration is correct but the feature isn't functioning.

Apple Intelligence is enabled on the system level and works correctly - e.g. I am able to use Writing Tools in Notes.

lexsys27 avatar Jan 15 '26 17:01 lexsys27

you can try some sample prompts and see if it works for you. AI is not good enough for Dictation tasks yet with complex instructions. I have it as an option if you want to experiment with it. Please try easy prompts to see if it helps answer better!

altic-dev avatar Jan 17 '26 05:01 altic-dev

Maybe I get it wrong, but isn't AI post-processing applied automatically after I turn it on in the AI Settings?

The problem is not that results are poor - I do not see AI post-processing applied at all.

lexsys27 avatar Jan 18 '26 21:01 lexsys27

it should be automatic. if you can attach logs and give me more info about your system, I can see what could be wrong possibly. I just tried and it works well for me. Not accurate but works!

  • Try it on different apps, make sure the transcription works without AI processing - get me some logs if it still doesnt work. Try other providers too as they are way better than Apple models as of today :)

PS : Go to History and see what's the transcribed item before and after AI processing and see what you find there!

altic-dev avatar Jan 19 '26 04:01 altic-dev

Here is a phrase dictated in Cursor which is marked as not AI processed.

I see post-processing in logs, but guess it is about removing um and uh words - just filtering.

[16:14:30.006] [INFO] [ASRService] ๐ŸŽค START() called - beginning recording session
[16:14:30.006] [DEBUG] [ASRService] ๐Ÿงน Clearing buffers and state
[16:14:30.006] [DEBUG] [ASRService] โœ… Buffers cleared
[16:14:30.006] [DEBUG] [ASRService] โš™๏ธ Calling configureSession()...
[16:14:30.006] [DEBUG] [ASRService] ๐Ÿ”ง configureSession() - ENTERED
[16:14:30.006] [DEBUG] [ASRService] โ„น๏ธ Using fresh engine instance (created lazily)
[16:14:30.006] [DEBUG] [ASRService] ๐Ÿ“ Forcing input node instantiation...
[16:14:30.135] [DEBUG] [ASRService] Input node instantiated
[16:14:30.135] [DEBUG] [ASRService] ๐Ÿ“ Forcing output node instantiation...
[16:14:30.145] [DEBUG] [ASRService] โœ… Output node instantiated
[16:14:30.145] [DEBUG] [ASRService] โœ… configureSession() - COMPLETED
[16:14:30.145] [DEBUG] [ASRService] โœ… configureSession() completed
[16:14:30.145] [DEBUG] [ASRService] ๐Ÿš€ Calling startEngine()...
[16:14:30.145] [DEBUG] [ASRService] ๐Ÿš€ startEngine() - ENTERED
[16:14:30.145] [DEBUG] [ASRService] ๐ŸŽš๏ธ Binding input device (before prepare)...
[16:14:30.145] [DEBUG] [ASRService] bindPreferredInputDeviceIfNeeded() - Starting input device binding
[16:14:30.145] [INFO] [ASRService] Sync mode enabled - using system default input device
[16:14:30.145] [DEBUG] [ASRService] โœ… Input device binding result: true
[16:14:30.145] [DEBUG] [ASRService] ๐Ÿ”Š Binding output device (before prepare)...
[16:14:30.145] [DEBUG] [ASRService] bindPreferredOutputDeviceIfNeeded() - Starting output device binding
[16:14:30.145] [INFO] [ASRService] Sync mode enabled - using system default output device
[16:14:30.145] [DEBUG] [ASRService] โœ… Output device binding result: true
[16:14:30.145] [DEBUG] [ASRService] ๐Ÿ“‹ Preparing engine (allocating resources)...
[16:14:30.154] [DEBUG] [ASRService] โœ… Engine prepared
[16:14:30.154] [DEBUG] [ASRService] (startEngine(): before engine.start attempt 1) Engine IO device = 48000.0Hz, Input format = 48000.0Hz 1ch
[16:14:30.200] [INFO] [ASRService] AVAudioEngine started successfully on attempt 1
[16:14:30.200] [DEBUG] [ASRService] โœ… startEngine() completed
[16:14:30.200] [DEBUG] [ASRService] ๐ŸŽง Setting up engine tap...
[16:14:30.200] [DEBUG] [ASRService] ๐ŸŽง setupEngineTap() - ENTERED
[16:14:30.200] [DEBUG] [ASRService] โœ… Valid input format: 48000.0Hz 1ch
[16:14:30.200] [DEBUG] [ASRService] ๐ŸŽง Installing tap on bus 0...
[16:14:30.200] [DEBUG] [ASRService] โœ… setupEngineTap() - COMPLETED
[16:14:30.200] [DEBUG] [ASRService] โœ… Engine tap setup complete
[16:14:30.200] [INFO] [ASRService] โœ… isRunning set to TRUE
[16:14:30.201] [DEBUG] [ASRService] ๐Ÿ‘€ Starting device monitoring for: CADefaultDeviceAggregate-925-2
[16:14:30.201] [DEBUG] [ASRService] Started monitoring device ID: 161
[16:14:30.201] [DEBUG] [ASRService] ๐Ÿ“ก Starting streaming transcription...
[16:14:30.201] [DEBUG] [ASRService] Starting streaming transcription task (interval: 0.6s)
[16:14:30.201] [INFO] [ASRService] โœ… START() completed successfully
[16:14:30.248] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - ENTERED
[16:14:30.248] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:30.248] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:30.267] [DEBUG] [ASRService] ASR already ready with loaded models, skipping initialization
[16:14:30.267] [DEBUG] [ContentView] Model pre-loaded during recording
[16:14:30.868] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:30.869] [DEBUG] [ASRService] Waiting for more audio data (9600/16000 samples)
[16:14:30.869] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:31.506] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:31.506] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 20800) using FluidAudio (Apple Silicon Optimized)
[16:14:31.637] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.13s
[16:14:31.637] [DEBUG] [ASRService] โœ… Streaming: 'test' (0.13s)
[16:14:31.637] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:32.273] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:32.273] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 32000) using FluidAudio (Apple Silicon Optimized)
[16:14:32.357] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.08s
[16:14:32.357] [DEBUG] [ASRService] โœ… Streaming: 'test' (0.08s)
[16:14:32.357] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:32.994] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:32.995] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 43200) using FluidAudio (Apple Silicon Optimized)
[16:14:33.079] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.09s
[16:14:33.080] [DEBUG] [ASRService] โœ… Streaming: 'test men.' (0.09s)
[16:14:33.080] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:33.687] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:33.687] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 54400) using FluidAudio (Apple Silicon Optimized)
[16:14:33.777] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.09s
[16:14:33.777] [DEBUG] [ASRService] โœ… Streaming: 'test message.' (0.09s)
[16:14:33.777] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:34.417] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:34.417] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 67200) using FluidAudio (Apple Silicon Optimized)
[16:14:34.506] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.09s
[16:14:34.506] [DEBUG] [ASRService] โœ… Streaming: 'test message to understand' (0.09s)
[16:14:34.506] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:35.146] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:35.146] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 78400) using FluidAudio (Apple Silicon Optimized)
[16:14:35.237] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.09s
[16:14:35.238] [DEBUG] [ASRService] โœ… Streaming: 'test message to understand better.' (0.09s)
[16:14:35.238] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:35.874] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:35.874] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 89600) using FluidAudio (Apple Silicon Optimized)
[16:14:35.966] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.09s
[16:14:35.966] [DEBUG] [ASRService] โœ… Streaming: 'test message to understand better if' (0.09s)
[16:14:35.966] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:36.603] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:36.603] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 102400) using FluidAudio (Apple Silicon Optimized)
[16:14:36.690] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.09s
[16:14:36.690] [DEBUG] [ASRService] โœ… Streaming: 'Test message to understand better if AI' (0.09s)
[16:14:36.690] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:37.329] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:37.329] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 113600) using FluidAudio (Apple Silicon Optimized)
[16:14:37.422] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.09s
[16:14:37.422] [DEBUG] [ASRService] โœ… Streaming: 'Test message to understand better if AI process.' (0.09s)
[16:14:37.422] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:38.032] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:38.033] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 124800) using FluidAudio (Apple Silicon Optimized)
[16:14:38.125] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.09s
[16:14:38.125] [DEBUG] [ASRService] โœ… Streaming: 'Test message to understand better if AI processing is.' (0.09s)
[16:14:38.125] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:38.765] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:38.765] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 136000) using FluidAudio (Apple Silicon Optimized)
[16:14:38.858] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.09s
[16:14:38.858] [DEBUG] [ASRService] โœ… Streaming: 'Test message to understand better if AI processing is applied to' (0.09s)
[16:14:38.858] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:39.493] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - calling processStreamingChunk()
[16:14:39.493] [DEBUG] [ASRService] Streaming chunk starting transcription (samples: 147200) using FluidAudio (Apple Silicon Optimized)
[16:14:39.594] [DEBUG] [ASRService] Streaming chunk transcription finished in 0.10s
[16:14:39.595] [DEBUG] [ASRService] โœ… Streaming: 'test message to understand better if AI processing is applied to messages' (0.10s)
[16:14:39.595] [DEBUG] [ASRService] ๐Ÿ”„ runStreamingLoop() - processStreamingChunk() returned
[16:14:39.966] [DEBUG] [ContentView] stopAndProcessTranscription called
[16:14:39.966] [INFO] [ASRService] ๐Ÿ›‘ STOP() called - beginning shutdown sequence
[16:14:39.966] [DEBUG] [ASRService] ๐Ÿ“ Preparing final transcription
[16:14:39.966] [DEBUG] [ASRService] ๐Ÿšซ Setting isRunning = false...
[16:14:39.967] [DEBUG] [ASRService] ๐Ÿšซ Setting audioCapturePipeline recording = false...
[16:14:39.967] [DEBUG] [ASRService] โœ… isRunning and capture pipeline disabled
[16:14:39.967] [DEBUG] [ASRService] ๐Ÿ‘๏ธ Stopping device monitoring...
[16:14:39.967] [DEBUG] [ASRService] Stopped monitoring device ID: 161
[16:14:39.967] [DEBUG] [ASRService] โœ… Device monitoring stopped
[16:14:39.967] [DEBUG] [ASRService] ๐ŸŽง Removing engine tap...
[16:14:39.967] [DEBUG] [ASRService] โœ… Engine tap removed
[16:14:39.967] [DEBUG] [ASRService] ๐Ÿ›‘ Calling engine.stop()...
[16:14:39.972] [DEBUG] [ASRService] โœ… Engine stopped
[16:14:39.972] [DEBUG] [ASRService] ๐Ÿ—‘๏ธ Deallocating old engine and creating fresh instance...
[16:14:40.017] [DEBUG] [ASRService] โœ… Engine instance recreated
[16:14:40.018] [DEBUG] [ASRService] โณ Awaiting stopStreamingTimerAndAwait()...
[16:14:40.087] [DEBUG] [ASRService] Streaming transcription task cancelled
[16:14:40.118] [DEBUG] [ASRService] โœ… stopStreamingTimerAndAwait() completed
[16:14:40.118] [DEBUG] [ASRService] ๐Ÿ” Calling ensureAsrReady()...
[16:14:40.118] [DEBUG] [ASRService] ASR already ready with loaded models, skipping initialization
[16:14:40.118] [DEBUG] [ASRService] โœ… ensureAsrReady() completed
[16:14:40.118] [DEBUG] [ASRService] Starting transcription with 155200 samples (9.7 seconds)
[16:14:40.118] [DEBUG] [ASRService] stop(): starting full transcription (samples: 155200) using FluidAudio (Apple Silicon Optimized)
[16:14:40.118] [DEBUG] [ASRService] ๐Ÿ“ Starting transcription executor...
[16:14:40.118] [DEBUG] [ASRService] ๐Ÿ“ Inside transcription executor closure
[16:14:40.172] [DEBUG] [ASRService] ๐Ÿ“ Transcription provider returned
[16:14:40.172] [DEBUG] [ASRService] โœ… Transcription executor completed
[16:14:40.172] [DEBUG] [ASRService] stop(): full transcription finished
[16:14:40.172] [DEBUG] [ASRService] Transcription completed: 'Uh test um message uh to understand better if uh AI uh processing is applied to messages.' (confidence: 0.93955076)
[16:14:40.172] [DEBUG] [ASRService] After post-processing: 'test message to understand better if AI processing is applied to messages.'
[16:14:40.175] [INFO] [ContentView] Transcription finalized (chars: 74)
[16:14:40.177] [DEBUG] [TranscriptionHistoryStore] Added transcription to history (total: 294)

lexsys27 avatar Jan 19 '26 13:01 lexsys27

Thank you so much for this amazing software... I have tried so hard to rework the Apple intelligence AI model with prompts, but I confirm now that it's completely trash... I'm so hyped up about your on device Model Fluid-1. I signed up for the Early acess.

andychuks51 avatar Jan 26 '26 13:01 andychuks51

Thank you for the fix! Now AI Enhancement with Apple Intelligence works, but the quality indeed is very low: the model just doesn't get what it needs to do! :)

Image

I disabled AI enhancement for now as Parakeet V2 + Filler Words Removal works very well for me.

lexsys27 avatar Feb 02 '26 09:02 lexsys27