Skip to content
Snippets Groups Projects
Unverified Commit 6ff7576e authored by Parham Saidi's avatar Parham Saidi Committed by GitHub
Browse files

feature: added the latest gpt-4o to azure (#875)

parent 94543dec
No related branches found
No related tags found
No related merge requests found
---
"llamaindex": patch
---
Added GPT-4o for Azure
......@@ -17,6 +17,7 @@ const ALL_AZURE_OPENAI_CHAT_MODELS = {
contextWindow: 16384,
openAIModel: "gpt-3.5-turbo-16k",
},
"gpt-4o": { contextWindow: 128000, openAIModel: "gpt-4o" },
"gpt-4": { contextWindow: 8192, openAIModel: "gpt-4" },
"gpt-4-32k": { contextWindow: 32768, openAIModel: "gpt-4-32k" },
"gpt-4-turbo": {
......@@ -62,6 +63,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
];
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