feat: moving azure OpenAI API version to the latest 2023-05-15 (#7764)

Moving to the latest non-preview Azure OpenAI API version=2023-05-15.
The previous 2023-03-15-preview doesn't have support, SLA etc. For
instance, OpenAI SDK has moved to this version
https://github.com/openai/openai-python/releases/tag/v0.27.7

@baskaryan
This commit is contained in:
maciej-skorupka
2023-07-18 16:50:15 +00:00
committed by GitHub
parent 259a409998
commit c6d1d6d7fc
6 changed files with 8 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ import os
os.environ["OPENAI_API_TYPE"] = "azure"
os.environ["OPENAI_API_BASE"] = "https://<your-endpoint.openai.azure.com/"
os.environ["OPENAI_API_KEY"] = "your AzureOpenAI key"
os.environ["OPENAI_API_VERSION"] = "2023-03-15-preview"
os.environ["OPENAI_API_VERSION"] = "2023-05-15"
```
## LLM