-
Notifications
You must be signed in to change notification settings - Fork 0
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(corpora_ai): support azure_endpoint for openai as well #56
Conversation
PR Reviewer Guide 🔍(Review updated until commit c105ebd)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
/describe |
/review |
PR Description updated to latest commit (c105ebd) |
Persistent review updated to latest commit c105ebd |
PR Type
Enhancement, Tests
Description
load_llm_provider
function to handle theazure_endpoint
environment variable.azure_endpoint
parameter is correctly passed and handled.AzureOpenAI
client inllm_client.py
to manage connections to Azure endpoints.Changes walkthrough 📝
provider_loader.py
Add support for Azure endpoint in OpenAI client
py/packages/corpora_ai/provider_loader.py
azure_endpoint
in the OpenAI client.llm_client.py
Implement AzureOpenAI client for Azure endpoint handling
py/packages/corpora_ai_openai/llm_client.py
AzureOpenAI
client for handling Azure endpoints.OpenAI
andAzureOpenAI
.test_provider_loader.py
Update tests for Azure endpoint support
py/packages/corpora_ai/test_provider_loader.py
azure_endpoint
parameter.