diff --git a/.changeset/dirty-lizards-swim.md b/.changeset/dirty-lizards-swim.md new file mode 100644 index 0000000000000000000000000000000000000000..a5da79f012690c7c299fd29071dac4f330dbbe38 --- /dev/null +++ b/.changeset/dirty-lizards-swim.md @@ -0,0 +1,5 @@ +--- +"llamaindex": patch +--- + +feat: add gpt4o-mini diff --git a/packages/llamaindex/src/llm/openai.ts b/packages/llamaindex/src/llm/openai.ts index 34af8c1468b5f7eb6740f54186be69bf5baa737b..9581d8eeb517c5b4ef5db58c90138b27fd6c49de 100644 --- a/packages/llamaindex/src/llm/openai.ts +++ b/packages/llamaindex/src/llm/openai.ts @@ -106,6 +106,8 @@ export const GPT4_MODELS = { "gpt-4-vision-preview": { contextWindow: 128000 }, "gpt-4o": { contextWindow: 128000 }, "gpt-4o-2024-05-13": { contextWindow: 128000 }, + "gpt-4o-mini": { contextWindow: 128000 }, + "gpt-4o-mini-2024-07-18": { contextWindow: 128000 }, }; // NOTE we don't currently support gpt-3.5-turbo-instruct and don't plan to in the near future