mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
added exception mapping to anthropic class
This commit is contained in:
parent
b96f7aff07
commit
1c909707ad
6 changed files with 30 additions and 16 deletions
11
litellm/llms/base.py
Normal file
11
litellm/llms/base.py
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue