AugustAtSeattle / SpeakNote

SpeakNote: Your Personal Virtual Assistant on iOS
MIT License
2 stars 0 forks source link

Implement Fallback for Whisper Service Downtime #17

Open AugustAtSeattle opened 10 months ago

AugustAtSeattle commented 10 months ago

Title:

Implement Fallback for Whisper Service Downtime

Description:

Develop a fallback mechanism for the speech-to-text feature, switching to an alternative service like Apple's SFSpeechRecognizer when the Whisper service is unavailable.

Objectives:

Implementation Steps:

  1. Whisper Service Availability Check:

    • [ ] Method to check Whisper availability.
    • [ ] Handle Whisper accessibility issues, including network problems.
  2. Fallback Service Integration:

    • [ ] Integrate SFSpeechRecognizer as the fallback.
    • [ ] Ensure interface consistency with Whisper service.
  3. Switching Logic:

    • [ ] Automatic switch to fallback service on Whisper failure.
    • [ ] Maintain ongoing speech recognition tasks during the switch.
  4. Testing:

    • [ ] Test automatic switching and fallback service performance.
    • [ ] Ensure seamless user experience during service transition.

Acceptance Criteria: