Closed jackyu1996 closed 11 months ago
Since the release of openai-python 1.0, breaking changes were introduced for azure openai client creation. So the deployment name needs to be passed and OPENAI_API_BASE should be changed into AZURE_OPENAI_ENDPOINT for it to be read by openai-python.
openai-python 1.0
OPENAI_API_BASE
AZURE_OPENAI_ENDPOINT
openai-python
Since the release of
openai-python 1.0
, breaking changes were introduced for azure openai client creation. So the deployment name needs to be passed andOPENAI_API_BASE
should be changed intoAZURE_OPENAI_ENDPOINT
for it to be read byopenai-python
.