Future-House/paper-qa

how to use AZURE_API_KEY

Opened this issue · 0 comments

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
+------------------------------------