Merge pull request #523 from bart-jaskulski/groq-models
Update available models from Groq provider
This commit is contained in:
commit
ee68095157
1 changed files with 13 additions and 26 deletions
|
|
@ -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(
|
||||||
|
|
@ -48,19 +61,6 @@ export const loadGroqChatModels = async () => {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
'llama-3.1-70b-versatile': {
|
|
||||||
displayName: 'Llama 3.1 70B',
|
|
||||||
model: new ChatOpenAI(
|
|
||||||
{
|
|
||||||
openAIApiKey: groqApiKey,
|
|
||||||
modelName: 'llama-3.1-70b-versatile',
|
|
||||||
temperature: 0.7,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
baseURL: 'https://api.groq.com/openai/v1',
|
|
||||||
},
|
|
||||||
),
|
|
||||||
},
|
|
||||||
'llama-3.1-8b-instant': {
|
'llama-3.1-8b-instant': {
|
||||||
displayName: 'Llama 3.1 8B',
|
displayName: 'Llama 3.1 8B',
|
||||||
model: new ChatOpenAI(
|
model: new ChatOpenAI(
|
||||||
|
|
@ -113,19 +113,6 @@ export const loadGroqChatModels = async () => {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
'gemma-7b-it': {
|
|
||||||
displayName: 'Gemma 7B',
|
|
||||||
model: new ChatOpenAI(
|
|
||||||
{
|
|
||||||
openAIApiKey: groqApiKey,
|
|
||||||
modelName: 'gemma-7b-it',
|
|
||||||
temperature: 0.7,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
baseURL: 'https://api.groq.com/openai/v1',
|
|
||||||
},
|
|
||||||
),
|
|
||||||
},
|
|
||||||
'gemma2-9b-it': {
|
'gemma2-9b-it': {
|
||||||
displayName: 'Gemma2 9B',
|
displayName: 'Gemma2 9B',
|
||||||
model: new ChatOpenAI(
|
model: new ChatOpenAI(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue