added exception mapping to anthropic class

This commit is contained in:
Krrish Dholakia 2023-08-12 17:39:11 -07:00
parent b96f7aff07
commit 1c909707ad
6 changed files with 30 additions and 16 deletions

11
litellm/llms/base.py Normal file
View file

@ -0,0 +1,11 @@
## This is a template base class to be used for adding new LLM providers via API calls
class BaseLLM():
def validate_environment(): # set up the environment required to run the model
pass
def completion(): # logic for parsing in - calling - parsing out model completion calls
pass
def embedding(): # logic for parsing in - calling - parsing out model embedding calls
pass