Skip to content

Commit

Permalink
Added Image svg for Groq + Misc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
paresh0628 committed Jul 11, 2024
1 parent 6353859 commit a22045d
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
36 changes: 36 additions & 0 deletions api/db/init_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,42 @@ def init_llm_factory():
"max_tokens": 2048,
"model_type": LLMType.EMBEDDING.value
},
# ------------------------ Groq -----------------------
{
"fid": factory_infos[15]["name"],
"llm_name": "gemma-7b-it",
"tags": "LLM,CHAT,15k",
"max_tokens": 15000,
"model_type": LLMType.CHAT.value
},
{
"fid": factory_infos[15]["name"],
"llm_name": "gemma2-9b-it",
"tags": "LLM,CHAT,15k",
"max_tokens": 15000,
"model_type": LLMType.CHAT.value
},
{
"fid": factory_infos[15]["name"],
"llm_name": "llama3-70b-8192",
"tags": "LLM,CHAT,6k",
"max_tokens": 6000,
"model_type": LLMType.CHAT.value
},
{
"fid": factory_infos[15]["name"],
"llm_name": "llama3-8b-8192",
"tags": "LLM,CHAT,30k",
"max_tokens": 30000,
"model_type": LLMType.CHAT.value
},
{
"fid": factory_infos[15]["name"],
"llm_name": "mixtral-8x7b-32768",
"tags": "LLM,CHAT,5k",
"max_tokens": 5000,
"model_type": LLMType.CHAT.value
},
]
for info in factory_infos:
try:
Expand Down
1 change: 1 addition & 0 deletions web/src/assets/svg/llm/Groq.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/src/pages/user-setting/setting-model/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const IconMap = {
Mistral: 'mistral',
'Azure-OpenAI': 'azure',
Bedrock: 'bedrock',
Groq: 'Groq',
};

const LlmIcon = ({ name }: { name: string }) => {
Expand Down

0 comments on commit a22045d

Please sign in to comment.