Update enum to include OpenAI's GPT-4o-mini model

This commit is contained in:
dongfeng
2024-07-19 18:39:58 +08:00
committed by Christian Tzolov
parent 5dc9480eea
commit 92b06346fd

View File

@@ -115,6 +115,7 @@ public class OpenAiApi {
/**
* OpenAI Chat Completion Models:
* - <a href="https://platform.openai.com/docs/models/gpt-4o">GPT-4o</a>
* - <a href="https://platform.openai.com/docs/models/gpt-4o-mini">GPT-4o mini</a>
* - <a href="https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo">GPT-4 and GPT-4 Turbo</a>
* - <a href="https://platform.openai.com/docs/models/gpt-3-5-turbo">GPT-3.5 Turbo</a>.
*/
@@ -125,6 +126,13 @@ public class OpenAiApi {
*/
GPT_4_O("gpt-4o"),
/**
* Affordable and intelligent small model for fast, lightweight tasks.
* GPT-4o mini is cheaper and more capable than GPT-3.5 Turbo.
* Currently points to gpt-4o-mini-2024-07-18.
*/
GPT_4_O_MINI("gpt-4o-mini"),
/**
* GPT-4 Turbo with Vision
* The latest GPT-4 Turbo model with vision capabilities.