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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

AzureOpenAI features not supported and are hard coded #1347

Open
neilbhutada opened this issue Apr 28, 2024 · 2 comments
Open

AzureOpenAI features not supported and are hard coded #1347

neilbhutada opened this issue Apr 28, 2024 · 2 comments

Comments

@neilbhutada
Copy link
Contributor

馃悰 Describe the bug

In the documentation and the code base there seems to be a discrepancy. In the documentation, it says to use the following environment variables while using AzureOpenAI services, but the name of the environment variables differs. Secondly, I was looking at the source code and it seems that the api version was hard coded. It would be nice to pull the from yaml config. Thirdly, I couldn't see the embedder for AzureOpenAI in the source code.
Thank you!

@pratikkotian04
Copy link

Facing same issue

@denaha
Copy link

denaha commented May 22, 2024

I was able to load the version from the YAML config, in the latest version, below an example how it worked.

os.environ["OPENAI_API_VERSION"] = "2024-02-01"

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

No branches or pull requests

3 participants