mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-08 02:48:36 +00:00
Add Llama 3.3 model from Groq
Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com>
This commit is contained in:
@ -9,6 +9,19 @@ export const loadGroqChatModels = async () => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const chatModels = {
|
const chatModels = {
|
||||||
|
'llama-3.3-70b-versatile': {
|
||||||
|
displayName: 'Llama 3.3 70B',
|
||||||
|
model: new ChatOpenAI(
|
||||||
|
{
|
||||||
|
openAIApiKey: groqApiKey,
|
||||||
|
modelName: 'llama-3.3-70b-versatile',
|
||||||
|
temperature: 0.7,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
baseURL: 'https://api.groq.com/openai/v1',
|
||||||
|
},
|
||||||
|
),
|
||||||
|
},
|
||||||
'llama-3.2-3b-preview': {
|
'llama-3.2-3b-preview': {
|
||||||
displayName: 'Llama 3.2 3B',
|
displayName: 'Llama 3.2 3B',
|
||||||
model: new ChatOpenAI(
|
model: new ChatOpenAI(
|
||||||
|
Reference in New Issue
Block a user