[PR #1664] [MERGED] [FEAT] Generic OpenAI embedding provider #3739

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1664
Author: @shatfield4
Created: 6/12/2024
Status: Merged
Merged: 6/21/2024
Merged by: @timothycarambat

Base: masterHead: 1436-feat-generic-openai-api-for-embeddings


📝 Commits (6)

  • bc80e2d implement generic openai embedding provider
  • c18cee4 linting
  • 3c90dbf Merge branch 'master' into 1436-feat-generic-openai-api-for-embeddings
  • 181a34b comment & description update for generic openai embedding provider
  • 1acace5 Merge branch 'master' into 1436-feat-generic-openai-api-for-embeddings
  • 54e084c fix privacy for generic

📊 Changes

9 files changed (+213 additions, -0 deletions)

View changed files

📝 docker/.env.example (+6 -0)
frontend/src/components/EmbeddingSelection/GenericOpenAiOptions/index.jsx (+74 -0)
📝 frontend/src/pages/GeneralSettings/EmbeddingPreference/index.jsx (+11 -0)
📝 frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx (+7 -0)
📝 server/.env.example (+6 -0)
📝 server/models/systemSettings.js (+2 -0)
server/utils/EmbeddingEngines/genericOpenAi/index.js (+95 -0)
📝 server/utils/helpers/index.js (+5 -0)
📝 server/utils/helpers/updateENV.js (+7 -0)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #1436

What is in this change?

  • Add support for generic OpenAI embedding provider to use any embedding provider that is compatible with the OpenAI API standard

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/1664 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 6/12/2024 **Status:** ✅ Merged **Merged:** 6/21/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `1436-feat-generic-openai-api-for-embeddings` --- ### 📝 Commits (6) - [`bc80e2d`](https://github.com/Mintplex-Labs/anything-llm/commit/bc80e2da31d6b5e495aafe4c547a432f72f8c61c) implement generic openai embedding provider - [`c18cee4`](https://github.com/Mintplex-Labs/anything-llm/commit/c18cee4b9241e7433488e49b14c6949d78c37c52) linting - [`3c90dbf`](https://github.com/Mintplex-Labs/anything-llm/commit/3c90dbfe48127e0e5d7dd7e746f38e6a58c6caa8) Merge branch 'master' into 1436-feat-generic-openai-api-for-embeddings - [`181a34b`](https://github.com/Mintplex-Labs/anything-llm/commit/181a34bcb05dd4c6441a69a8085433c40ad4c9ea) comment & description update for generic openai embedding provider - [`1acace5`](https://github.com/Mintplex-Labs/anything-llm/commit/1acace5c9da049c3080c364c748700f5e1dc1d29) Merge branch 'master' into 1436-feat-generic-openai-api-for-embeddings - [`54e084c`](https://github.com/Mintplex-Labs/anything-llm/commit/54e084c4cc9e20896007e8b18f3336e995d5e7d2) fix privacy for generic ### 📊 Changes **9 files changed** (+213 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docker/.env.example` (+6 -0) ➕ `frontend/src/components/EmbeddingSelection/GenericOpenAiOptions/index.jsx` (+74 -0) 📝 `frontend/src/pages/GeneralSettings/EmbeddingPreference/index.jsx` (+11 -0) 📝 `frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx` (+7 -0) 📝 `server/.env.example` (+6 -0) 📝 `server/models/systemSettings.js` (+2 -0) ➕ `server/utils/EmbeddingEngines/genericOpenAi/index.js` (+95 -0) 📝 `server/utils/helpers/index.js` (+5 -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 <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #1436 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Add support for generic OpenAI embedding provider to use any embedding provider that is compatible with the OpenAI API standard ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### 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:34:24 -05:00
yindo closed this issue 2026-02-22 18:34:24 -05:00
yindo changed title from [PR #1664] [FEAT] Generic OpenAI embedding provider to [PR #1664] [MERGED] [FEAT] Generic OpenAI embedding provider 2026-06-05 15:14:57 -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#3739