Repository navigation
[OMEGA-491] Allow to setting an embedding provider via the launcher - #387
Open
paul-v-snet wants to merge 3 commits into
Open
paul-v-snet wants to merge 3 commits into
paul-v-snet wants to merge 3 commits into
Conversation
…w setting an embedding provider when starting Omega via the launcher
timur-ashkenov
left a comment
Collaborator
There was a problem hiding this comment.
@paul-v-snet And if you choose different providers for the LLM and embeddings—for example, -p Anthropic -e OpenAI—how does the OpenAI key get into the container? Right now, it seems only the LLM provider's key is passed through. Is a separate key required for embeddings?
Collaborator
Author
|
@timur-ashkenov, right, my bad, thanks for catching that. I'll fix it. |
…edding providers differ
Collaborator
Author
|
@timur-ashkenov, fixed in ca3d3b5 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Introduces a new
-eparameter tostartlauncher command which allows to set an embedding provider when starting Omega.The default embedding provider
Localfor theASICloudprovider was kept as before to ensure this won't break existing users vector stores after the update.The parameter accepts only
Local,OpenAI, andASICloud; these are the complete set of currently supported embedding providers. The parameter is also case-sensitive since the value is compared withLocalinsrc/memory.metta, and usinglocalcould lead to crashes:Omega/src/memory.metta
Line 46 in 5bdd895
The final embedding provider is selected in the following order:
-e <provider>EMBEDDING_PROVIDERif-eis not passedLocalforASICloud) if neither of the above is providedHow Has This Been Tested?
startwith the-eparameter and different providers: all passedChecklist