mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
11 lines
No EOL
414 B
Python
11 lines
No EOL
414 B
Python
## 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 |