Skip to content
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

Azure support #1604

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Azure support #1604

wants to merge 2 commits into from

Conversation

crazyxixi
Copy link

Description

Provided is the access to the azure_openai API, which requires the configuration of llm and embedder in the config. If the API keys for the two are different, they need to be configured separately; otherwise, it is sufficient to configure the environment variables for llm only.

Fixes # (azure_openai support)

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

To run the azure_test.py file under the test directory directly, you can do so. However, you must first input the keys for llm and embedder, as well as the endpoint and version.

Please delete options that are not relevant.

  • Unit Test

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Maintainer Checklist

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Made sure Checks passed

@CLAassistant
Copy link

CLAassistant commented Jul 29, 2024

CLA assistant check
All committers have signed the CLA.

@Dev-Khant
Copy link
Collaborator

@crazyxixi Can you please resolve the conflicts?

@crazyxixi crazyxixi mentioned this pull request Aug 4, 2024
18 tasks
@crazyxixi
Copy link
Author

@crazyxixi Can you please resolve the conflicts?

I've submitted new support to accommodate the new version

@Dev-Khant
Copy link
Collaborator

Hey @crazyxixi Can you please create one PR with all the necessary changes for Azure support?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants