[PR #361] [MERGED] LocalAI for embeddings #3317

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/361
Author: @tlandenberger
Created: 11/13/2023
Status: Merged
Merged: 11/14/2023
Merged by: @timothycarambat

Base: masterHead: feature/localai-embeddings


📝 Commits (6)

  • 2aa9407 feature: add localAi as embedding provider
  • ec50c82 chore: add LocalAI image
  • ecff67a chore: add localai embedding examples to docker .env.example
  • 40a2301 merge with master
  • eb3a40c update setting env
  • 30ab0d5 update comments on embedder

📊 Changes

10 files changed (+358 additions, -5 deletions)

View changed files

📝 docker/.env.example (+9 -0)
📝 frontend/src/components/Modals/MangeWorkspace/Documents/index.jsx (+14 -3)
📝 frontend/src/components/Modals/MangeWorkspace/index.jsx (+8 -1)
📝 frontend/src/pages/GeneralSettings/EmbeddingPreference/index.jsx (+114 -0)
📝 frontend/src/pages/OnboardingFlow/OnboardingModal/Steps/EmbeddingSelection/index.jsx (+113 -0)
📝 server/.env.example (+9 -0)
📝 server/models/systemSettings.js (+2 -0)
server/utils/EmbeddingEngines/localAi/index.js (+77 -0)
📝 server/utils/helpers/index.js (+3 -0)
📝 server/utils/helpers/updateENV.js (+9 -1)

📄 Description

Provide option to use LocalAI as local embedding engine. LocalAI must be running with installed embedding model. The selected model for embedding needs to be set in the .env file.


🔄 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/361 **Author:** [@tlandenberger](https://github.com/tlandenberger) **Created:** 11/13/2023 **Status:** ✅ Merged **Merged:** 11/14/2023 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `feature/localai-embeddings` --- ### 📝 Commits (6) - [`2aa9407`](https://github.com/Mintplex-Labs/anything-llm/commit/2aa9407bbb8e17ddc33cf40291422109285ce471) feature: add localAi as embedding provider - [`ec50c82`](https://github.com/Mintplex-Labs/anything-llm/commit/ec50c829015d0393a4cf82f93bd25a87b19e9d3b) chore: add LocalAI image - [`ecff67a`](https://github.com/Mintplex-Labs/anything-llm/commit/ecff67aa74b124dcb89506ca26169759292c1118) chore: add localai embedding examples to docker .env.example - [`40a2301`](https://github.com/Mintplex-Labs/anything-llm/commit/40a2301a5fa46cb97bac30d5c816c688436ef7da) merge with master - [`eb3a40c`](https://github.com/Mintplex-Labs/anything-llm/commit/eb3a40cc0ee9cda754917410638cbfc65b4855ce) update setting env - [`30ab0d5`](https://github.com/Mintplex-Labs/anything-llm/commit/30ab0d59d5528d8f6f766c221d73e2426ba02e97) update comments on embedder ### 📊 Changes **10 files changed** (+358 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `docker/.env.example` (+9 -0) 📝 `frontend/src/components/Modals/MangeWorkspace/Documents/index.jsx` (+14 -3) 📝 `frontend/src/components/Modals/MangeWorkspace/index.jsx` (+8 -1) 📝 `frontend/src/pages/GeneralSettings/EmbeddingPreference/index.jsx` (+114 -0) 📝 `frontend/src/pages/OnboardingFlow/OnboardingModal/Steps/EmbeddingSelection/index.jsx` (+113 -0) 📝 `server/.env.example` (+9 -0) 📝 `server/models/systemSettings.js` (+2 -0) ➕ `server/utils/EmbeddingEngines/localAi/index.js` (+77 -0) 📝 `server/utils/helpers/index.js` (+3 -0) 📝 `server/utils/helpers/updateENV.js` (+9 -1) </details> ### 📄 Description Provide option to use LocalAI as local embedding engine. LocalAI must be running with installed embedding model. The selected model for embedding needs to be set in the _.env_ file. --- <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:32 -05:00
yindo closed this issue 2026-02-22 18:33:32 -05: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#3317