[PR #2099] [MERGED] Desktop local whisper speech to text (no streaming) #3887

Closed
opened 2026-02-22 18:34:42 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2099
Author: @timothycarambat
Created: 8/12/2024
Status: Merged
Merged: 8/13/2024
Merged by: @timothycarambat

Base: desktopHead: microphone-wip


📝 Commits (10+)

📊 Changes

21 files changed (+58230 additions, -149 deletions)

View changed files

📝 .prettierignore (+1 -0)
📝 frontend/package.json (+1 -2)
frontend/src/components/SpeechToText/LocalWhisper/index.jsx (+67 -0)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx (+0 -119)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToTextWhisper/index.jsx (+135 -0)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToTextWhisper/utils/useSpeechRecognition.js (+238 -0)
frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToTextWhisper/utils/utils.js (+587 -0)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx (+2 -2)
📝 frontend/src/ipc/node-api.js (+37 -0)
📝 frontend/src/pages/GeneralSettings/AudioPreference/index.jsx (+2 -2)
📝 frontend/src/pages/GeneralSettings/AudioPreference/stt.jsx (+10 -10)
frontend/src/utils/whisperSTT/index.js (+169 -0)
frontend/src/utils/whisperSTT/transformers-electron/transformers.js (+56654 -0)
frontend/src/utils/whisperSTT/worker.js (+192 -0)
📝 frontend/vite.config.js (+1 -1)
📝 frontend/yarn.lock (+0 -12)
📝 server/index.js (+2 -0)
📝 server/models/systemSettings.js (+5 -1)
📝 server/utils/helpers/updateENV.js (+16 -0)
server/utils/whisper/index.js (+27 -0)

...and 1 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/2099 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 8/12/2024 **Status:** ✅ Merged **Merged:** 8/13/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `desktop` ← **Head:** `microphone-wip` --- ### 📝 Commits (10+) - [`d371a9c`](https://github.com/Mintplex-Labs/anything-llm/commit/d371a9cd8ec9a812144ace60098509439a698012) wip checkpoint - [`0aaa47a`](https://github.com/Mintplex-Labs/anything-llm/commit/0aaa47aeef92ef5ead5f1c96cd2c3811ce656b93) working with loaded static WASM - [`95e0482`](https://github.com/Mintplex-Labs/anything-llm/commit/95e0482e56fe82126e4ab974320708ee3c678418) cleanup WIP - [`6ffdc9e`](https://github.com/Mintplex-Labs/anything-llm/commit/6ffdc9e2fd106764f7a3973a75484845d21064f7) refactoring - [`5af0872`](https://github.com/Mintplex-Labs/anything-llm/commit/5af08722e2d034f934029c601f1d5216201dabc2) update package - [`0b69e4f`](https://github.com/Mintplex-Labs/anything-llm/commit/0b69e4f30cb34fccf9c6bc053c3c29a3e224f484) local whisper component - [`c4fd1e8`](https://github.com/Mintplex-Labs/anything-llm/commit/c4fd1e8d3d9b27db66052bf3617f3efddfbd8917) remove dep - [`a41d6af`](https://github.com/Mintplex-Labs/anything-llm/commit/a41d6af40a4570d157043b249656a7f4ac04d66d) remove unused code - [`3569b08`](https://github.com/Mintplex-Labs/anything-llm/commit/3569b08158d600500c221c777f6387c37b1d977d) remove bad file ref - [`87b460e`](https://github.com/Mintplex-Labs/anything-llm/commit/87b460e7adf40a214da2fad4fd8ae115eab9a5a1) autosubmit post transcription ### 📊 Changes **21 files changed** (+58230 additions, -149 deletions) <details> <summary>View changed files</summary> 📝 `.prettierignore` (+1 -0) 📝 `frontend/package.json` (+1 -2) ➕ `frontend/src/components/SpeechToText/LocalWhisper/index.jsx` (+67 -0) ➖ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx` (+0 -119) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToTextWhisper/index.jsx` (+135 -0) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToTextWhisper/utils/useSpeechRecognition.js` (+238 -0) ➕ `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToTextWhisper/utils/utils.js` (+587 -0) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx` (+2 -2) 📝 `frontend/src/ipc/node-api.js` (+37 -0) 📝 `frontend/src/pages/GeneralSettings/AudioPreference/index.jsx` (+2 -2) 📝 `frontend/src/pages/GeneralSettings/AudioPreference/stt.jsx` (+10 -10) ➕ `frontend/src/utils/whisperSTT/index.js` (+169 -0) ➕ `frontend/src/utils/whisperSTT/transformers-electron/transformers.js` (+56654 -0) ➕ `frontend/src/utils/whisperSTT/worker.js` (+192 -0) 📝 `frontend/vite.config.js` (+1 -1) 📝 `frontend/yarn.lock` (+0 -12) 📝 `server/index.js` (+2 -0) 📝 `server/models/systemSettings.js` (+5 -1) 📝 `server/utils/helpers/updateENV.js` (+16 -0) ➕ `server/utils/whisper/index.js` (+27 -0) _...and 1 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:42 -05:00
yindo closed this issue 2026-02-22 18:34:42 -05:00
yindo changed title from [PR #2099] Desktop local whisper speech to text (no streaming) to [PR #2099] [MERGED] Desktop local whisper speech to text (no streaming) 2026-06-05 15:15:44 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3887