-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Azure OpenAI support with model switching #109
Merged
Merged
Conversation
This file contains 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
janaka
force-pushed
the
feat/hack/azure-openai-support
branch
from
September 25, 2023 15:07
5b8c9ee
to
4c1c5d6
Compare
janaka
changed the title
Feat(hack): Azure OpenAI support with model switching
Feat: Azure OpenAI support with model switching
Sep 27, 2023
janaka
force-pushed
the
feat/hack/azure-openai-support
branch
from
September 28, 2023 10:48
42790ae
to
98a0d65
Compare
Especially to support mapping params passed as env vars that clash with OpenAI vs Azure OpenAI being available concurrently.
- update LlamaIndex 0.8.27 -> 0.8.34 - add other dependencies.
add embedding model `BAAI/bge-small-en-v1.5` Which performs better than `text-embedding-ada-002` based on the Huggingface leader board.
note: extractors are currently off by default.
janaka
force-pushed
the
feat/hack/azure-openai-support
branch
from
October 2, 2023 10:40
41f5eca
to
c720dd1
Compare
fix: author and support email addresses
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
Implements #10 #12
BAAI/bge-small-en-v1.5
runs locally and overall performs better thantext-embedding-ada-002
WARNING: indexing with one embed model then switching to another requires a re-index.
Set default model settings collection from options available:
View details of the saved default model:
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration by modifying the list below.
Test Configuration:
Please describe the test setup. List them below as bullet points.
Checklist: