improve formatiing of providers

This commit is contained in:
ishaan-jaff 2023-08-23 14:11:58 -07:00
parent c8d2a5ed5e
commit e9f284c65c
2 changed files with 22 additions and 21 deletions

View file

@ -31,6 +31,7 @@ LiteLLM allows you to add a new model using the liteLLM Dashboard
Go to `admin.litellm.ai/<your_email>`
Navigate to the 'Add New LLM' Section
<Image img={require('../../img/add_model.png')} alt="Dashboard" />
- Select Provider
- Select your LLM
- Add your LLM Key

View file

@ -229,30 +229,30 @@ model_list = (
)
provider_list = [
"openai",
"azure",
"cohere",
"anthropic",
"replicate",
"huggingface",
"together_ai",
"openrouter",
"vertex_ai",
"ai21",
"baseten",
"OpenAI",
"Azure",
"Cohere",
"Anthropic",
"Replicate",
"Huggingface",
"Together_ai",
"Openrouter",
"Vertex_ai",
"AI21",
"Baseten",
]
models_by_provider = {
"openai": open_ai_chat_completion_models + open_ai_text_completion_models,
"cohere": cohere_models,
"anthropic": anthropic_models,
"replicate": replicate_models,
"huggingface": huggingface_models,
"together_ai": together_ai_models,
"baseten": baseten_models,
"openrouter": openrouter_models,
"vertex_ai": vertex_chat_models + vertex_text_models,
"ai21": ai21_models,
"OpenAI": open_ai_chat_completion_models + open_ai_text_completion_models,
"Cohere": cohere_models,
"Anthropic": anthropic_models,
"Replicate": replicate_models,
"Huggingface": huggingface_models,
"Together_ai": together_ai_models,
"Baseten": baseten_models,
"Openrouter": openrouter_models,
"Vertex_ai": vertex_chat_models + vertex_text_models,
"AI21": ai21_models,
}
####### EMBEDDING MODELS ###################