Azure / openai-samples

Samples for working with Azure OpenAI Service
https://aka.ms/azure-openai
Other
396 stars 113 forks source link

Use OpenAI standard environment variables #4

Closed gojira closed 1 year ago

gojira commented 1 year ago

See here for reference on EVAR names, as well as pattern for using shell environment variables or inline Python os.environ settings. https://github.com/hwchase17/langchain/blob/master/docs/modules/llms/integrations/azure_openai_example.ipynb

Specifically:

OPENAI_API_KEY
OPENAI_API_TYPE
OPENAI_API_VERSION
OPENAI_API_BASE