diff --git a/public/bots/gemini-2.0-exp-logo.png b/public/bots/gemini-2.0-exp-logo.png new file mode 100644 index 0000000000..57fff6f778 Binary files /dev/null and b/public/bots/gemini-2.0-exp-logo.png differ diff --git a/public/bots/gemini-2.0-flash-logo.png b/public/bots/gemini-2.0-flash-logo.png new file mode 100644 index 0000000000..1f78c14970 Binary files /dev/null and b/public/bots/gemini-2.0-flash-logo.png differ diff --git a/src/bots/google/Gemini20ExpAPIBot.js b/src/bots/google/Gemini20ExpAPIBot.js new file mode 100644 index 0000000000..9eb4f8d254 --- /dev/null +++ b/src/bots/google/Gemini20ExpAPIBot.js @@ -0,0 +1,7 @@ +import GeminiAPIBot from "./GeminiAPIBot"; + +export default class Gemini20ExpAPIBot extends GeminiAPIBot { + static _className = "Gemini20ExpAPIBot"; + static _logoFilename = "gemini-2.0-exp-logo.png"; + static _model = "gemini-exp-1206"; +} diff --git a/src/bots/google/Gemini20FlashAPIBot.js b/src/bots/google/Gemini20FlashAPIBot.js new file mode 100644 index 0000000000..744cdc17e9 --- /dev/null +++ b/src/bots/google/Gemini20FlashAPIBot.js @@ -0,0 +1,7 @@ +import GeminiAPIBot from "./GeminiAPIBot"; + +export default class Gemini20FlashAPIBot extends GeminiAPIBot { + static _className = "Gemini20FlashAPIBot"; + static _logoFilename = "gemini-2.0-flash-logo.png"; + static _model = "gemini-2.0-flash-exp"; +} diff --git a/src/bots/index.js b/src/bots/index.js index e978878537..fdeeb1e216 100644 --- a/src/bots/index.js +++ b/src/bots/index.js @@ -2,6 +2,8 @@ import GeminiAPIBot from "@/bots/google/GeminiAPIBot"; import Gemini15ProAPIBot from "@/bots/google/Gemini15ProAPIBot"; import Gemini15FlashAPIBot from "@/bots/google/Gemini15FlashAPIBot"; +import Gemini20FlashAPIBot from "@/bots/google/Gemini20FlashAPIBot"; +import Gemini20ExpAPIBot from "@/bots/google/Gemini20ExpAPIBot"; import ChatGPT35Bot from "@/bots/openai/ChatGPT35Bot"; import ChatGPT4Bot from "@/bots/openai/ChatGPT4Bot"; import CohereAPICommandBot from "@/bots/cohere/CohereAPICommandBot"; @@ -119,6 +121,8 @@ const all = [ GeminiAPIBot.getInstance(), Gemini15ProAPIBot.getInstance(), Gemini15FlashAPIBot.getInstance(), + Gemini20FlashAPIBot.getInstance(), + Gemini20ExpAPIBot.getInstance(), Gemma2bItBot.getInstance(), Gemma7bItBot.getInstance(), AzureOpenAIAPIBot.getInstance(), @@ -279,6 +283,8 @@ export const botTags = { bots.getBotByClassName("GeminiAPIBot"), bots.getBotByClassName("Gemini15ProAPIBot"), bots.getBotByClassName("Gemini15FlashAPIBot"), + bots.getBotByClassName("Gemini20FlashAPIBot"), + bots.getBotByClassName("Gemini20ExpAPIBot"), bots.getBotByClassName("AzureOpenAIAPIBot"), bots.getBotByClassName("OpenAIAPI35Bot"), bots.getBotByClassName("OpenAIAPI4Bot"), diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json index 5880f1136d..88525daf52 100644 --- a/src/i18n/locales/de.json +++ b/src/i18n/locales/de.json @@ -167,6 +167,8 @@ "gemini-pro": "Gemini-Pro", "gemini-15-pro-latest": "Gemini 1.5 Pro", "gemini-15-flash-latest": "Gemini 1.5 Flash", + "gemini-20-flash-exp": "Gemini 2.0 Flash", + "gemini-exp-1206": "Gemini Exp 1206", "topK": "topK", "topKPrompt": "Ein topK von 1 bedeutet, dass das ausgewählte Token das wahrscheinlichste unter allen Token im Vokabular des Modells ist (auch gieriges Decodieren genannt).", "topP": "topP", diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 6a59e2b327..ca94964536 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -167,6 +167,8 @@ "gemini-pro": "Gemini-Pro", "gemini-15-pro-latest": "Gemini 1.5 Pro", "gemini-15-flash-latest": "Gemini 1.5 Flash", + "gemini-20-flash-exp": "Gemini 2.0 Flash", + "gemini-exp-1206": "Gemini Exp 1206", "topK": "topK", "topKPrompt": "A topK of 1 means the selected token is the most probable among all the tokens in the model's vocabulary (also called greedy decoding)", "topP": "topP", diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json index cc04e6b180..ce7d3876d4 100644 --- a/src/i18n/locales/es.json +++ b/src/i18n/locales/es.json @@ -167,6 +167,8 @@ "gemini-pro": "Gemini-Pro", "gemini-15-pro-latest": "Gemini 1.5 Pro", "gemini-15-flash-latest": "Gemini 1.5 Flash", + "gemini-20-flash-exp": "Gemini 2.0 Flash", + "gemini-exp-1206": "Gemini Exp 1206", "topK": "topP", "topKPrompt": "Los tokens se seleccionan desde el más probable hasta el menos probable hasta que la suma de sus probabilidades iguale el valor de topP", "topP": "topK", diff --git a/src/i18n/locales/fr.json b/src/i18n/locales/fr.json index 370ea107ab..f9f59bebfd 100644 --- a/src/i18n/locales/fr.json +++ b/src/i18n/locales/fr.json @@ -167,6 +167,8 @@ "gemini-pro": "Gemini-Pro", "gemini-15-pro-latest": "Gemini 1.5 Pro", "gemini-15-flash-latest": "Gemini 1.5 Flash", + "gemini-20-flash-exp": "Gemini 2.0 Flash", + "gemini-exp-1206": "Gemini Exp 1206", "topK": "topK", "topKPrompt": "Un topK de 1 signifie que le jeton sélectionné est le plus probable parmi tous les jetons dans le vocabulaire du modèle (également appelé décodage gourmand).", "topP": "topP", diff --git a/src/i18n/locales/it.json b/src/i18n/locales/it.json index 70b5383952..f7825fb8f1 100644 --- a/src/i18n/locales/it.json +++ b/src/i18n/locales/it.json @@ -168,6 +168,8 @@ "gemini-pro": "Gemini-Pro", "gemini-15-pro-latest": "Gemini 1.5 Pro", "gemini-15-flash-latest": "Gemini 1.5 Flash", + "gemini-20-flash-exp": "Gemini 2.0 Flash", + "gemini-exp-1206": "Gemini Exp 1206", "topK": "topK", "topKPrompt": "Un topK di 1 significa che il token selezionato è il più probabile tra tutti i token nel vocabolario del modello (chiamato anche decodifica avida).", "topP": "topP", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index 8228df120a..060e45e620 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -167,6 +167,8 @@ "gemini-pro": "Gemini-Pro", "gemini-15-pro-latest": "Gemini 1.5 Pro", "gemini-15-flash-latest": "Gemini 1.5 Flash", + "gemini-20-flash-exp": "Gemini 2.0 Flash", + "gemini-exp-1206": "Gemini Exp 1206", "topK": "topK", "topKPrompt": "topKの1は、モデルの語彙の中で選択されたトークンが最も確からしいことを意味します(貪欲デコードとも呼ばれます)", "topP": "topP", diff --git a/src/i18n/locales/ko.json b/src/i18n/locales/ko.json index c305d8b66f..874b223a9c 100644 --- a/src/i18n/locales/ko.json +++ b/src/i18n/locales/ko.json @@ -167,6 +167,8 @@ "gemini-pro": "Gemini-Pro", "gemini-15-pro-latest": "Gemini 1.5 Pro", "gemini-15-flash-latest": "Gemini 1.5 Flash", + "gemini-20-flash-exp": "Gemini 2.0 Flash", + "gemini-exp-1206": "Gemini Exp 1206", "topK": "topK", "topKPrompt": "topK가 1이라는 것은 선택된 토큰이 모델의 어휘 중에서 가장 가능성이 높은 것을 의미합니다 (탐욕스러운 디코딩이라고도 함).", "topP": "topP", diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json index c90adc2247..4024e0ad7f 100644 --- a/src/i18n/locales/ru.json +++ b/src/i18n/locales/ru.json @@ -167,6 +167,8 @@ "gemini-pro": "Gemini-Pro", "gemini-15-pro-latest": "Gemini 1.5 Pro", "gemini-15-flash-latest": "Gemini 1.5 Flash", + "gemini-20-flash-exp": "Gemini 2.0 Flash", + "gemini-exp-1206": "Gemini Exp 1206", "topK": "topK", "topKPrompt": "topK, равный 1, означает, что выбранный токен является наиболее вероятным среди всех токенов в словаре модели (это также называется жадным декодированием).", "topP": "topP", diff --git a/src/i18n/locales/vi.json b/src/i18n/locales/vi.json index e1db6b3f56..dabbe707d2 100644 --- a/src/i18n/locales/vi.json +++ b/src/i18n/locales/vi.json @@ -160,6 +160,8 @@ "gemini-pro": "Gemini-Pro", "gemini-15-pro-latest": "Gemini 1.5 Pro", "gemini-15-flash-latest": "Gemini 1.5 Flash", + "gemini-20-flash-exp": "Gemini 2.0 Flash", + "gemini-exp-1206": "Gemini Exp 1206", "topK": "topK", "topKPrompt": "Một topK của 1 có nghĩa là token được chọn là có khả năng cao nhất trong tất cả các token trong từ vựng của mô hình (còn được gọi là giải mã tham lam)", "topP": "topP", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 540aba40a4..26172cce63 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -167,6 +167,8 @@ "gemini-pro": "Gemini-Pro", "gemini-15-pro-latest": "Gemini 1.5 Pro", "gemini-15-flash-latest": "Gemini 1.5 Flash", + "gemini-20-flash-exp": "Gemini 2.0 Flash", + "gemini-exp-1206": "Gemini Exp 1206", "topK": "topK", "topKPrompt": "topK为1意味着选定的标记在模型词汇中所有标记里是最有可能的(也称为贪婪解码)", "topP": "topP", diff --git a/src/i18n/locales/zhtw.json b/src/i18n/locales/zhtw.json index 87cecc416b..15c1eb01c3 100644 --- a/src/i18n/locales/zhtw.json +++ b/src/i18n/locales/zhtw.json @@ -167,6 +167,8 @@ "gemini-pro": "Gemini-Pro", "gemini-15-pro-latest": "Gemini 1.5 Pro", "gemini-15-flash-latest": "Gemini 1.5 Flash", + "gemini-20-flash-exp": "Gemini 2.0 Flash", + "gemini-exp-1206": "Gemini Exp 1206", "topK": "topK", "topKPrompt": "topK 為 1 表示選定的 token 是模型詞彙中所有 token 中最可能的(也稱為貪婪解碼)", "topP": "topP",