2023-12-01 00:34:34 +08:00
model_list :
- model_name : gpt-4
litellm_params :
model : azure/chatgpt-v-2
api_base : https://openai-gpt-4-test-v-1.openai.azure.com/
api_version : "2023-05-15"
2024-01-10 20:43:34 +08:00
api_key : os.environ/AZURE_API_KEY # The `os.environ/` prefix tells litellm to read this from the env. See https://docs.litellm.ai/docs/simple_proxy#load-api-keys-from-vault
2023-12-01 00:34:34 +08:00
- model_name : gpt-4
litellm_params :
2024-01-10 20:43:34 +08:00
model : azure/gpt-turbo
api_key : os.environ/AZURE_FRANCE_API_KEY
api_base : https://openai-france-1234.openai.azure.com/
2023-12-01 00:34:34 +08:00
rpm : 100
- model_name : gpt-4
litellm_params :
2024-01-10 20:43:34 +08:00
model : azure/gpt-35-turbo
api_key : os.environ/AZURE_EUROPE_API_KEY
api_base : https://my-endpoint-europe-berri-992.openai.azure.com
2023-12-01 00:34:34 +08:00
rpm : 10
litellm_settings :
drop_params : True
set_verbose : True
general_settings :
2024-01-10 21:53:42 +08:00
master_key: sk-1234 # [OPTIONAL] Only use this if you to require all calls to contain this key (Authorization : Bearer sk-1234)
2023-12-01 00:34:34 +08:00
# database_url: "postgresql://<user>:<password>@<host>:<port>/<dbname>" # [OPTIONAL] use for token-based auth to proxy
environment_variables :
# settings for using redis caching
# REDIS_HOST: redis-16337.c322.us-east-1-2.ec2.cloud.redislabs.com
# REDIS_PORT: "16337"
2023-12-01 01:26:54 +08:00
# REDIS_PASSWORD: