[PR #909] [MERGED] Support external transcription providers #3529

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/909
Author: @timothycarambat
Created: 3/14/2024
Status: Merged
Merged: 3/14/2024
Merged by: @timothycarambat

Base: masterHead: 850-external-transcription-providers


📝 Commits (4)

📊 Changes

19 files changed (+541 additions, -110 deletions)

View changed files

📝 collector/index.js (+2 -2)
📝 collector/package.json (+2 -1)
📝 collector/processSingleFile/convert/asAudio.js (+18 -99)
📝 collector/processSingleFile/index.js (+2 -1)
collector/utils/WhisperProviders/OpenAiWhisper.js (+44 -0)
📝 collector/utils/WhisperProviders/localWhisper.js (+122 -4)
📝 collector/yarn.lock (+20 -0)
📝 docker/.env.example (+10 -0)
📝 frontend/src/App.jsx (+9 -0)
📝 frontend/src/components/SettingsSidebar/index.jsx (+10 -1)
frontend/src/components/TranscriptionSelection/NativeTranscriptionOptions/index.jsx (+38 -0)
frontend/src/components/TranscriptionSelection/OpenAiOptions/index.jsx (+41 -0)
frontend/src/pages/GeneralSettings/TranscriptionPreference/index.jsx (+180 -0)
📝 frontend/src/utils/paths.js (+3 -0)
📝 server/.env.example (+10 -0)
📝 server/models/systemSettings.js (+1 -0)
📝 server/storage/models/README.md (+3 -0)
📝 server/utils/collectorApi/index.js (+12 -2)
📝 server/utils/helpers/updateENV.js (+14 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #850
resolves #849

What is in this change?

Supports OpenAI whisper along-side as an additional configuration option to allow quicker transcription of files (mp3, mp4, etc) - 25MB LIMIT!

The localWhisper model still can run if needed but it often crashes instances when on underpowered devices with restricted RAM or CPU. OpenAI is a quick way to resolve this and satisfy the user need.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/909 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 3/14/2024 **Status:** ✅ Merged **Merged:** 3/14/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `850-external-transcription-providers` --- ### 📝 Commits (4) - [`2baaf4d`](https://github.com/Mintplex-Labs/anything-llm/commit/2baaf4def50a3ee7bf96ea32b9c1ce4112c5c2dc) Support External Transcription providers - [`3cb8aa8`](https://github.com/Mintplex-Labs/anything-llm/commit/3cb8aa841cf5ff8bd4f11e2be7e6d942f2809ac8) patch files - [`d86028f`](https://github.com/Mintplex-Labs/anything-llm/commit/d86028febba93cca00cb1c79f264a47a7b5a601d) update docs - [`96f2a04`](https://github.com/Mintplex-Labs/anything-llm/commit/96f2a044afe48338380b84bbfbbdfbe4d09e6285) fix return data ### 📊 Changes **19 files changed** (+541 additions, -110 deletions) <details> <summary>View changed files</summary> 📝 `collector/index.js` (+2 -2) 📝 `collector/package.json` (+2 -1) 📝 `collector/processSingleFile/convert/asAudio.js` (+18 -99) 📝 `collector/processSingleFile/index.js` (+2 -1) ➕ `collector/utils/WhisperProviders/OpenAiWhisper.js` (+44 -0) 📝 `collector/utils/WhisperProviders/localWhisper.js` (+122 -4) 📝 `collector/yarn.lock` (+20 -0) 📝 `docker/.env.example` (+10 -0) 📝 `frontend/src/App.jsx` (+9 -0) 📝 `frontend/src/components/SettingsSidebar/index.jsx` (+10 -1) ➕ `frontend/src/components/TranscriptionSelection/NativeTranscriptionOptions/index.jsx` (+38 -0) ➕ `frontend/src/components/TranscriptionSelection/OpenAiOptions/index.jsx` (+41 -0) ➕ `frontend/src/pages/GeneralSettings/TranscriptionPreference/index.jsx` (+180 -0) 📝 `frontend/src/utils/paths.js` (+3 -0) 📝 `server/.env.example` (+10 -0) 📝 `server/models/systemSettings.js` (+1 -0) 📝 `server/storage/models/README.md` (+3 -0) 📝 `server/utils/collectorApi/index.js` (+12 -2) 📝 `server/utils/helpers/updateENV.js` (+14 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #850 resolves #849 ### What is in this change? Supports OpenAI whisper along-side as an additional configuration option to allow quicker transcription of files (mp3, mp4, etc) - 25MB LIMIT! The localWhisper model still can run if needed but it often crashes instances when on underpowered devices with restricted RAM or CPU. OpenAI is a quick way to resolve this and satisfy the user need. ### Additional Information ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <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:33:58 -05:00
yindo closed this issue 2026-02-22 18:33:58 -05:00
yindo changed title from [PR #909] Support external transcription providers to [PR #909] [MERGED] Support external transcription providers 2026-06-05 15:13:53 -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#3529