Add llama-3.2-90b-text-preview to Groq

This commit is contained in:
Alessandro Dal Grande 2024-09-25 16:47:17 -07:00 committed by Alessandro Dal Grande
parent e3488366c1
commit 9b08782dd7
No known key found for this signature in database
GPG key ID: 1525AA5896744CF2

View file

@ -9,6 +9,19 @@ export const loadGroqChatModels = async () => {
try {
const chatModels = {
'llama-3.2-90b-text-preview': {
displayName: 'Llama 3.2 90B',
model: new ChatOpenAI(
{
openAIApiKey: groqApiKey,
modelName: 'llama-3.2-90b-text-preview',
temperature: 0.7,
},
{
baseURL: 'https://api.groq.com/openai/v1',
},
),
},
'llama-3.1-70b-versatile': {
displayName: 'Llama 3.1 70B',
model: new ChatOpenAI(