Skip to content
Snippets Groups Projects
Unverified Commit ea467fa0 authored by Peter Goldstein's avatar Peter Goldstein Committed by GitHub
Browse files

Update to latest supported version list as of 2024-04-02. (#669)

parent b0e6f73b
No related branches found
No related tags found
No related merge requests found
---
"llamaindex": patch
---
Update the list of supported Azure OpenAI API versions as of 2024-04-02.
...@@ -49,15 +49,15 @@ const ALL_AZURE_OPENAI_EMBEDDING_MODELS = { ...@@ -49,15 +49,15 @@ const ALL_AZURE_OPENAI_EMBEDDING_MODELS = {
}, },
}; };
// Current version list found here - https://learn.microsoft.com/en-us/azure/ai-services/openai/reference
const ALL_AZURE_API_VERSIONS = [ const ALL_AZURE_API_VERSIONS = [
"2022-12-01", "2022-12-01",
"2023-05-15", "2023-05-15",
"2023-03-15-preview", // retiring 2024-04-02 "2023-06-01-preview", // Maintained for DALL-E 2
"2023-06-01-preview", // retiring 2024-04-02 "2023-10-01-preview",
"2023-07-01-preview", // retiring 2024-04-02 "2024-02-01",
"2023-08-01-preview", // retiring 2024-04-02 "2024-02-15-preview",
"2023-09-01-preview", "2024-03-01-preview",
"2023-12-01-preview",
]; ];
const DEFAULT_API_VERSION = "2023-05-15"; const DEFAULT_API_VERSION = "2023-05-15";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment