diff --git a/public/bots/openai-4o-mini-logo.png b/public/bots/openai-4o-mini-logo.png new file mode 100644 index 0000000000..14eab1b8b0 Binary files /dev/null and b/public/bots/openai-4o-mini-logo.png differ diff --git a/src/bots/index.js b/src/bots/index.js index ffbcbca807..1335c5e81f 100644 --- a/src/bots/index.js +++ b/src/bots/index.js @@ -19,6 +19,7 @@ import OpenAIAPI35Bot from "@/bots/openai/OpenAIAPI35Bot"; import OpenAIAPI4Bot from "@/bots/openai/OpenAIAPI4Bot"; import OpenAIAPI4128KBot from "@/bots/openai/OpenAIAPI4128KBot"; import OpenAIAPI4oBot from "@/bots/openai/OpenAIAPI4oBot"; +import OpenAIAPI4oMiniBot from "./openai/OpenAIAPI4oMiniBot"; import MistralBot from "./MistralBot"; import MOSSBot from "@/bots/MOSSBot"; import WenxinQianfanBot from "@/bots/baidu/WenxinQianfanBot"; @@ -143,6 +144,7 @@ const all = [ OpenAIAPI4Bot.getInstance(), OpenAIAPI4128KBot.getInstance(), OpenAIAPI4oBot.getInstance(), + OpenAIAPI4oMiniBot.getInstance(), ChatGPT432kPoeBot.getInstance(), GradioAppBot.getInstance(), Gemma7bGroqAPIBot.getInstance(), @@ -300,6 +302,7 @@ export const botTags = { bots.getBotByClassName("OpenAIAPI4Bot"), bots.getBotByClassName("OpenAIAPI4128KBot"), bots.getBotByClassName("OpenAIAPI4oBot"), + bots.getBotByClassName("OpenAIAPI4oMiniBot"), bots.getBotByClassName("WenxinQianfanBot"), bots.getBotByClassName("WenxinQianfanTurboBot"), bots.getBotByClassName("WenxinQianfan4Bot"), diff --git a/src/bots/openai/OpenAIAPI4oMiniBot.js b/src/bots/openai/OpenAIAPI4oMiniBot.js new file mode 100644 index 0000000000..66cfa1d315 --- /dev/null +++ b/src/bots/openai/OpenAIAPI4oMiniBot.js @@ -0,0 +1,12 @@ +import OpenAIAPIBot from "./OpenAIAPIBot"; + +export default class OpenAIAPI4oMiniBot extends OpenAIAPIBot { + static _className = "OpenAIAPI4oMiniBot"; // Class name of the bot + static _logoFilename = "openai-4o-mini-logo.png"; // Place it in public/bots/ + static _isDarkLogo = true; // The main color of logo is dark + static _model = "gpt-4o-mini"; + + constructor() { + super(); + } +} diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json index ba8b27eed3..0c5eb8c338 100644 --- a/src/i18n/locales/de.json +++ b/src/i18n/locales/de.json @@ -238,6 +238,7 @@ "gpt-4": "gpt-4", "gpt-4-turbo": "gpt-4-turbo", "gpt-4o": "gpt-4o", + "gpt-4o-mini": "gpt-4o-mini", "temperature": "Temperatur", "temperaturePrompt": "Je höher die Temperatur, desto kreativer der Text, aber desto wahrscheinlicher ist es, dass er inkohärent ist", "temperature0": "Stärker deterministisch", diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index d6db59f9b2..71ec271c55 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -238,6 +238,7 @@ "gpt-4": "gpt-4", "gpt-4-turbo": "gpt-4-turbo", "gpt-4o": "gpt-4o", + "gpt-4o-mini": "gpt-4o-mini", "temperature": "Temperature", "temperaturePrompt": "The higher the temperature, the more creative the text, but the more likely it is to be incoherent", "temperature0": "More deterministic", diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json index a700bf4aed..36f7028b93 100644 --- a/src/i18n/locales/es.json +++ b/src/i18n/locales/es.json @@ -238,6 +238,7 @@ "gpt-4": "gpt-4", "gpt-4-turbo": "gpt-4-turbo", "gpt-4o": "gpt-4o", + "gpt-4o-mini": "gpt-4o-mini", "temperature": "Temperatura", "temperaturePrompt": "Cuanto mayor sea la temperatura, más creativo será el texto, pero más probable es que sea incoherente.", "temperature0": "Más determinístico", diff --git a/src/i18n/locales/fr.json b/src/i18n/locales/fr.json index a0a8070560..5255ebe3c6 100644 --- a/src/i18n/locales/fr.json +++ b/src/i18n/locales/fr.json @@ -238,6 +238,7 @@ "gpt-4": "gpt-4", "gpt-4-turbo": "gpt-4-turbo", "gpt-4o": "gpt-4o", + "gpt-4o-mini": "gpt-4o-mini", "temperature": "Température", "temperaturePrompt": "Une température plus élevée favorise la créativité du texte généré, mais le risque d'incohérence augmente également.", "temperature0": "Plus déterministe", diff --git a/src/i18n/locales/it.json b/src/i18n/locales/it.json index de63cbbf64..70a152133c 100644 --- a/src/i18n/locales/it.json +++ b/src/i18n/locales/it.json @@ -239,6 +239,7 @@ "gpt-4": "gpt-4", "gpt-4-turbo": "gpt-4-turbo", "gpt-4o": "gpt-4o", + "gpt-4o-mini": "gpt-4o-mini", "temperature": "Temperatura", "temperaturePrompt": "Più alta è la temperatura, più creativo è il testo, ma maggiore è la probabilità che sia incoerente", "temperature0": "Più deterministico", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 091c57288f..fd2764ec5d 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -238,6 +238,7 @@ "gpt-4": "gpt-4", "gpt-4-turbo": "gpt-4-turbo", "gpt-4o": "gpt-4o", + "gpt-4o-mini": "gpt-4o-mini", "temperature": "温度", "temperaturePrompt": "温度が高いほど、テキストは創造的ですが、一貫性がない可能性が高いです。", "temperature0": "より決定論的な", diff --git a/src/i18n/locales/ko.json b/src/i18n/locales/ko.json index 0f472e1039..ca804e5025 100644 --- a/src/i18n/locales/ko.json +++ b/src/i18n/locales/ko.json @@ -238,6 +238,7 @@ "gpt-4": "gpt-4", "gpt-4-turbo": "gpt-4-turbo", "gpt-4o": "gpt-4o", + "gpt-4o-mini": "gpt-4o-mini", "temperature": "온도", "temperaturePrompt": "온도가 높을수록 텍스트는 창의적이지만 일관성이 없을 가능성이 높습니다", "temperature0": "더 결정론적인", diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json index fb3f3856ab..ccf54e8a14 100644 --- a/src/i18n/locales/ru.json +++ b/src/i18n/locales/ru.json @@ -238,6 +238,7 @@ "gpt-4": "gpt-4", "gpt-4-turbo": "gpt-4-turbo", "gpt-4o": "gpt-4o", + "gpt-4o-mini": "gpt-4o-mini", "temperature": "Температура", "temperaturePrompt": "Чем выше температура, тем креативнее текст, но тем больше вероятность того, что он будет бессвязным", "temperature0": "Более определенный", diff --git a/src/i18n/locales/vi.json b/src/i18n/locales/vi.json index 57f25692a4..479fc68ad1 100644 --- a/src/i18n/locales/vi.json +++ b/src/i18n/locales/vi.json @@ -219,6 +219,7 @@ "gpt-4": "gpt-4", "gpt-4-turbo": "gpt-4-turbo", "gpt-4o": "gpt-4o", + "gpt-4o-mini": "gpt-4o-mini", "temperature": "Temperature", "temperaturePrompt": "Temperature càng cao, văn bản càng sáng tạo nhưng càng có khả năng trở nên rời rạc", "temperature0": "Cụ thể hơn", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 5e2d488e33..8db308d9e5 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -238,6 +238,7 @@ "gpt-4": "gpt-4", "gpt-4-turbo": "gpt-4-turbo", "gpt-4o": "gpt-4o", + "gpt-4o-mini": "gpt-4o-mini", "temperature": "Temperature", "temperaturePrompt": "Temperature 越高,生成的文本越有创造性,但也越没条理", "temperature0": "更具确定性", diff --git a/src/i18n/locales/zhtw.json b/src/i18n/locales/zhtw.json index 5d3175db58..755be2b306 100644 --- a/src/i18n/locales/zhtw.json +++ b/src/i18n/locales/zhtw.json @@ -238,6 +238,7 @@ "gpt-4": "gpt-4", "gpt-4-turbo": "gpt-4-turbo", "gpt-4o": "gpt-4o", + "gpt-4o-mini": "gpt-4o-mini", "temperature": "Temperature", "temperaturePrompt": "Temperature 越高,生成的文字越有創造性,但也越可能無法理解", "temperature0": "更具確定性",