diff --git a/public/bots/llama-3-70b-groq-logo.png.png b/public/bots/llama-3-70b-groq-logo.png.png new file mode 100644 index 0000000000..ac8188e321 Binary files /dev/null and b/public/bots/llama-3-70b-groq-logo.png.png differ diff --git a/src/bots/groq/Llama370bGroqAPIBot.js b/src/bots/groq/Llama370bGroqAPIBot.js new file mode 100644 index 0000000000..c084d615b1 --- /dev/null +++ b/src/bots/groq/Llama370bGroqAPIBot.js @@ -0,0 +1,10 @@ +import GroqAPIBot from "./GroqAPIBot"; + +export default class Llama370bGroqAPIBot extends GroqAPIBot { + static _className = "Llama370bGroqAPIBot"; + static _logoFilename = "llama-3-70b-groq-logo.png"; + static _model = "llama3-70b-8192"; + constructor() { + super(); + } +} diff --git a/src/bots/groq/Llama38bGroqAPIBot.js b/src/bots/groq/Llama38bGroqAPIBot.js new file mode 100644 index 0000000000..a0a4044e1b --- /dev/null +++ b/src/bots/groq/Llama38bGroqAPIBot.js @@ -0,0 +1,10 @@ +import GroqAPIBot from "./GroqAPIBot"; + +export default class Llama38bGroqAPIBot extends GroqAPIBot { + static _className = "Llama38bGroqAPIBot"; + static _logoFilename = "llama-3-8b-groq-logo.png"; + static _model = "llama3-8b-8192"; + constructor() { + super(); + } +} diff --git a/src/bots/index.js b/src/bots/index.js index 4112da94e6..219f4b5a0d 100644 --- a/src/bots/index.js +++ b/src/bots/index.js @@ -22,6 +22,8 @@ import DevBot from "@/bots/DevBot"; import GradioAppBot from "@/bots/huggingface/GradioAppBot"; import Gemma7bGroqAPIBot from "@/bots/groq/Gemma7bGroqAPIBot"; import Llama270bGroqAPIBot from "@/bots/groq/Llama270bGroqAPIBot"; +import Llama38bGroqAPIBot from "@/bots/groq/Llama38bGroqAPIBot"; +import Llama370bGroqAPIBot from "@/bots/groq/Llama370bGroqAPIBot"; import Mixtral8x7bGroqAPIBot from "@/bots/groq/Mixtral8x7bGroqAPIBot"; import HuggingChatBot from "@/bots/huggingface/HuggingChatBot"; import QianWenBot from "./QianWenBot"; @@ -128,6 +130,8 @@ const all = [ GradioAppBot.getInstance(), Gemma7bGroqAPIBot.getInstance(), Llama270bGroqAPIBot.getInstance(), + Llama38bGroqAPIBot.getInstance(), + Llama370bGroqAPIBot.getInstance(), Mixtral8x7bGroqAPIBot.getInstance(), KimiBot.getInstance(), Llama27bBot.getInstance(), @@ -288,6 +292,8 @@ export const botTags = { bots.getBotByClassName("ClaudeAPISonnetBot"), bots.getBotByClassName("Gemma7bGroqAPIBot"), bots.getBotByClassName("Llama270bGroqAPIBot"), + bots.getBotByClassName("Llama38bGroqAPIBot"), + bots.getBotByClassName("Llama370bGroqAPIBot"), bots.getBotByClassName("Mixtral8x7bGroqAPIBot"), ], madeInChina: [ diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json index c1bbbc028f..208e07066c 100644 --- a/src/i18n/locales/de.json +++ b/src/i18n/locales/de.json @@ -108,6 +108,8 @@ "groqApi": { "name": "Groq API", "llama2-70b-4096": "LLaMA2 70b", + "llama3-8b-8192": "Llama 3 8b", + "llama3-70b-8192": "Llama 3 70b", "mixtral-8x7b-32768": "Mixtral 8x7b", "gemma-7b-it": "Gemma 7b" } diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 69829b7d84..79521fe24d 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -290,6 +290,8 @@ "groqApi": { "name": "Groq API", "llama2-70b-4096": "LLaMA2 70b", + "llama3-8b-8192": "Llama 3 8b", + "llama3-70b-8192": "Llama 3 70b", "mixtral-8x7b-32768": "Mixtral 8x7b", "gemma-7b-it": "Gemma 7b" }, diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json index d993c4ea4f..e482245f44 100644 --- a/src/i18n/locales/es.json +++ b/src/i18n/locales/es.json @@ -194,6 +194,8 @@ "groqApi": { "name": "Groq API", "llama2-70b-4096": "LLaMA2 70b", + "llama3-8b-8192": "Llama 3 8b", + "llama3-70b-8192": "Llama 3 70b", "mixtral-8x7b-32768": "Mixtral 8x7b", "gemma-7b-it": "Gemma 7b" }, diff --git a/src/i18n/locales/fr.json b/src/i18n/locales/fr.json index 8fbe473d50..e8dc8b6f43 100644 --- a/src/i18n/locales/fr.json +++ b/src/i18n/locales/fr.json @@ -111,6 +111,8 @@ "groqApi": { "name": "Groq API", "llama2-70b-4096": "LLaMA2 70b", + "llama3-8b-8192": "Llama 3 8b", + "llama3-70b-8192": "Llama 3 70b", "mixtral-8x7b-32768": "Mixtral 8x7b", "gemma-7b-it": "Gemma 7b" } diff --git a/src/i18n/locales/it.json b/src/i18n/locales/it.json index e7c95aa50e..7765d7b45b 100644 --- a/src/i18n/locales/it.json +++ b/src/i18n/locales/it.json @@ -118,6 +118,8 @@ "groqApi": { "name": "Groq API", "llama2-70b-4096": "LLaMA2 70b", + "llama3-8b-8192": "Llama 3 8b", + "llama3-70b-8192": "Llama 3 70b", "mixtral-8x7b-32768": "Mixtral 8x7b", "gemma-7b-it": "Gemma 7b" } diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index f2101c0f0f..0acd23fc1c 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -177,6 +177,8 @@ "groqApi": { "name": "Groq API", "llama2-70b-4096": "LLaMA2 70b", + "llama3-8b-8192": "Llama 3 8b", + "llama3-70b-8192": "Llama 3 70b", "mixtral-8x7b-32768": "Mixtral 8x7b", "gemma-7b-it": "Gemma 7b" }, diff --git a/src/i18n/locales/ko.json b/src/i18n/locales/ko.json index 6e4bd2719d..42d3fe84cc 100644 --- a/src/i18n/locales/ko.json +++ b/src/i18n/locales/ko.json @@ -261,6 +261,8 @@ "groqApi": { "name": "Groq API", "llama2-70b-4096": "LLaMA2 70b", + "llama3-8b-8192": "Llama 3 8b", + "llama3-70b-8192": "Llama 3 70b", "mixtral-8x7b-32768": "Mixtral 8x7b", "gemma-7b-it": "Gemma 7b" }, diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json index 6040c13656..c7823e4e6e 100644 --- a/src/i18n/locales/ru.json +++ b/src/i18n/locales/ru.json @@ -111,6 +111,8 @@ "groqApi": { "name": "Groq API", "llama2-70b-4096": "LLaMA2 70b", + "llama3-8b-8192": "Llama 3 8b", + "llama3-70b-8192": "Llama 3 70b", "mixtral-8x7b-32768": "Mixtral 8x7b", "gemma-7b-it": "Gemma 7b" } diff --git a/src/i18n/locales/vi.json b/src/i18n/locales/vi.json index 3f2068f890..3d976bfb33 100644 --- a/src/i18n/locales/vi.json +++ b/src/i18n/locales/vi.json @@ -257,6 +257,8 @@ "groqApi": { "name": "Groq API", "llama2-70b-4096": "LLaMA2 70b", + "llama3-8b-8192": "Llama 3 8b", + "llama3-70b-8192": "Llama 3 70b", "mixtral-8x7b-32768": "Mixtral 8x7b", "gemma-7b-it": "Gemma 7b" }, diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index 3e88707ca5..1632eeb31a 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -287,6 +287,8 @@ "groqApi": { "name": "Groq API", "llama2-70b-4096": "LLaMA2 70b", + "llama3-8b-8192": "Llama 3 8b", + "llama3-70b-8192": "Llama 3 70b", "mixtral-8x7b-32768": "Mixtral 8x7b", "gemma-7b-it": "Gemma 7b" }, diff --git a/src/i18n/locales/zhtw.json b/src/i18n/locales/zhtw.json index 1c54bae153..3439060b31 100644 --- a/src/i18n/locales/zhtw.json +++ b/src/i18n/locales/zhtw.json @@ -287,6 +287,8 @@ "groqApi": { "name": "Groq API", "llama2-70b-4096": "LLaMA2 70b", + "llama3-8b-8192": "Llama 3 8b", + "llama3-70b-8192": "Llama 3 70b", "mixtral-8x7b-32768": "Mixtral 8x7b", "gemma-7b-it": "Gemma 7b" },