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

how to use AZURE_API_KEY #775

Open
zhendejuzi opened this issue Dec 20, 2024 · 0 comments
Open

how to use AZURE_API_KEY #775

zhendejuzi opened this issue Dec 20, 2024 · 0 comments
Labels
question Further information is requested

Comments

@zhendejuzi
Copy link

Hello, what specific steps do I need to follow in order to use the Azure OpenAI key?
Assuming my AZURE_API_KEY is "https:...".

Let me know if you'd like any additional details or clarifications!

|   File "/data/wusijie/software/anaconda3/envs/PaperQA/lib/python3.11/site-packages/openai/_client.py", line 337, in __init__
|     raise OpenAIError(
| openai.OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
+------------------------------------
@dosubot dosubot bot added the question Further information is requested label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant