[PR #2895] [MERGED] Add support for Google Generative AI (Gemini) embedder #4169

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2895
Author: @007900
Created: 12/24/2024
Status: Merged
Merged: 12/31/2024
Merged by: @timothycarambat

Base: masterHead: 2894-google-generative-ai-embedding-support


📝 Commits (4)

  • e5c77f6 Add support for Google Generative AI (Gemini) embedder
  • 7d022fe Add missing example in docker
  • ed52202 remove dupe in env
  • f38a2bb Merge branch 'master' into 2894-google-generative-ai-embedding-support

📊 Changes

9 files changed (+138 additions, -3 deletions)

View changed files

📝 docker/.env.example (+4 -0)
frontend/src/components/EmbeddingSelection/GeminiOptions/index.jsx (+47 -0)
📝 frontend/src/pages/GeneralSettings/EmbeddingPreference/index.jsx (+9 -0)
📝 frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx (+8 -0)
📝 server/.env.example (+4 -0)
📝 server/models/systemSettings.js (+2 -3)
server/utils/EmbeddingEngines/gemini/index.js (+54 -0)
📝 server/utils/helpers/index.js (+3 -0)
📝 server/utils/helpers/updateENV.js (+7 -0)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #2894

What is in this change?

Add support for all Generative AI (Gemini) embedding models

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/2895 **Author:** [@007900](https://github.com/007900) **Created:** 12/24/2024 **Status:** ✅ Merged **Merged:** 12/31/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `2894-google-generative-ai-embedding-support` --- ### 📝 Commits (4) - [`e5c77f6`](https://github.com/Mintplex-Labs/anything-llm/commit/e5c77f63ced7b4633b0e157acb87a6161171f3f2) Add support for Google Generative AI (Gemini) embedder - [`7d022fe`](https://github.com/Mintplex-Labs/anything-llm/commit/7d022fe3465e5fa96c91670e74d8e5cf2f1e8f02) Add missing example in docker - [`ed52202`](https://github.com/Mintplex-Labs/anything-llm/commit/ed52202ed15c5b1243c3e2e1ca2daacc2c3557ab) remove dupe in env - [`f38a2bb`](https://github.com/Mintplex-Labs/anything-llm/commit/f38a2bb4eac969ad31367b4fbb186c0a6b802d5d) Merge branch 'master' into 2894-google-generative-ai-embedding-support ### 📊 Changes **9 files changed** (+138 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docker/.env.example` (+4 -0) ➕ `frontend/src/components/EmbeddingSelection/GeminiOptions/index.jsx` (+47 -0) 📝 `frontend/src/pages/GeneralSettings/EmbeddingPreference/index.jsx` (+9 -0) 📝 `frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx` (+8 -0) 📝 `server/.env.example` (+4 -0) 📝 `server/models/systemSettings.js` (+2 -3) ➕ `server/utils/EmbeddingEngines/gemini/index.js` (+54 -0) 📝 `server/utils/helpers/index.js` (+3 -0) 📝 `server/utils/helpers/updateENV.js` (+7 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues resolves #2894 ### What is in this change? Add support for all Generative AI (Gemini) embedding models ### Additional Information ### Developer Validations - [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:35:17 -05:00
yindo closed this issue 2026-02-22 18:35:17 -05:00
yindo changed title from [PR #2895] Add support for Google Generative AI (Gemini) embedder to [PR #2895] [MERGED] Add support for Google Generative AI (Gemini) embedder 2026-06-05 15:17:10 -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#4169