mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
39 lines
935 B
Python
39 lines
935 B
Python
success_callback = []
|
|
failure_callback = []
|
|
set_verbose=False
|
|
telemetry=True
|
|
|
|
####### PROXY PARAMS ################### configurable params if you use proxy models like Helicone
|
|
api_base = None
|
|
headers = None
|
|
####### COMPLETION MODELS ###################
|
|
open_ai_chat_completion_models = [
|
|
'gpt-3.5-turbo',
|
|
'gpt-4',
|
|
'gpt-3.5-turbo-16k-0613',
|
|
'gpt-3.5-turbo-16k'
|
|
]
|
|
open_ai_text_completion_models = [
|
|
'text-davinci-003'
|
|
]
|
|
|
|
cohere_models = [
|
|
'command-nightly',
|
|
]
|
|
|
|
anthropic_models = [
|
|
"claude-2",
|
|
"claude-instant-1"
|
|
]
|
|
|
|
model_list = open_ai_chat_completion_models + open_ai_text_completion_models + cohere_models + anthropic_models
|
|
|
|
####### EMBEDDING MODELS ###################
|
|
open_ai_embedding_models = [
|
|
'text-embedding-ada-002'
|
|
]
|
|
|
|
from .timeout import timeout
|
|
from .utils import client, logging, exception_type # Import all the symbols from main.py
|
|
from .main import * # Import all the symbols from main.py
|
|
|