Skip to content
Snippets Groups Projects
Unverified Commit 058c275a authored by Yi Ding's avatar Yi Ding Committed by GitHub
Browse files

New azure versions (#877)

parent 6ff7576e
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,10 @@ const ALL_AZURE_OPENAI_CHAT_MODELS = {
contextWindow: 128000,
openAIModel: "gpt-4-turbo",
},
"gpt-4-turbo-2024-04-09": {
contextWindow: 128000,
openAIModel: "gpt-4-turbo",
},
"gpt-4-vision-preview": {
contextWindow: 128000,
openAIModel: "gpt-4-vision-preview",
......@@ -32,6 +36,10 @@ const ALL_AZURE_OPENAI_CHAT_MODELS = {
contextWindow: 128000,
openAIModel: "gpt-4-1106-preview",
},
"gpt-4o-2024-05-13": {
contextWindow: 128000,
openAIModel: "gpt-4o-2024-05-13",
},
};
const ALL_AZURE_OPENAI_EMBEDDING_MODELS = {
......@@ -63,8 +71,8 @@ const ALL_AZURE_API_VERSIONS = [
"2024-02-01",
"2024-02-15-preview",
"2024-03-01-preview",
"2024-04-01-preview", // Contains gpt-4o
"2024-05-13", // Gives 404 for gpt-4o at time of writting this
"2024-04-01-preview",
"2024-05-01-preview",
];
const DEFAULT_API_VERSION = "2023-05-15";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment