OpenAI: Add gpt-4o to chat model enum

Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
This commit is contained in:
Thomas Vitale
2024-05-14 07:38:58 +02:00
committed by Christian Tzolov
parent d7dad6ef61
commit b3cfa2b900

View File

@@ -109,10 +109,17 @@ public class OpenAiApi {
/**
* OpenAI Chat Completion Models:
* <a href="https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo">GPT-4 and GPT-4 Turbo</a> and
* <a href="https://platform.openai.com/docs/models/gpt-3-5-turbo">GPT-3.5 Turbo</a>.
* - <a href="https://platform.openai.com/docs/models/gpt-4o">GPT-4o</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>.
*/
public enum ChatModel {
/**
* Multimodal flagship model thats cheaper and faster than GPT-4 Turbo.
* Currently points to gpt-4o-2024-05-13.
*/
GPT_4_O("gpt-4o"),
/**
* (New) GPT-4 Turbo - latest GPT-4 model intended to reduce cases
* of “laziness” where the model doesnt complete a task.