litellm/tests/local_testing/test_configs/test_guardrails_config.yaml

32 lines
No EOL
879 B
YAML

model_list:
- litellm_params:
api_base: https://my-endpoint-europe-berri-992.openai.azure.com/
api_key: os.environ/AZURE_EUROPE_API_KEY
model: azure/gpt-35-turbo
model_name: azure-model
- litellm_params:
api_base: https://my-endpoint-canada-berri992.openai.azure.com
api_key: os.environ/AZURE_CANADA_API_KEY
model: azure/gpt-35-turbo
model_name: azure-model
- litellm_params:
api_base: https://openai-france-1234.openai.azure.com
api_key: os.environ/AZURE_FRANCE_API_KEY
model: azure/gpt-turbo
model_name: azure-model
litellm_settings:
guardrails:
- prompt_injection:
callbacks: [lakera_prompt_injection, detect_prompt_injection]
default_on: true
- hide_secrets:
callbacks: [hide_secrets]
default_on: true
- moderations:
callbacks: [openai_moderations]
default_on: false